- LCSB Nextcloud
- When to use LCSB Nextcloud
- Data classification
- Access
- Installing the Nextcloud desktop client
- Choosing a synchronization mode
- Setting up virtual files (macOS and Windows only)
- Setting up classic sync
- Verifying your setup
- Sharing files and folders
- Coming from LCSB ownCloud
- Troubleshooting and support
Used the ownCloud desktop client?
If you synchronized LCSB ownCloud with the ownCloud desktop client, follow Migrating from ownCloud to Nextcloud first. It guides you through the whole migration, including the Nextcloud desktop client setup. Come back to this card afterwards to learn how to use Nextcloud day to day.
LCSB Nextcloud#
LCSB Nextcloud is a private cloud storage service for LCSB staff and collaborators. You can use it to store files and share them with others. It is suitable for files of up to 1–2 GB each and around 500 GB in total.
- Security: all communication with the LCSB Nextcloud server is encrypted (SSL/TLS).
- Backups: all files on LCSB Nextcloud are backed up. Daily snapshots are kept for 30 days, monthly snapshots for 12 months and yearly snapshots for 10 years.
When to use LCSB Nextcloud#
The default cloud storage and sharing solution should be the SharePoint, Teams or OneDrive provided by the University of Luxembourg.
Use LCSB Nextcloud for files that must be stored on servers physically located in Luxembourg or if you can’t use the Microsoft products above for other technical or compliance reasons.
Data classification#
Warning: files are not encrypted on the server
LCSB Nextcloud doesn’t encrypt files stored on the server (no encryption at rest). If your files contain sensitive information, encrypt them with Cryptomator before uploading them.
If you are unsure whether your files can be stored on LCSB Nextcloud, check the LCSB data processing and security policies (only reachable from the University network or via VPN), or create a ticket for the data stewards. ServiceNow is only available to University of Luxembourg staff. If you are not UL staff, send an email to lcsb-sysadmins@uni.lu.
Access#
Requesting access#
LCSB Nextcloud uses the LCSB Single Sign-On (SSO) for login. Your LUMS account does not work for LCSB Nextcloud.
To request access, create a ServiceNow ticket. In the Application field, select owncloud (the form still uses the old service name). ServiceNow is only available to University of Luxembourg staff. If you are not UL staff, send an email to lcsb-sysadmins@uni.lu.
Logging in#
Once your access is granted, log in with the Identity Provider of your institution and the corresponding credentials. University of Luxembourg staff should select the uni.lu Identity Provider.
For details on how SSO accounts work, see the LCSB SSO Best Practice How-to Card.
Web interface and desktop client#
You can use LCSB Nextcloud in two ways:
- In your browser, at https://nextcloud.lcsb.uni.lu/. No installation is needed.
- With the Nextcloud desktop client, which makes your Nextcloud files available locally on your computer. Follow the instructions below to set up the Nextcloud desktop client.
Installing the Nextcloud desktop client#
The screenshots below were taken on macOS. The steps are similar on Windows and Linux.
Download the latest Nextcloud desktop client for your operating system.
Install the client: open the downloaded file and follow the instructions of the installer. On Linux, use one of the options below instead.
Linux installation options
Distribution package: easiest option, but the version may be older than the latest release. Requires
sudo.- Debian/Ubuntu:
sudo apt install nextcloud-desktop - Fedora:
sudo dnf install nextcloud-client - Flatpak:
flatpak install flathub com.nextcloud.desktopclient.nextcloud - AppImage: download it from the Nextcloud download page, make it executable (
chmod +x Nextcloud-*.AppImage) and run it. Store the AppImage in a permanent location (e.g.~/Applications), as the client is started from this file every time.
To show sync status icons and a Nextcloud context menu in your file manager, install the matching plugin from your distribution, e.g.
nautilus-nextcloud(GNOME Files) ordolphin-nextcloud(KDE Dolphin) on Debian/Ubuntu.- Debian/Ubuntu:
- Start the Nextcloud client.
Nextcloud client window doesn’t appear
The Nextcloud client runs in the background. When you start it, it may not open a window, but only show a small cloud icon. Click this icon to open the client. You can find the icon here:
- macOS: in the menu bar, at the top right of your screen. On MacBooks with a camera notch, the icon can be hidden behind the notch when the menu bar is full. Quit some other menu bar apps to make room.
- Windows: in the notification area, at the bottom right of the taskbar. It is often hidden: click the ^ arrow to show hidden icons. To keep it always visible, drag the icon onto the taskbar, or go to Settings > Personalisation > Taskbar > Other system tray icons and turn on Nextcloud.
- Linux: in the system tray / notification area of your desktop (e.g. KDE Plasma, Xfce). GNOME has no system tray by default: enable the AppIndicator extension (preinstalled as Ubuntu AppIndicators on Ubuntu, otherwise install the
gnome-shell-extension-appindicatorpackage and enable it in the Extensions app), then log out and back in.
If there is no icon at all, check that the client is running (Activity Monitor on macOS, Task Manager on Windows, pgrep -a nextcloud on Linux). If it is not running, start it again from your Applications folder (macOS), the Start menu (Windows) or your application launcher (Linux).
Enter the server address https://nextcloud.lcsb.uni.lu and click Log in.
Your browser opens. Click Log in.
Click Login with LCSB.
Choose your Identity Provider and log in with the corresponding credentials (see Logging in).
Click Grant access.
When Account connected is shown, close the browser window and go back to the Nextcloud client.
The client is now connected to LCSB Nextcloud. Next, choose how your files are synchronized.
Note for Windows users
The client may ask you immediately to choose a synchronization mode. Read the next section before you decide.
Choosing a synchronization mode#
The Nextcloud desktop client can work in two modes:
- Virtual files (default on macOS and Windows): all your files and folders are visible on your computer, but a file is only downloaded when you open it. On macOS this mode is called File Provider. It is not available on Linux.
- Classic sync (default on Linux): all files (or only the folders you select) are downloaded to a local folder of your choice and kept in sync with the server.
The table below compares the two modes.
| Virtual files (File Provider) | Classic sync | |
|---|---|---|
| Disk space | Only files you open take space | Full copy of all synced folders |
| First setup | Fast, nothing is downloaded | Can take long, all synced files are downloaded |
| Working offline | Only files already downloaded (or marked to keep offline) | All synced files are available |
| Folder location | Fixed on macOS (~/Library/CloudStorage/), configurable on Windows |
Choosable |
| Scripts, command line, IDEs, R/Python projects | Can trigger mass downloads, or fail on files that are not downloaded | Work like in any local folder |
| Searching (Spotlight / Windows Search) | Only downloaded files are indexed | All synced files are indexed |
| Cryptomator vaults | Not reliable | Supported |
| Linux | Not available | Available |
Which mode should I use?#
- Use virtual files if you mainly open and edit individual files (e.g. Word, Excel or PDF files), your disk space is limited, and you are usually online.
- Use classic sync if you work offline, run scripts or analyses on your files, or use Cryptomator vaults. On Linux, classic sync is the only mode.
Then follow either Setting up virtual files or Setting up classic sync.
Setting up virtual files (macOS and Windows only)#
Go to Setting up classic sync if you are using Linux.
Note Virtual files are the default mode. If you just installed the Nextcloud client, virtual files is already be enabled.
macOS#
Click the Nextcloud icon, then Settings > General.
Enable File Provider.
Enable the Nextcloud extension in System Settings > General > Login Items & Extensions > Nextcloud (click
) > Enable File Provider.Your Nextcloud files now appear in Finder under Locations (macOS). The Nextcloud folder containing your files is automatically created under
~/Library/CloudStorage/and cannot be moved.
Windows#
Open the Nextcloud client.
Click the ellipsis (
...) next to your folder sync connection.Select Enable virtual file support.
Your Nextcloud files now appear in the File Explorer navigation pane.
Keeping files available offline#
When using the virtual files mode, a file is only downloaded when you open it. To keep a file or folder permanently downloaded so that you can use it offline:
- macOS: in Finder, right-click the file or folder and click Always keep downloaded.
- Windows: in File Explorer, right-click the file or folder and click Always keep on this device.
Setting up classic sync#
Create a new, empty folder called
Nextcloudin your home directory.- macOS:
/Users/<your username>/Nextcloud - Windows:
C:\Users\<your username>\Nextcloud - Linux:
/home/<your username>/Nextcloud
If a folder with this name already exists, choose another name, e.g.
Nextcloud-LCSB.- macOS:
macOS and Windows only: disable virtual files. On Linux, skip this step.
macOS: click the Nextcloud icon, then Settings > General, and disable File Provider.
Windows: open the Nextcloud client, click the ellipsis (
...) next to your folder sync connection and select Disable virtual file support.
Click your username in the top left corner, then click Add Folder Sync Connection.
Choose the local folder where your Nextcloud files will be stored: select the
Nextcloudfolder you created in step 1, then click Next.
Asked whether to keep or erase local files?
This question only appears if the local folder you selected is not empty, i.e. you did not select the new, empty folder you created in step 1. Choose neither option: Erase would delete the files in the selected folder. Go back and select the Nextcloud folder you created in step 1.
Choose the remote folder, i.e. the folder on the Nextcloud server that will be synchronized with your local folder. Select the folder, then click Next.
Note To sync several folders, select the top-level remote folder here. You can then select the sub-folders in the next step.
Choose what to sync: everything, or only selected folders. Folders you do not select stay on the server, but are not downloaded to your computer.
Click Add sync connection. The first synchronization starts. It can take a while, depending on the number and size of your files.
Verifying your setup#
Once the first synchronization is finished:
Check that the Nextcloud icon shows a green check mark. The icon is in the menu bar (macOS), the notification area (Windows, under ^) or the system tray (Linux).
Open the client and check that no files are listed as not synced or with errors.
Open the Nextcloud web interface and check that all folders you expect are present.
Create a test file in your Nextcloud folder on your computer and check that it appears in the web interface. Then delete the test file on your computer and check that it also disappears from the web interface.
Sharing files and folders#
Sharing rules#
When you share files or folders, follow these rules:
Share files and folders only with the people who need access to them.
When you share via a public link, always set a password and an expiration date for the link.
Never send a link password in plain text by email. Instead, send the password via a PrivateBin link (a service hosted by the LCSB), and send the PrivateBin link separately from the share link.
To share a file or folder, click the icon in the file or folder’s context menu.
Sharing with external collaborators (public link)#
To send files to people who don’t have an LCSB Nextcloud account, share them via a public link:
Log in to the Nextcloud web interface.
Create a folder and upload the files you want to send. If the files contain sensitive data, encrypt them first (see Transferring sensitive data).
Click the
icon of the folder and create a public link.
In the settings of the link:
- Give the link a meaningful label.
- Choose the most restrictive permission that your collaborator needs (e.g. view only), to prevent unintended changes to your files.
- Set a strong password. Your browser or a password manager can generate one for you.
- Set an expiration date. We recommend 1 week. Choose a longer period only if needed.
Send the link to your collaborator. Send the password separately, via a PrivateBin link (see Sharing rules).
Transferring sensitive data#
For sensitive data (e.g. human data), use LCSB File Transfer (LFT) whenever possible. If LFT is not feasible, you can transfer sensitive data via LCSB Nextcloud, but only as an encrypted archive. If you share human data with external collaborators recurrently, use Cryptomator instead.
Generate a strong encryption password with a password manager, e.g. Bitwarden or KeePass.
Create an archive of your data, encrypted with AES-256 and this password, with an archiver software:
Go to LCSB PrivateBin and paste the password in the Editor tab.
Tick Burn after reading. The password link can then only be opened once: it expires upon first access.
You are then redirected to a page with the password link.
Send the password link to your collaborator via your preferred communication channel.
Your collaborator must confirm that they received the password before you continue. If your collaborator reports an error when opening the password link, the password may have been compromised and the transfer is no longer secure. In this case, delete the archive and start again from step 1.
Upload the encrypted archive to a folder in LCSB Nextcloud and share it with a public link, as described in Sharing with external collaborators.
Your collaborator can now download the archive and decrypt it with the password received via PrivateBin.
Files and folders shared with you#
Files and folders that others share with you appear automatically in your Nextcloud folder and are synchronized like your own files. They are marked with this icon:
.
Ownership of shared files and folders#
Warning: shared files and folders are deleted with their owner’s account
A shared file or folder can have many collaborators, but only one owner: the person who stores it in their Nextcloud and shares it. If the owner’s account is deleted (e.g. during a cleanup of user accounts after the owner left), the file or folder is deleted for everyone it is shared with.
If the owner of a shared file or folder leaves your team, make sure the ownership is transferred to another user before the owner’s account is deleted. To transfer ownership via the web interface go to Settings > Files > Transfer ownership.
Coming from LCSB ownCloud#
If you used LCSB ownCloud only in the browser, your files are on LCSB Nextcloud after the migration. You don’t need to do anything with them. If you used the ownCloud desktop client, follow Migrating from ownCloud to Nextcloud instead.
Shares and public links#
- Shares with users: files and folders that you shared with other users, and that other users shared with you, are migrated to Nextcloud automatically. You do not need to do anything.
- Public links: public links created on ownCloud stop working when LCSB ownCloud is shut down. In Nextcloud, create a new public link for each file or folder you still want to share, and send it to the recipients, as described in Sharing with external collaborators.
Mobile apps (iOS / Android)#
The ownCloud mobile app stops working with LCSB ownCloud when the server is shut down.
- Uninstall the ownCloud app (unless you use it for other ownCloud servers, in which case remove only the LCSB account in the app).
- Install the Nextcloud app from the App Store or Google Play.
- Enter the server address https://nextcloud.lcsb.uni.lu and log in with your SSO account (see Logging in).
Troubleshooting and support#
If you encounter any issues, create a ServiceNow ticket. In the Application field, select owncloud. ServiceNow is only available to University of Luxembourg staff. If you are not UL staff, send an email to lcsb-sysadmins@uni.lu.