• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • K Offline
      karstong @hummlbach
      last edited by 10 Apr 2019, 08:14

      @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 10 Apr 2019, 15:36

        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 11 Apr 2019, 05:19 Reply Quote 0
        • T Offline
          TotalSonic
          last edited by 11 Apr 2019, 03:43

          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 11 Apr 2019, 05:19

            @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 11 Apr 2019, 05:31 Reply Quote 0
            • T Offline
              Teigneux @karstong
              last edited by 11 Apr 2019, 05:31

              @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 11 Apr 2019, 06:09

                @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 12 Apr 2019, 09:11

                  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.

                  B 1 Reply Last reply 12 Apr 2019, 11:32 Reply Quote 0
                  • B Offline
                    Bastos @tomoqv
                    last edited by 12 Apr 2019, 11:32

                    @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 16 Apr 2019, 09:09 Reply Quote 0
                    • K Offline
                      karstong @Bastos
                      last edited by 16 Apr 2019, 09:09

                      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 17 Apr 2019, 06:48 Reply Quote 0
                      • T Offline
                        Teigneux @karstong
                        last edited by 17 Apr 2019, 06:48

                        @karstong hey congratulations!

                        K 1 Reply Last reply 19 Apr 2019, 15:11 Reply Quote 1
                        • K Offline
                          karstong @Teigneux
                          last edited by 19 Apr 2019, 15:11

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

                          1 Reply Last reply Reply Quote 0
                          20 out of 21
                          • First post
                            20/21
                            Last post