Migrating from ownCloud virtual files to Nextcloud on Windows#
This How-to Card is for Windows users who synchronized LCSB ownCloud with the ownCloud desktop client with virtual file support enabled. It takes you from your current ownCloud setup to a working Nextcloud desktop client with virtual files. You can follow it from top to bottom without leaving this page.
If you used classic sync in the ownCloud client, follow Migrating from ownCloud classic sync to Nextcloud on Windows instead. If you are not sure, see How to check your synchronization mode. The Migrating from ownCloud to Nextcloud How-to Card also explains the migration timeline.
Overview#
Before the migration (no later than around noon on the 23rd of November (23.11.)): stop editing, synchronize everything with ownCloud and back up your downloaded files, as described in the Preparing for the migration from ownCloud to Nextcloud How-to Card.
After the migration (from the afternoon of the 24th of November (24.11.), once LCSB Nextcloud is available):
- Remove the folder sync connections
- Remove the LCSB account
- Check for other ownCloud accounts
- Uninstall the ownCloud client
- Verify the uninstall
- Install the Nextcloud client and log in
- Set up virtual files
- Verify your setup
- Check your files and clean up
Terms used in this card#
ownCloud client: the ownCloud desktop application. To open its window, click the ownCloud icon in the notification area, at the bottom right of the taskbar (possibly hidden under ^).
LCSB account: the accounts connected in the ownCloud client are listed at the top left of the ownCloud client window. The LCSB account is the one with the server address owncloud.lcsb.uni.lu. Whenever this card says “select the LCSB account”, click this entry.
ownCloud folder: the folder on your computer that is synchronized with the LCSB ownCloud server. It is usually
C:\Users\<your username>\ownCloud. If you chose another location, select the LCSB account in the ownCloud client: the path of your ownCloud folder is shown in the folder sync connection entry.If your client connects to multiple servers, there are multiple ownCloud folders on your computer (typically one
ownCloudand othersownCloud_<some_suffix>, or custom names you chose during setup). Make sure to identify the one that is synchronized with the LCSB ownCloud server before proceeding.
Virtual files: your files are on the server, not on your computer
With virtual files, files that you never opened were never downloaded to your computer. Your ownCloud folder is therefore not a local backup copy of your files. This is not a problem: all files on the ownCloud server are migrated to Nextcloud. What matters is that all your local changes are uploaded to the server before the migration (see Preparing for the migration from ownCloud to Nextcloud).
Files you opened or marked as Always keep on this device are stored on your computer. Before the migration, you copied them to a backup folder (see Preparing for the migration from ownCloud to Nextcloud).
After the migration#
Do these steps once LCSB Nextcloud is available, from the afternoon of the 24th of November (24.11.). Before the migration, you must have followed the Preparing for the migration from ownCloud to Nextcloud How-to Card.
1. Remove the folder sync connections#
- In the ownCloud client, select the LCSB account.
- Click the ellipsis (
...) next to your folder sync connection and select Remove folder sync connection. If you have several folder sync connections, remove each of them.
Note: what happens to your ownCloud folder
With virtual files, removing the folder sync connection also removes the virtual files from your computer. Your files stay on the ownCloud server and are migrated to Nextcloud.
2. Remove the LCSB account#
- In the ownCloud client, select the LCSB account.
- Click Manage Account, then Remove, then Confirm.
3. Check for other ownCloud accounts#
Look at the top left of the ownCloud client window.
- No account is left: the ownCloud client was only used for LCSB ownCloud. Continue with step 4.
- Other accounts are still listed (e.g. the ownCloud server of a partner institute): you still need the ownCloud client for them. Do not uninstall it. Skip steps 4 and 5 and continue with step 6.
4. Uninstall the ownCloud client#
- Quit the ownCloud client: right-click the ownCloud icon in the notification area, then click Quit ownCloud.
- Open Settings > Apps > Installed apps, search for ownCloud, click the ellipsis (
...) and then Uninstall. - Delete the
ownCloudfolder in the following locations, if they exist. Press Win + R, enter the location and press Enter:%APPDATA%%LOCALAPPDATA%
- Open Credential Manager (search for it in the Start menu) > Windows Credentials and remove the entries containing
owncloud.
5. Verify the uninstall#
Open Windows PowerShell and run:
Get-Package -Name "*ownCloud*" -ErrorAction SilentlyContinue
@("$env:APPDATA\ownCloud", "$env:LOCALAPPDATA\ownCloud", "$env:LOCALAPPDATA\Programs\ownCloud", "$env:ProgramFiles\ownCloud") |
Where-Object { Test-Path $_ } | ForEach-Object { "Still present: $_" }
cmdkey /list | Select-String -Pattern "owncloud"If the uninstall was successful, the command prints nothing. If it prints something, remove the listed application, folder or credential as described in step 4. Then run the command again, until it prints nothing.
6. Install the Nextcloud client and log in#
Download the latest Nextcloud desktop client for Windows.
Open the downloaded file and follow the instructions of the installer.
Start the Nextcloud client. If the client asks whether you want to import a legacy configuration (e.g. from ownCloud), click Skip. Starting with a clean setup avoids confusion and sync problems later.
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 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.
If there is no icon at all, check in Task Manager that the client is running. If it is not running, start it again from the Start menu.
Enter the server address https://nextcloud.lcsb.uni.lu and click Log in.
Your browser opens. Click Log in.
Click Login with LCSB.
Choose the Identity Provider of your institution and log in with the corresponding credentials. University of Luxembourg staff should select the uni.lu Identity Provider.
Click Grant access.
When Account connected is shown, close the browser window and go back to the Nextcloud client.
7. Set up virtual files#
Virtual files are the default mode of the Nextcloud client on Windows.
Case A: the client asks you to choose a synchronization mode right after login.
- Select Virtual files.
- Keep the proposed Local sync folder (
C:\Users\<your username>\Nextcloud). Do not select your old ownCloud folder. If aNextcloudfolder already exists, click Choose and create a new, empty folder, e.g.Nextcloud-LCSB. - Click Done.
Case B: no such question appears, and the client shows a folder sync connection:
Click the ellipsis (
...) next to your folder sync connection.If the menu shows Enable virtual file support, select it. If it shows Disable virtual file support, virtual files are already enabled. Do nothing.
Your Nextcloud files now appear in the File Explorer navigation pane. To keep a file or folder permanently downloaded so that you can use it offline, right-click it in File Explorer and click Always keep on this device.
8. Verify your setup#
Once the first synchronization is finished:
Check that the Nextcloud icon in the notification area (under ^) shows a green check mark.
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 and check that it appears in the web interface. Then delete the test file and check that it also disappears from the web interface.
9. Check your files and clean up#
Most of your files were not stored on your computer, so there is no complete local ownCloud folder to compare with Nextcloud.
- In the Nextcloud web interface, check that all your folders are present.
- If you have Cryptomator vaults, add them again in Cryptomator and check that they open (see Cryptomator vaults).
- If you created a backup folder before the migration (see Preparing for the migration from ownCloud to Nextcloud), check that the files in it are present in Nextcloud.
- If something is missing, do not delete your backup folder. Please contact support.
- If everything is present, delete your backup folder and, if it still exists, your old ownCloud folder: move them to the Recycle Bin, then empty the Recycle Bin.
Your migration is complete. From now on, you can create, edit, move and delete files again, in your Nextcloud folder.
What’s next#
- Re-create your public links and set up the Nextcloud mobile app: see Shares and public links and Mobile apps.
- To learn how to use Nextcloud day to day (sync modes, sharing rules, ownership of shared folders), read the LCSB Nextcloud How-to Card.
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.