mrvladus / Errands

Todo application for those who prefer simplicity.
MIT License
288 stars 66 forks source link

Not syncing with Nextcloud #187

Closed saltecaramel closed 7 months ago

saltecaramel commented 7 months ago

I added the Nextcloud instance that I use to Errands and tested to connection with no issues. I synced the tasks and still nothing shows up. I do have already existing tasks on my Nextcloud and I expected them to show up on Errands.

Here is the output when I run through terminal:

[DEBUG] Starting Errands 45.0.5 [DEBUG] Getting window settings [DEBUG] Initialize GSettings [DEBUG] Setting theme [DEBUG] Present window [DEBUG] Window startup [DEBUG] Creating actions [DEBUG] Loading tasks [DEBUG] Validating data file [DEBUG] Data file is valid [INFO] Add task: 6342e3e9-eb68-4646-88c3-344fd4b4d30b [INFO] Add sub-task: 117d74c0-8157-4e92-b867-86f14420630e [INFO] Add sub-task: 458610d2-5e68-41dd-9e73-d795ef6e85d1 [INFO] Add task: dd08ccac-83d4-4389-89f0-60b51106a9cf [INFO] Add task: 93485f12-e27b-4fe5-b139-ecb80f399792 [INFO] Add task: 7a09ec71-dccd-4c2d-b5f9-8bcec1bb761e [INFO] Add task: b23b3a18-dbbe-45ba-8e2e-682d52a994e3 [INFO] Add task: ac2be69a-a1c1-4318-b5d2-6a8cc7fe5640 [INFO] Add task: c2c907f0-619c-4cfa-a2ec-960c4b1a2059 [INFO] Add task: 216642ac-ba16-4d28-b3c3-54a78a60f26c [INFO] Add task: e5e8e40a-97b4-4aef-ab9e-4fc4039f334e [INFO] Add task: 353f2dea-c5c9-48d2-a47a-6e2802ec6a63 [INFO] Add task: 38fa343f-387d-41d2-bb73-bd342773245e [INFO] Add task: 0527ced3-2b62-43f5-922a-aaf58e693b6d [INFO] Add task: 2518c6a5-d2d5-4fd7-80cc-7f0912cf090f [INFO] Add task: f65bdba8-05e4-44e1-92f9-8d3ce1b4e8ee [INFO] Add task: 69e0f35f-2a0b-4a32-8218-88be3d4ee929 [INFO] Add task: a410daad-0489-4026-ac30-b35d1aefe7e4 [INFO] Add task: 4ef48c63-1ea9-4de6-befb-9a15c512826f [INFO] Add task: 376656b0-d454-4856-aa87-46f8d796ffe5 [INFO] Add task: 55f90c4b-dc43-4ffa-90b1-7203d6aab6cb [INFO] Add task: 0482ea03-7437-4d62-9857-ac070ab68a95 [INFO] Add task: 97062d56-ce5a-49b1-bdc4-d6850cf92589 [INFO] Add task: 6929d9ae-5796-4701-b0bb-d41d1dfe6df5 [INFO] Add task: 6a9cf832-b115-432f-a9cf-78a7f7dc860b [INFO] Add task: 5c3a2a96-80d5-454f-80b7-46821405837f [INFO] Add task: 578d8597-02e1-41c6-b26c-c4967d656fe6 [INFO] Add task: 7c0c9fab-3525-40ee-a5f6-43ff0b46a229 [INFO] Add task: b700643d-21ca-47d4-8101-7fe470e35b04 [INFO] Add task: a2bd7a0d-95b5-4b4a-9471-9f8e421ae832 [DEBUG] Sync: Initialize sync provider [INFO] Sync: Initialize Nextcloud sync provider [DEBUG] Sync: Checking credentials [DEBUG] Sync: Checking URL [DEBUG] Sync: URL is set to http://pro.woelkli.com/remote.php/dav/ [DEBUG] Sync: Attempting connection [INFO] Sync: Connected to Nextcloud server at 'http://pro.woelkli.com/remote.php/dav/' [DEBUG] Sync: Setting up calendars [DEBUG] Sync: Create new calendar 'Errands' on Nextcloud [ERROR] Sync: Can't connect to Nextcloud server at 'http://pro.woelkli.com/remote.php/dav/' [DEBUG] Getting tasks from CalDAV [ERROR] Sync: Can't get tasks from CalDAV [INFO] Sync: Sync tasks with Nextcloud [DEBUG] Sync: Create new task on CalDAV: 6342e3e9-eb68-4646-88c3-344fd4b4d30b [ERROR] Sync: Error creating new task on CalDAV: 6342e3e9-eb68-4646-88c3-344fd4b4d30b [DEBUG] Sync: Create new task on CalDAV: 117d74c0-8157-4e92-b867-86f14420630e [ERROR] Sync: Error creating new task on CalDAV: 117d74c0-8157-4e92-b867-86f14420630e [DEBUG] Sync: Create new task on CalDAV: 458610d2-5e68-41dd-9e73-d795ef6e85d1 [ERROR] Sync: Error creating new task on CalDAV: 458610d2-5e68-41dd-9e73-d795ef6e85d1 [DEBUG] Sync: Create new task on CalDAV: dd08ccac-83d4-4389-89f0-60b51106a9cf [ERROR] Sync: Error creating new task on CalDAV: dd08ccac-83d4-4389-89f0-60b51106a9cf [DEBUG] Sync: Create new task on CalDAV: 93485f12-e27b-4fe5-b139-ecb80f399792 [ERROR] Sync: Error creating new task on CalDAV: 93485f12-e27b-4fe5-b139-ecb80f399792 [DEBUG] Sync: Create new task on CalDAV: 7a09ec71-dccd-4c2d-b5f9-8bcec1bb761e [ERROR] Sync: Error creating new task on CalDAV: 7a09ec71-dccd-4c2d-b5f9-8bcec1bb761e [DEBUG] Sync: Create new task on CalDAV: b23b3a18-dbbe-45ba-8e2e-682d52a994e3 [ERROR] Sync: Error creating new task on CalDAV: b23b3a18-dbbe-45ba-8e2e-682d52a994e3 [DEBUG] Sync: Create new task on CalDAV: ac2be69a-a1c1-4318-b5d2-6a8cc7fe5640 [ERROR] Sync: Error creating new task on CalDAV: ac2be69a-a1c1-4318-b5d2-6a8cc7fe5640 [DEBUG] Sync: Create new task on CalDAV: c2c907f0-619c-4cfa-a2ec-960c4b1a2059 [ERROR] Sync: Error creating new task on CalDAV: c2c907f0-619c-4cfa-a2ec-960c4b1a2059 [DEBUG] Sync: Create new task on CalDAV: 216642ac-ba16-4d28-b3c3-54a78a60f26c [ERROR] Sync: Error creating new task on CalDAV: 216642ac-ba16-4d28-b3c3-54a78a60f26c [DEBUG] Sync: Create new task on CalDAV: e5e8e40a-97b4-4aef-ab9e-4fc4039f334e [ERROR] Sync: Error creating new task on CalDAV: e5e8e40a-97b4-4aef-ab9e-4fc4039f334e [DEBUG] Sync: Create new task on CalDAV: 353f2dea-c5c9-48d2-a47a-6e2802ec6a63 [ERROR] Sync: Error creating new task on CalDAV: 353f2dea-c5c9-48d2-a47a-6e2802ec6a63 [DEBUG] Sync: Create new task on CalDAV: 38fa343f-387d-41d2-bb73-bd342773245e [ERROR] Sync: Error creating new task on CalDAV: 38fa343f-387d-41d2-bb73-bd342773245e [DEBUG] Sync: Create new task on CalDAV: 0527ced3-2b62-43f5-922a-aaf58e693b6d [ERROR] Sync: Error creating new task on CalDAV: 0527ced3-2b62-43f5-922a-aaf58e693b6d [DEBUG] Sync: Create new task on CalDAV: 2518c6a5-d2d5-4fd7-80cc-7f0912cf090f [ERROR] Sync: Error creating new task on CalDAV: 2518c6a5-d2d5-4fd7-80cc-7f0912cf090f [DEBUG] Sync: Create new task on CalDAV: f65bdba8-05e4-44e1-92f9-8d3ce1b4e8ee [ERROR] Sync: Error creating new task on CalDAV: f65bdba8-05e4-44e1-92f9-8d3ce1b4e8ee [DEBUG] Sync: Create new task on CalDAV: 69e0f35f-2a0b-4a32-8218-88be3d4ee929 [ERROR] Sync: Error creating new task on CalDAV: 69e0f35f-2a0b-4a32-8218-88be3d4ee929 [DEBUG] Sync: Create new task on CalDAV: a410daad-0489-4026-ac30-b35d1aefe7e4 [ERROR] Sync: Error creating new task on CalDAV: a410daad-0489-4026-ac30-b35d1aefe7e4 [DEBUG] Sync: Create new task on CalDAV: 4ef48c63-1ea9-4de6-befb-9a15c512826f [ERROR] Sync: Error creating new task on CalDAV: 4ef48c63-1ea9-4de6-befb-9a15c512826f [DEBUG] Sync: Create new task on CalDAV: 376656b0-d454-4856-aa87-46f8d796ffe5 [ERROR] Sync: Error creating new task on CalDAV: 376656b0-d454-4856-aa87-46f8d796ffe5 [DEBUG] Sync: Create new task on CalDAV: 55f90c4b-dc43-4ffa-90b1-7203d6aab6cb [ERROR] Sync: Error creating new task on CalDAV: 55f90c4b-dc43-4ffa-90b1-7203d6aab6cb [DEBUG] Sync: Create new task on CalDAV: 0482ea03-7437-4d62-9857-ac070ab68a95 [ERROR] Sync: Error creating new task on CalDAV: 0482ea03-7437-4d62-9857-ac070ab68a95 [DEBUG] Sync: Create new task on CalDAV: 97062d56-ce5a-49b1-bdc4-d6850cf92589 [ERROR] Sync: Error creating new task on CalDAV: 97062d56-ce5a-49b1-bdc4-d6850cf92589 [DEBUG] Sync: Create new task on CalDAV: 6929d9ae-5796-4701-b0bb-d41d1dfe6df5 [ERROR] Sync: Error creating new task on CalDAV: 6929d9ae-5796-4701-b0bb-d41d1dfe6df5 [DEBUG] Sync: Create new task on CalDAV: 6a9cf832-b115-432f-a9cf-78a7f7dc860b [ERROR] Sync: Error creating new task on CalDAV: 6a9cf832-b115-432f-a9cf-78a7f7dc860b [DEBUG] Sync: Create new task on CalDAV: 5c3a2a96-80d5-454f-80b7-46821405837f [ERROR] Sync: Error creating new task on CalDAV: 5c3a2a96-80d5-454f-80b7-46821405837f [DEBUG] Sync: Create new task on CalDAV: 578d8597-02e1-41c6-b26c-c4967d656fe6 [ERROR] Sync: Error creating new task on CalDAV: 578d8597-02e1-41c6-b26c-c4967d656fe6 [DEBUG] Sync: Create new task on CalDAV: 7c0c9fab-3525-40ee-a5f6-43ff0b46a229 [ERROR] Sync: Error creating new task on CalDAV: 7c0c9fab-3525-40ee-a5f6-43ff0b46a229 [DEBUG] Sync: Create new task on CalDAV: b700643d-21ca-47d4-8101-7fe470e35b04 [ERROR] Sync: Error creating new task on CalDAV: b700643d-21ca-47d4-8101-7fe470e35b04 [DEBUG] Sync: Create new task on CalDAV: a2bd7a0d-95b5-4b4a-9471-9f8e421ae832 [ERROR] Sync: Error creating new task on CalDAV: a2bd7a0d-95b5-4b4a-9471-9f8e421ae832 [DEBUG] Sync: Fetch tasks from Nextcloud [DEBUG] Getting tasks from CalDAV [ERROR] Sync: Can't get tasks from CalDAV [DEBUG] No tasks on server [DEBUG] Updating UI

Would this be an issue on the Nextcloud instance that I use or a problem with the program?

mrvladus commented 7 months ago

Maybe try to use https instead of http in url

mrvladus commented 7 months ago

Seems like you use old version of Errands from your distro, probably Debian, please use flatpak version from flathub. Only flatpak version is supported.

saltecaramel commented 7 months ago

Updated to 45.1.7 from Flathub and syncing works fine now. Thanks.

mrvladus commented 7 months ago

Great! Closing then.