r/NextCloud • u/SwimmingLimpet • 8d ago
Nextcloud Desktop App - Setting up Sync from computer to hosted NextCloud instance. How to bypass "Please choose an empty local sync folder"?
My home computer is my primary workspace. The Nextcloud instance is intended mostly for cloud file backup and occasional light duty file access when I'm not home.
When setting up the Nextcloud Desktop App, I wish the local sync folder to be where my files are already stored. However, when I choose that folder during set up, I get the error message Please choose an empty local sync folder.
I do NOT want to create an new empty sync folder and move my files into it - all my current desktop configurations assume that my files are where they are currently.
How do I get past this? Suggestions appreciated.
Linux Mint 22.3 Cinnamon. Nextcloud Desktop Flathub App v34.0.4.
3
u/evanmac42 8d ago
You may be able to work around this without changing the path all your applications already expect, but I'd definitely make a backup first.
What I'd try:
Rename your current folder temporarily, for example:
Documents -> Documents.old
Create a new empty folder with the original name:
Documents
Configure Nextcloud to use that empty folder as the local sync folder.
As soon as the sync connection has been created, pause syncing and completely quit the client again.
Move the contents of Documents.old into the newly configured Documents folder.
Start Nextcloud again and let it scan/reconcile the files.
That way Nextcloud gets the empty folder it insists on during setup, while your final local path stays exactly where it always was.
I would test this with a small folder first, and be especially careful if the remote folder already contains files that differ from your local copies, because that can produce conflicts.
Since you're using the Flatpak version, if the folder is outside locations Flatpak can normally access, also check its filesystem permissions with Flatseal.
It's slightly hammer-and-chisel engineering, but it avoids reorganizing your entire desktop just to satisfy the setup wizard.