UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    No Caldav synchronization of a freshly connected calender after reboot

    Scheduled Pinned Locked Moved Support
    21 Posts 7 Posters 4.3k Views 1 Watching
    Loading More Posts
    • 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.
      • H Offline
        hummlbach @karstong
        last edited by

        @karstong the relevant log is ~/.cache/upstart/sync-monitor.log. (It won't log the password, but it has your username and the server you're using inside. So idk maybe you prefer to not post it here publicly...(?))

        T K 2 Replies Last reply Reply Quote 0
        • T Offline
          tomoqv @hummlbach
          last edited by tomoqv

          @hummlbach I want to chime into this too. I will give you more info, but right now not on my PC and difficult to give logs. I am syncing with Nextcloud accounts, and calendar has been a bit of 'hit and miss' .

          1 Reply Last reply Reply Quote 0
          • K Offline
            karstong @hummlbach
            last edited by

            @hummlbach in the sync-monitor.log there is nothing that could be interesting - only 6 lines. But I installed the Logviewer. There you can find logs from "aplication-click-com.ubuntu.calendar_..." and "application-click-logviewer.neothethird_logview..." which relate to the calendar app. In the first I find a lot of errors. Unfortunately, I can't export or copy the entries to the clipboard. Here is just a short example:

            "(process: 9179): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied. dconf will not work properly."

            OR

            "error calling result "An AppArmor policy prevents this sender from sending this message to this recipient; type:"method_call", sender="1.141" .... etc"

            1 Reply Last reply Reply Quote 0
            • T Offline
              Teigneux
              last edited by

              I had the same issue with a owncloud calendar. When I created the generic calendar on my phone, I provide an url like that:
              http://xxx.xxx.xxx.xxx/
              and that's all. It it the owncloud url and the phone could find all the calendars I created on owncloud. BUT, no synchronization after that, from owncloud and also from the phone to owncloud.
              So I deleted this account and create again a generic caldav, but this time, I provide a more complete url, like that:
              http://xxx.xxx.xxx.xxx/remote.php/dav/
              This url is given as a link into the owncloud's calendar.
              Now it works very fine. Hope it will help you.

              K 1 Reply Last reply Reply Quote 0
              • TotalSonicT Offline
                TotalSonic
                last edited by

                Just a note that I was able to fix my Calendar sync problems - seems it was user error. I had both Generic CalDav and NextCloud accounts enabled going to the same OwnCube hosted service - by deleting both and by re-enabling just the NextCloud account Calendar is now syncing as it should.

                Best regards,
                Steve Berson

                1 Reply Last reply Reply Quote 0
                • K Offline
                  karstong @Teigneux
                  last edited by

                  @Teigneux Hi, actually I use an exact URL to my calendar just as you mentioned in the end of your post :

                  xxx/remote.php/dav/user ...

                  Login + Password

                  As I said, when I connect the calendar with Ubuntu Touch therese is absolutely no problem with synchronisation. Only after a reboot of the phone synchronisation fails .

                  Moreover, I do not have any other online accounts like Owncloud connected with UT - only this one generic caldav .

                  T H 2 Replies Last reply Reply Quote 0
                  • T Offline
                    Teigneux @karstong
                    last edited by

                    @karstong ok, your problem looks very different, it is more like a bug than a configuration problem. Good luck!

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      hummlbach @karstong
                      last edited by

                      @karstong you either have very very special case, or what seems more likely, something is messed up with your installation or setup. So either you provide full logs s.t. maybe someone can get an idea whats faulty in your case or you cleanup the calendar backend config manually and reinstall your device... 😉

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tomoqv
                        last edited by

                        I too had problems with the built-in nextcloud calendar sync on my Pro 5. As I already had nextcloud contact sync working (through bash scripts), I deleted my nextcloud account on the device and added the account through syncevolution from the terminal (similar to my contact sync).

                        I am now running a bash script manually for two-way sync of contacts and calendar.

                        However, probably after an OTA update (I am on devel), my calendar sync started giving errors. After deleting the syncevolution database and config for the nextcloud calendar and recreating them, sync works fine again.

                        The one thing I haven't been able to figure out is how to run a syncevolution cron job. It seems that the X server requirement is preventing running these commands in the background. But syncing manually doesn't take that long, so that's what I will use for now.

                        BastosB 1 Reply Last reply Reply Quote 0
                        • BastosB Offline
                          Bastos @tomoqv
                          last edited by

                          @tomoqv said in No Caldav synchronization of a freshly connected calender after reboot:

                          The one thing I haven't been able to figure out is how to run a syncevolution cron job. It seems that the X server requirement is preventing running these commands in the background. But syncing manually doesn't take that long, so that's what I will use for now.

                          Same with me. I manually trigger the command in the terminal and everything gets synchhronised

                          K 1 Reply Last reply Reply Quote 0
                          • K Offline
                            karstong @Bastos
                            last edited by

                            Thanks to all for your replies and sorry for the calm from my side. My son was born last week-end so there were plenty of other interesting things 😉

                            Since I am not a pro user and am not so familiar with the terminal I would be happy if you could explain how to manually trigger the command in the terminal. Thank you again.

                            For the moment I do not have the time to freshly install UT on the device.

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              Teigneux @karstong
                              last edited by

                              @karstong hey congratulations!

                              K 1 Reply Last reply Reply Quote 1
                              • K Offline
                                karstong @Teigneux
                                last edited by

                                @Teigneux Thank you! It's just wonderful - I had no idea...

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post