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 906 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.
  • jdaviescoatesJ jdaviescoates

    @bazinga said in Nextcloud Notes no longer synchronizes:

    but I guess I'll know once you go through with the NC update.

    My update went smoothly and my Notes and Talk are still working.

    I'm guessing you logged into the Nextcloud app with an app password too?

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #15

    @jdaviescoates said in Nextcloud Notes no longer synchronizes:

    My update went smoothly and my Notes and Talk are still working.

    I spoke too soon.

    Somewhat bizarrely, whilst the first quick tests I did this morning both worked fine, now they've both stopped working again.

    And as far as I'm aware literally nothing has changed in the interim.

    I use Cloudron with Gandi & Hetzner

    B 1 Reply Last reply
    0
    • J joseph moved this topic from Support on
    • jdaviescoatesJ jdaviescoates

      @jdaviescoates said in Nextcloud Notes no longer synchronizes:

      My update went smoothly and my Notes and Talk are still working.

      I spoke too soon.

      Somewhat bizarrely, whilst the first quick tests I did this morning both worked fine, now they've both stopped working again.

      And as far as I'm aware literally nothing has changed in the interim.

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

      @jdaviescoates said in Nextcloud Notes no longer synchronizes:

      Somewhat bizarrely, whilst the first quick tests I did this morning both worked fine, now they've both stopped working again.

      For me - it works for the initial sync, after that doesn't work - eg. Notes on my phone gets all 150+ notes entries/files, seems to be good. Go and edit one or create a new one and that starts throwing errors and never works.

      Re-installing apps, clearing caches/storage/etc. doesn't help.

      Using app passwords or using OIDC for NextCloud client (main app) auth doesn't make a difference.

      1 Reply Last reply
      1
      • BrutalBirdieB BrutalBirdie

        That is very odd.
        I've done the migration for a customer instance with 300 Users and for multiple weeks now we had to such reports.
        What mobile OS are you using? There was a recent issue in the forum about app passwords not being generated and working because of Safari in iOS.
        🤔
        Sorry that it is so broken for you, that should not be.

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

        @BrutalBirdie said in Nextcloud Notes no longer synchronizes:

        What mobile OS are you using?

        I've got GrapheneOS on a Pixel Pro. I've messed around with various per-app security settings that GrapheneOS provides, but none of that helped.

        1 Reply Last reply
        0
        • 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 Offline
              jdaviescoatesJ Offline
              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 Offline
                      jdaviescoatesJ Offline
                      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 Offline
                          jdaviescoatesJ Offline
                          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 Offline
                              jdaviescoatesJ Offline
                              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 Offline
                                jdaviescoatesJ Offline
                                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 Offline
                                  jdaviescoatesJ Offline
                                  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 Offline
                                    jdaviescoatesJ Offline
                                    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 Offline
                                        jdaviescoatesJ Offline
                                        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
                                          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