This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:nextcloud [2024/09/19 12:49] – created Linux:NextCloud page olexandr | linux:nextcloud [2025/08/27 12:53] (current) – [App passwords] jansen | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== NextCloud ====== | ====== NextCloud ====== | ||
- | Since now all Sterrewacht users have their own NextCloud server. You can use your Sterrewacht | + | All Sterrewacht users have access to our own NextCloud server. You can use your Sterrewacht |
- | Since, OwnCloud is not supported any more, you can " | ||
The **Online Accounts** is supported for some major desktops, such as Gnome, Cinnamon and KDE Plasma. | The **Online Accounts** is supported for some major desktops, such as Gnome, Cinnamon and KDE Plasma. | ||
- | ===== Enable NextCloud in a file manager | + | ====== Nextcloud two-factor authentication ====== |
- | ==== Bypass 2FA ==== | + | We are moving towards adding two-factor authentication to our nextcloud server |
- | Since, all Sterrewacht accounts use 2FA, NextCloud provides | + | Users will now see a button below the login form, labeled "STRW Identity provider" |
+ | If you are a **new user**, without an existing nextcloud account on our server, click there, and you will be directed | ||
- | {{ :linux:nextcloud-web-menu.png? | + | __However__, |
- | Click on the **Settings** | + | {{ : |
+ | So, the correct way for existing users, is to login as usual without 2FA, and then go to your own profile menu, and open the settings | ||
+ | From then on, the user can use the "STRW Identity provider" | ||
- | {{ : | + | We will give users sufficient time to do these setup steps before we disable the simple login without two-factor code. But the plan is, to allow only two-factor logins on the website some time next year (2026, to be announced). |
- | On this page click on the **Add WebAuthn Device**. You may be asked for a password and the device name. Then it will display a window with your user name and a pass phrase. Store those in your password manager to create your NextCloud account on your desktop. If you use a password manager in your browser, it may ask you to generate | + | ===== App passwords ===== |
+ | Since not all apps and file managers have a way to ask for the 2nd authentication factor, and since it is rather inconvenient to generate | ||
+ | {{: | ||
+ | To generate an app password, log in on the nextcloud site, click on your profile name or picture (top right corner, | ||
+ | There might be a short or long list of previous sessions; below that at the bottom of the page, is a field "App name" with a button " | ||
- | Now you must be ready for the next step. | + | Now a window will pop up showing the generated password. Either type this into the password field of the app you are configuring (eg the Linux desktop " |
+ | |||
+ | By the way, the " | ||
+ | ===== Enable NextCloud in a file manager ===== | ||
==== Create Online Account ==== | ==== Create Online Account ==== | ||
Line 27: | Line 36: | ||
On your Linux PC open **Online Accounts** interface and create a new account by clicking on the NextCloud button. You can search for Online Accounts in your main search interface or access it via the main system settings interface. | On your Linux PC open **Online Accounts** interface and create a new account by clicking on the NextCloud button. You can search for Online Accounts in your main search interface or access it via the main system settings interface. | ||
- | Use https:// | + | Use https:// |
{{ : | {{ : | ||
- | After this you may encounter notifications about not trustworthy certificate authority. If you have an option to // | + | Alternatively, |
+ | |||
==== Use File Manager ==== | ==== Use File Manager ==== | ||
Line 37: | Line 48: | ||
After succefully creating an Online Account for NextCloud, you must be able to use your file manager to access your files. It will be shown on the left pane of the file manager window. | After succefully creating an Online Account for NextCloud, you must be able to use your file manager to access your files. It will be shown on the left pane of the file manager window. | ||
- | |||
- | ===== Enable OwnCloud in a file manager ===== | ||
- | |||
- | For OwnCloud you can repeat the steps for NextCloud except that it does not require to bypass the 2FA, so you can skip that step and use your Sterrewacht credentials when creating an Online Account. You will need to use the NextCloud button for that as well. | ||
Line 46: | Line 53: | ||
In case you get a window with a request to enter your keyring password and you can't skip it, provide the password. If you don't know the password you will need to disable it for this session. For this open **Passwords and Keys** application and delete the record with name **Login** (right click). It will be recreated during your next login. | In case you get a window with a request to enter your keyring password and you can't skip it, provide the password. If you don't know the password you will need to disable it for this session. For this open **Passwords and Keys** application and delete the record with name **Login** (right click). It will be recreated during your next login. | ||
+ | |||
+ | ====== Nextcloud desktop app ====== | ||
+ | Our Linux workstations also have a Nextcloud desktop app installed; this is a different method to work with nextcloud, so you can use this in stead of the Online Accounts method. | ||
+ | This app can be found in the desktop menu. Open it, and it will add an icon to the panel or notification area of your desktop. The first time you run the app, it will pop up a configuration screen (which can be accessed later with a right-click on the icon and selecting " | ||
+ | |||
+ | This app is different than the online accounts method: it synchronizes your nextcloud account with a local directory. As with many Linux apps, the default location will be in your home directory, and of course, there will not be sufficient space for that. Luckily, you can select the location where you want the synchronization to take place once you have completed the setup. Alternatively, | ||
+ | mv $HOME/ | ||
+ | ln -s / | ||
+ | This should be done when the app is not running, and of course, fill in the computername and username in stead of literally copying this example. | ||
+ |