Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Nextcloud Notes no longer synchronizes

Nextcloud Notes no longer synchronizes

Scheduled Pinned Locked Moved Nextcloud
38 Posts 5 Posters 825 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #18

    Might be worth reporting upstream, sounds very much like a notes or nextcloud bug.

    B 1 Reply Last reply
    0
    • nebulonN nebulon

      Might be worth reporting upstream, sounds very much like a notes or nextcloud bug.

      B Offline
      B Offline
      bazinga
      wrote on last edited by
      #19

      @nebulon said in Nextcloud Notes no longer synchronizes:

      sounds very much like a notes or nextcloud bug

      Worked just fine before OIDC upgrade with Cloudron.

      Considering I couldn't find any reports of similar nature unrelated to Cloudron's hosting of NextCloud the chances of it being just NC-Notes issue are even lower. Not impossible, of course, but I'd expect people report on issues like this. The issues reported over the past 6-12 months are all related to tokens or similar.

      1 Reply Last reply
      1
      • jdaviescoatesJ Online
        jdaviescoatesJ Online
        jdaviescoates
        wrote on last edited by
        #20

        It's also not just Notes, it's Talk too afaict

        I use Cloudron with Gandi & Hetzner

        B 1 Reply Last reply
        0
        • jdaviescoatesJ jdaviescoates

          It's also not just Notes, it's Talk too afaict

          B Offline
          B Offline
          bazinga
          wrote on last edited by bazinga
          #21

          @jdaviescoates said in Nextcloud Notes no longer synchronizes:

          It's also not just Notes, it's Talk too afaict

          I don't use Talk often, and have no way to test it, unfortunately. But I doubt this issue has nothing to do with whatever happened during OIDC integration and NC updates.

          @nebulon As far as reporting upstream. I presume you're talking about you guys doing that as you have all the knowledge about how NC is integrated, what is done to it, etc? And I presume your staff should be testing and looking into issues like this?

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #22

            Given that we just configure OpenID in nextcloud, my thought was that maybe notes (possibly talk) may hit issues in the nextcloud OpenID backend. This is not related to Cloudron mostly though as if Nextcloud login over OpenID works, the rest of auth is handled within nextcloud (or rather those nextcloud apps) itself.

            Since some have reported that initial sync with notes works, but eventually fails, maybe some token expiration is hit. Though it is unclear why nextcloud would suddenly not accept its own internal app passwords...

            1 Reply Last reply
            0
            • J Offline
              J Offline
              joseph
              Staff
              wrote on last edited by
              #23

              I tried to reproduce this.

              • Installed notes app on nextcloud
              • Made some notes on the web ui
              • Installed notes app and selected my account. It did not sync
              • I restarted my notes android app. The notes appeared
              • Made changes in the notes android app. They are synced just fine
              jdaviescoatesJ 1 Reply Last reply
              0
              • J joseph

                I tried to reproduce this.

                • Installed notes app on nextcloud
                • Made some notes on the web ui
                • Installed notes app and selected my account. It did not sync
                • I restarted my notes android app. The notes appeared
                • Made changes in the notes android app. They are synced just fine
                jdaviescoatesJ Online
                jdaviescoatesJ Online
                jdaviescoates
                wrote on last edited by jdaviescoates
                #24

                @joseph said in Nextcloud Notes no longer synchronizes:

                Made changes in the notes android app. They are synced just fine

                I can also get to this stage, and then without any further changes it just stops working. I'm about to try again...

                I figured I'd try to create a clean slate by deleting all older app passwords... but that didn't work. If I try to delete any old app passwords I just get:

                2e8436cb-de8b-4e33-a4a9-77ff7cea049b-image.png

                It just gives a 400 Bad Request

                Screenshot from 2025-03-18 21-50-50.png

                and generates these errors:

                Screenshot from 2025-03-18 21-51-41.png

                I use Cloudron with Gandi & Hetzner

                J jdaviescoatesJ 2 Replies Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  @joseph said in Nextcloud Notes no longer synchronizes:

                  Made changes in the notes android app. They are synced just fine

                  I can also get to this stage, and then without any further changes it just stops working. I'm about to try again...

                  I figured I'd try to create a clean slate by deleting all older app passwords... but that didn't work. If I try to delete any old app passwords I just get:

                  2e8436cb-de8b-4e33-a4a9-77ff7cea049b-image.png

                  It just gives a 400 Bad Request

                  Screenshot from 2025-03-18 21-50-50.png

                  and generates these errors:

                  Screenshot from 2025-03-18 21-51-41.png

                  J Offline
                  J Offline
                  joseph
                  Staff
                  wrote on last edited by
                  #25

                  @jdaviescoates why are app passwords required here? I just did OIDC login with the main nextcloud app. Then, all I had to do was select an existing account .

                  jdaviescoatesJ 1 Reply Last reply
                  0
                  • J joseph

                    @jdaviescoates why are app passwords required here? I just did OIDC login with the main nextcloud app. Then, all I had to do was select an existing account .

                    jdaviescoatesJ Online
                    jdaviescoatesJ Online
                    jdaviescoates
                    wrote on last edited by jdaviescoates
                    #26

                    @joseph I'm not sure they are.

                    But I figured I'd try to clean up the old ones as part of troubleshooting and working out what's going on.

                    But I just tested, and deleting app passwords works on this Nextcloud on the demo https://te.demo.cloudron.io/settings/user/security 🤔

                    So perhaps the fact that I can't delete app passwords on mine is somehow related to the syncing not working properly? 🤔

                    And actually, right now I can't create app passwords either, similar to the temporary issue @bazinga was having previously.

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      joseph
                      Staff
                      wrote on last edited by joseph
                      #27

                      Just to double check. you are unable to create app passwords as OIDC user correct (and not admin) ?

                      jdaviescoatesJ 1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        @joseph said in Nextcloud Notes no longer synchronizes:

                        Made changes in the notes android app. They are synced just fine

                        I can also get to this stage, and then without any further changes it just stops working. I'm about to try again...

                        I figured I'd try to create a clean slate by deleting all older app passwords... but that didn't work. If I try to delete any old app passwords I just get:

                        2e8436cb-de8b-4e33-a4a9-77ff7cea049b-image.png

                        It just gives a 400 Bad Request

                        Screenshot from 2025-03-18 21-50-50.png

                        and generates these errors:

                        Screenshot from 2025-03-18 21-51-41.png

                        jdaviescoatesJ Online
                        jdaviescoatesJ Online
                        jdaviescoates
                        wrote on last edited by
                        #28

                        @jdaviescoates said in Nextcloud Notes no longer synchronizes:

                        I'm about to try again...

                        So I just:

                        Clear cache and data for all the Nextcloud apps on my phone (Nextcloud, Talk, Notes, Deck)

                        Logged into Nextcloud again using OpenID

                        Opened Notes app on my phone and chose the Nextcloud account. So far, it's randomly working fine again...

                        Also just logged into Talk again (although strangely that forced me to login to Cloudron again, but whatever), and that is also currently working again.

                        Deck didn't work (will add screenshot once synced)

                        https://paste.uniteddiversity.coop/?01186060235e08cf#39NWDP6gbV2E34wLCGYGwHqLkWACQCzyEy528msuqEod

                        I use Cloudron with Gandi & Hetzner

                        jdaviescoatesJ 2 Replies Last reply
                        0
                        • J joseph

                          Just to double check. you are unable to create app passwords as OIDC user correct (and not admin) ?

                          jdaviescoatesJ Online
                          jdaviescoatesJ Online
                          jdaviescoates
                          wrote on last edited by
                          #29

                          @joseph said in Nextcloud Notes no longer synchronizes:

                          Just to double check. you are unable to create app passwords as OIDC user correct (and not admin) ?

                          Ah, yes, good point. So not like for like comparison with the demo

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          0
                          • jdaviescoatesJ jdaviescoates

                            @jdaviescoates said in Nextcloud Notes no longer synchronizes:

                            I'm about to try again...

                            So I just:

                            Clear cache and data for all the Nextcloud apps on my phone (Nextcloud, Talk, Notes, Deck)

                            Logged into Nextcloud again using OpenID

                            Opened Notes app on my phone and chose the Nextcloud account. So far, it's randomly working fine again...

                            Also just logged into Talk again (although strangely that forced me to login to Cloudron again, but whatever), and that is also currently working again.

                            Deck didn't work (will add screenshot once synced)

                            https://paste.uniteddiversity.coop/?01186060235e08cf#39NWDP6gbV2E34wLCGYGwHqLkWACQCzyEy528msuqEod

                            jdaviescoatesJ Online
                            jdaviescoatesJ Online
                            jdaviescoates
                            wrote on last edited by jdaviescoates
                            #30

                            @jdaviescoates said in Nextcloud Notes no longer synchronizes:

                            Deck didn't work (will add screenshot once synced)

                            https://paste.uniteddiversity.coop/?01186060235e08cf#39NWDP6gbV2E34wLCGYGwHqLkWACQCzyEy528msuqEod

                            Ah, this was actually because it wasn't enabled on the server! (I think it got auto disabled at some point because it wasn't compatible with the Nextcloud version).

                            Indeed, something still isn't quite right because despite the fact this is a Featured app, when I look at it within Nextcloud it says it's an untested app and that Server version 30 or lower is required. (and has a button to update to the version I'm already on 🤷 ) :

                            327cdf04-ca7b-41e6-8eb1-8c6fb16d2937-image.png

                            Whereas in the Nextcloud app store it says Highest Nextcloud version Nextcloud 31

                            a6b38542-5a3b-4b2b-82bf-8e0955a811be-image.png

                            Bloody Nextcloud apps!

                            But, whatever, it's actually working so nevermind (and I've just reported this discrepancy upstream).

                            I use Cloudron with Gandi & Hetzner

                            1 Reply Last reply
                            1
                            • jdaviescoatesJ jdaviescoates

                              @jdaviescoates said in Nextcloud Notes no longer synchronizes:

                              I'm about to try again...

                              So I just:

                              Clear cache and data for all the Nextcloud apps on my phone (Nextcloud, Talk, Notes, Deck)

                              Logged into Nextcloud again using OpenID

                              Opened Notes app on my phone and chose the Nextcloud account. So far, it's randomly working fine again...

                              Also just logged into Talk again (although strangely that forced me to login to Cloudron again, but whatever), and that is also currently working again.

                              Deck didn't work (will add screenshot once synced)

                              https://paste.uniteddiversity.coop/?01186060235e08cf#39NWDP6gbV2E34wLCGYGwHqLkWACQCzyEy528msuqEod

                              jdaviescoatesJ Online
                              jdaviescoatesJ Online
                              jdaviescoates
                              wrote on last edited by
                              #31

                              Just to update

                              @jdaviescoates said in Nextcloud Notes no longer synchronizes:

                              Opened Notes app on my phone and chose the Nextcloud account. So far, it's randomly working fine again...

                              Still working.

                              Also just logged into Talk again (although strangely that forced me to login to Cloudron again, but whatever), and that is also currently working again.

                              Stopped working, but added account again (and was forced to fully login again), working again 🤔

                              I use Cloudron with Gandi & Hetzner

                              J 1 Reply Last reply
                              0
                              • jdaviescoatesJ jdaviescoates

                                Just to update

                                @jdaviescoates said in Nextcloud Notes no longer synchronizes:

                                Opened Notes app on my phone and chose the Nextcloud account. So far, it's randomly working fine again...

                                Still working.

                                Also just logged into Talk again (although strangely that forced me to login to Cloudron again, but whatever), and that is also currently working again.

                                Stopped working, but added account again (and was forced to fully login again), working again 🤔

                                J Offline
                                J Offline
                                joseph
                                Staff
                                wrote on last edited by
                                #32

                                @jdaviescoates is Talk a separate app? I can try to install it and keep it running . Looks like maybe some session timeout?

                                jdaviescoatesJ 1 Reply Last reply
                                0
                                • J joseph

                                  @jdaviescoates is Talk a separate app? I can try to install it and keep it running . Looks like maybe some session timeout?

                                  jdaviescoatesJ Online
                                  jdaviescoatesJ Online
                                  jdaviescoates
                                  wrote on last edited by
                                  #33

                                  @joseph yes, see https://nextcloud.com/install/#talk-mobile I think I've likely got F-Droid version.

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  0
                                  • B Offline
                                    B Offline
                                    bazinga
                                    wrote on last edited by bazinga
                                    #34

                                    For me it all fails regardless of how I authenticate.

                                    1. Remove cache and data for all apps. Optionally - reinstall apps (tried many times, didn't help).
                                    2. Open NextCloud app on my phone.
                                    3. Connect and authenticate with OIDC. This opens my browser, I login with Cloudron.
                                      2.1. Optionally authenticate with NC app password / QR code it generates.
                                    4. NC client app gets the files, I can sync both ways.
                                    5. Open Notes and select "Choose Account". In a popup select the one from NextCloud app.
                                    6. Notes "downloads" (or uses NC client to obtain) all notes.
                                    7. Trying to add a new note or edit an existing one results in a failure. "Synchronization failed" message with a "More" link which opens a window with Java exception details. The exception is "Runtime Exception" and the stacktrace talks about "NotesServerSyncTask.pushLocalChanges()". So, local changes cannot be pushed to the cloud is how I interpret this.
                                    J 1 Reply Last reply
                                    0
                                    • B Offline
                                      B Offline
                                      bazinga
                                      wrote on last edited by
                                      #35

                                      So, I've looked at Notes app description in NextCloud, where there is this sentence:

                                      Furthermore, a separate REST API allows for an easy integration into third-party apps (currently, there are notes apps for Android, iOS and the console which allow convenient access to your Nextcloud notes).

                                      Then looked at NextCloud Notes app documentation on GitHub. Specifically looked at "Authentication" section here: https://github.com/nextcloud/notes/blob/main/docs/api/README.md#authentication .

                                      If I'm not blind and not crazy it looks like the API does basic authentication and does not support any token based authentication. If that is correct - then W.T.F.!?!

                                      But then I don't understand why Notes integrates with NC client app. The whole point there would be for NC client app to deal with authentication and Notes app just using NC app as comms channel.

                                      1 Reply Last reply
                                      0
                                      • B bazinga

                                        For me it all fails regardless of how I authenticate.

                                        1. Remove cache and data for all apps. Optionally - reinstall apps (tried many times, didn't help).
                                        2. Open NextCloud app on my phone.
                                        3. Connect and authenticate with OIDC. This opens my browser, I login with Cloudron.
                                          2.1. Optionally authenticate with NC app password / QR code it generates.
                                        4. NC client app gets the files, I can sync both ways.
                                        5. Open Notes and select "Choose Account". In a popup select the one from NextCloud app.
                                        6. Notes "downloads" (or uses NC client to obtain) all notes.
                                        7. Trying to add a new note or edit an existing one results in a failure. "Synchronization failed" message with a "More" link which opens a window with Java exception details. The exception is "Runtime Exception" and the stacktrace talks about "NotesServerSyncTask.pushLocalChanges()". So, local changes cannot be pushed to the cloud is how I interpret this.
                                        J Offline
                                        J Offline
                                        joseph
                                        Staff
                                        wrote on last edited by joseph
                                        #36

                                        @bazinga said in Nextcloud Notes no longer synchronizes:

                                        Trying to add a new note or edit an existing one results in a failure. "Synchronization failed" message with a "More" link which opens a window with Java exception details. The exception is "Runtime Exception" and the stacktrace talks about "NotesServerSyncTask.pushLocalChanges()". So, local changes cannot be pushed to the cloud is how I interpret this.

                                        I search for that string and got quite some sync issues - https://github.com/search?q=repo%3Anextcloud%2Fnotes-android+pushLocalChanges&type=issues
                                        . Most are unsolved it seems. People talk about things randomly working as well - https://github.com/nextcloud/notes-android/issues/2569#issuecomment-2655398231

                                        My notes installation continues to work with no problems! One angle I did not consider is the android variant and various mobile OS . I am on stock Android and use Google Play Store and use a fairly old motorola

                                        B 1 Reply Last reply
                                        0
                                        • J joseph

                                          @bazinga said in Nextcloud Notes no longer synchronizes:

                                          Trying to add a new note or edit an existing one results in a failure. "Synchronization failed" message with a "More" link which opens a window with Java exception details. The exception is "Runtime Exception" and the stacktrace talks about "NotesServerSyncTask.pushLocalChanges()". So, local changes cannot be pushed to the cloud is how I interpret this.

                                          I search for that string and got quite some sync issues - https://github.com/search?q=repo%3Anextcloud%2Fnotes-android+pushLocalChanges&type=issues
                                          . Most are unsolved it seems. People talk about things randomly working as well - https://github.com/nextcloud/notes-android/issues/2569#issuecomment-2655398231

                                          My notes installation continues to work with no problems! One angle I did not consider is the android variant and various mobile OS . I am on stock Android and use Google Play Store and use a fairly old motorola

                                          B Offline
                                          B Offline
                                          bazinga
                                          wrote on last edited by bazinga
                                          #37

                                          @joseph said in Nextcloud Notes no longer synchronizes:

                                          One angle I did not consider is the android variant and various mobile OS . I am on stock Android and use Google Play Store and use a fairly old motorola

                                          I'm on very close to "stock" Android too. GrapheneOS isn't a big deviation.

                                          Don't think this has anything to do with Android though. Something with authentication.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search