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 820 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.
  • 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
              • 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
                    • B Offline
                      B Offline
                      bazinga
                      wrote on last edited by
                      #38

                      So, I've started disabling/enabling NextCloud apps in the cloud. After I disabled "Antivirus for files" app, Notes sync started working. Completely random thought...

                      1 Reply Last reply
                      1
                      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