2-way sync of folders which are _outside_ of the local Nextcloud folder #17570
Description
Activity
tobiasKaminsky commented
on Sep 7, 2026 on Sep 7, 2026 · Hidden as off-topicAuthorshow commentMore actionsLordSushiPhoenix commented
on Sep 7, 2026 on Sep 7, 2026 · Hidden as off-topicshow commentMore actionsCan it be solved by making internal links to outside folders?
Can it be solved by making internal links to outside folders?
The problem is, the app doesn't check for changed files in synced directories. Iirc, this was never implemented and there was never a 2way sync in the android app. You can read more about it in #19
Reacted by wojciechczyz and gabmertExternal sync is a bit more complicated, since we do not want to duplicate data:
- external file (e.g. /dcim/1.jpg)
- file inside NC app (/data/storage/com.nextcloud.client/user/dcim/1.jpg)
- file on server
So if now such a file is changed inside NC app, it gets uploaded to server (like usually), but then it has a 2-way sync conflict between external file (dcim folder) and server.
That is one of the problems, why it is more complicated than any external app like folderSync/EasySync:
They only compare two locations: one local folder <-> one folder on server- external file (e.g. /dcim/1.jpg)
- file inside NC app (/data/storage/com.nextcloud.client/user/dcim/1.jpg)
- file on server
Don't dupolicate data:
option a) Determine unique files same as GNUreadlink -fallows to do.
option b) If you are syncing files outside of/data/storage/com.nextcloud.client...then don't replicate nor link them inside this.@tobiasKaminsky this sounds related: #11470
If a user chooses to manage all their photos on the phone's default software, deleting or moving as needed, the nextcloud server directory will invariably become cluttered up. [...]
The mode assumes the local directory on the phone is the golden source
I have repeatedly seen exactly this usage pattern, and the chaos it causes 😁
Reacted by CheariX and Daniel Scharmach
Similar to FolderSync or EasySync the idea is to sync an external, not yet folder to Nextcloud server and back.
This is opposite to internal 2way-sync.
Use case could be
This issue will be updated to take implementation ideas into account.
Please 👍 if you like this feature, so that we know about the "demand" of it.