Skip to content

Allow 2-way-sync #19

Description

@ThomasSteinbach

When 'syncronizing' a folder in the nextCloud app, actually changes from the remote server become propagated on the mobile device. However changes on the mobile device aren't uploaded back to the remote server.

How the nextCloud app should behave:

  • files added to a synchronized folder should be scanned/recognized
  • changes to files (create, update, delete) of a synchronized folder should be propagated back to the server
  • conflicting changes should open a dialog (overwrite on device/server, rename)

Activity

  1. AndyScherzinger commented on Jun 14, 2016

    @AndyScherzinger
    Member

    @przybylski @tobiasKaminsky can you take a look at this issue? I thought we already this (or have a branch for this) and also I thought we do this for files (but maybe not for folders yet).

  2. tobiasKaminsky commented on Jun 14, 2016

    @tobiasKaminsky
    Member

    As far as I know there is no real 2 way sync yet.
    I started to implement that any folder can be instant uploaded to server, but that is still an enhanced one way sync...

  3. mabkenar commented on Jun 22, 2016

    @mabkenar
    Member

    The current situation is this: If you change a file in the phone, you have to open the Nextcloud app, go to the directory where the updated file resides, and drag down with your finger to force a refresh in that directory. Only then your changed file is uploaded to the server and appear on your other devices.

  4. AndyScherzinger commented on Jun 22, 2016

    @AndyScherzinger
    Member

    @mabkenar Does this also happen, when you mark the file as a favorite?

  5. mabkenar commented on Jun 22, 2016

    @mabkenar
    Member

    Yes. As far as I can tell, making the file favorite (or recently, "Set as available offline") has no effect.

  6. AndyScherzinger commented on Jun 22, 2016

    @AndyScherzinger
    Member

    @tobiasKaminsky is this a bug or a works as designed and needs an improvement?

  7. tobiasKaminsky commented on Jun 22, 2016

    @tobiasKaminsky
    Member

    @mabkenar do you have enabled sync in android -> settings -> accounts -> nextcloud?
    Only then the sync is working, AFAIR

  8. mabkenar commented on Jun 24, 2016

    @mabkenar
    Member

    Oh I see. I never touched the sync setting after I added my Nextcloud account, and now I see that sync was disabled by default (This is strange. Is this a design decision?).

    Now with sync enabled, when I change a file on the server, it only appears in Android if the file is "Set as available offline". For non-"Set as available offline" files, no sync happens.

    For the reverse situation: only changes made to "Set as available offline" files are propagated back to the server. All other files remain in the local device until a change in the server causes a conflict.

  9. mabkenar commented on Jun 24, 2016

    @mabkenar
    Member

    The situation for non-available-as-offline files that are changed from the server is problematic because while an older version of the files is downloaded to the client (say from 1 day ago), there is still a green tick mark next to the file that implies this file is up-to-date, and the client even says "last changed 10 minutes ago" (but this refers to the change in the server that has not been synced to the client). The file is never updated unless a manual "Synchronize" is issued from the client.

  10. mabkenar commented on Jun 24, 2016

    @mabkenar
    Member

    Oh before I confuse anyone, I am using Nextcloud provided by F-Droid, and I don't have Google's non-free stuff installed on my device. Could this make any difference?

  11. LeonardoGentile commented on Sep 19, 2016

    @LeonardoGentile

    As a potential new user this is not very clear to me. Could someone from the organization clarify this? Is this feature (2-way-sync) working/planned/workaround? possibly point us to the docs?

  12. AndyScherzinger commented on Sep 19, 2016

    @AndyScherzinger
    Member

    @mabkenar f-droid version with any Google service shouldn't be an issue
    @LeonardoGentile at the moment the status would be "planned", thus the discussion/issue

  13. LeonardoGentile commented on Nov 2, 2016

    @LeonardoGentile

    @AndyScherzinger any update or timeline for this?

  14. AndyScherzinger commented on Nov 2, 2016

    @AndyScherzinger
    Member

    Hi @LeonardoGentile as stated by #19 (comment) we don't really have a two way sync at the moment. We are working on the first step towards folder sync #285 -> #358. The two way sync is basically the last step planned to be added to that new implementation. A timeline is hard to tell since at the moment all people actively working on the app a community contributors. Since @tobiasKaminsky is aiming at having two way sync this feature has a high priority, not sure if he could name any timeline from his point of view. So for now we only have the road map outlined in #285.

    On a file level "Set as available offline" should do the trick at the moment, so you should be able to activate this on a file basis but you can't do it on a (arbitrary) folder level.

  15. 181 remaining items

  16. yotiko commented on May 25, 2026

    @yotiko

    May i ask if this issue will be fixed? Because if not its beter to remove the options in the android app.

  17. Ctrl-Shift-Alvin commented on May 26, 2026

    @Ctrl-Shift-Alvin

    @yotiko Please read the history before asking. The mobile team is currently waiting for the NC team to implement server-side hashing, so mobile sync can work as expected. See this issue. Before that is implemented, this issue probably won't be closed...

    I'm not a dev, but you can get pretty close to true two-way sync by using your default file manager. There should be a Nextcloud container you can read/write from/to. If you don't see it, make sure to disable password protection for the app or change your file browser. Most apps can use that container normally, though there are disadvantages like clunky offline access (only through cache after a lengthy timeout), delays in fetching larger files especially if your server is slow, some apps complaining/crashing or flat out refusing to let you pick from there. Also consider external apps, like my favourite FolderSync Pro, though that one also isn't perfect.
    It's probably best to use an alternative, e.g. see above, and subscribe to this issue to know when it's been implemented... Though you might get random comments like yours pop up in your email ;)

  18. tcuong53-cell commented on Jun 1, 2026

    @tcuong53-cell

    I apologize, I tried to resolve this issue but was unsuccessful. - Tôi xin lỗi, tôi đã thử giải quyết vấn đề này nhưng không thành công.

  19. tcuong53-cell commented on Jun 2, 2026

    @tcuong53-cell

    I apologize, I tried to resolve this issue but was unsuccessful. - Tôi xin lỗi, tôi đã thử giải quyết vấn đề này nhưng không thành công.

  20. Svenum commented on Jun 10, 2026

    @Svenum

    And the next big release with Nextcloud Hub 26, more "amazing" AI features no one asked for and still no sync....

    Sorry, but I don't understand how this issue can be open since 2016

  21. Peronia commented on Jun 10, 2026

    @Peronia
  22. SebastianDorobantu commented on Jul 2, 2026

    @SebastianDorobantu

    I always assumed sync on mobile means it syncs since that's what it meant on desktop. It didn't really say anywhere that it's in any way else. I just switched my phone. 3 years of obsidian notes gone: (

  23. narcisgarcia commented on Jul 25, 2026

    @narcisgarcia

    Has anybody tried EasySync as a simple WebDAV tool?

  24. filviu commented on Jul 25, 2026

    @filviu

    Can the moderators please lock this ? I'm subscribed to it to learn when it's fixed not to follow reddit like random offtopic discussions.

  25. locked as too heated and limited conversation to collaborators on Aug 2, 2026
  26. jospoortvliet commented on Aug 2, 2026

    @jospoortvliet
    Member

    Good point by @filviu - I locked it for now.

    For anyone wondering why this isn't done yet - this comment has some insights and I'm sure there is more. In short, it's very hard to reliably achieve on Android. That doesn't mean we don't want to do it, but until now, other things got priority. If/when it is done, I'm sure we will let everyone know ;-)

  27. tobiasKaminsky commented on Sep 7, 2026

    @tobiasKaminsky
    Member

    Hi all,

    just to clarify, as it seems like this issue has grown from the original topic into 2 huge topics:

    • 2-way sync of folders inside the local Nextcloud folder: This works since 3.30, see this PR. If anything with this does not work, please open a specific issue about it with logs and we will debug it. Since this was fixed, we would close this issue.
    • 2-way sync of folders which are outside of the local Nextcloud folder: This is not supported yet. We opened a new issue for the specific topic at 2-way sync of folders which are _outside_ of the local Nextcloud folder #17570. If you would like to see the feature, please do 👍 it as we definitely look at number of upvotes. This is also a reason we are cleaning this huge issue up since we can not tell how many want the original "internal 2 way sync" (which we do have) and how many want an "external 2 way sync".

    Hope this reduces confusion for everyone and makes it clear what we currently do and don’t have. :)

  28. moved this from 🧭 Planning evaluation (don't pick) to ☑️ Done in 🤖 🍏 Mobile clients teamon Sep 7, 2026
  29. moved this from 🏗️ At engineering to 🎉 Done in 🖍 Design teamon Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions