Nextcloud-backup-client fails to upload

REPRODUCIBILITY (% or how often):
100%

BUILD ID = OS VERSION (Settings > About product):
3.4.0.24

HARDWARE (Jolla1, Tablet, XA2,…):
XA2

UI LANGUAGE:
DE

DESCRIPTION:

Backups do not upload to Nextcloud

PRECONDITIONS:

perfectly working nextcloud-server

STEPS TO REPRODUCE:

  1. add nextcloud-account
  2. enable for backups
  3. manually trigger backup

EXPECTED RESULT:

successful backup uploaded into nextcloud

ACTUAL RESULT:

ERROR

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

XA2-journal:

Oct 27 22:38:38 cartman p[28470]: [W] unknown:0 - [sailfish-backup] “Requesting sync profile nextcloud.Backup-243 to upload file /home/nemo/.local/share/system/privileged/Backups/nextcloud.Backup-243/sailfish_backup_2020-10-27T21-38-24Z.tar.gz”
Oct 27 22:38:38 cartman p[28470]: [W] unknown:0 - [sailfish-backup] “Status: UploadingBackup”
Oct 27 22:38:38 cartman p[28470]: [W] unknown:0 - [sailfish-backup] “Status text: Datensicherung hochladen”
Oct 27 22:38:39 cartman nextcloud-backup-client[29095]: [W] unknown:0 - Nextcloud “nextcloud-backup” sync for account 243 finished with error: “Remote directory listing failed (http status=405)”
Oct 27 22:38:39 cartman nextcloud-backup-client[29095]: [C] unknown:0 - Nextcloud Backup sync failed: 401 “”
Oct 27 22:38:39 cartman p[28470]: [W] unknown:0 - [sailfish-backup] “Cloud operation backupToCloud for profile nextcloud.Backup-243 sync status changed: 4”
Oct 27 22:38:39 cartman p[28470]: [W] unknown:0 - [sailfish-backup] “Status: Error”
Oct 27 22:38:39 cartman p[28470]: [W] unknown:0 - [sailfish-backup] “Status text: Fehler: Konnte Datei nicht hochladen”
Oct 27 22:38:39 cartman nextcloud-backup-client[29095]: [W] unknown:0 - Nextcloud “nextcloud-backup” sync for account 243 finished with error: “Cloud backup error was: CloudUploadError , details:\u0091”
Oct 27 22:38:39 cartman nextcloud-backup-client[29095]: [C] unknown:0 - Nextcloud Backup sync failed: 401 “”
Oct 27 22:38:39 cartman p[28470]: [W] unknown:0 - [sailfish-backup] “Error! error=CloudUploadError errorString=, details:\u0091”

Apachelog:

188.22.149.94 - - [27/Oct/2020:22:28:47 +0100] “PROPFIND /./Xperia-XA2_Y27_BtbQyA9k HTTP/1.1” 405 6206 “-” “Mozilla/5.0”
188.22.149.94 - - [27/Oct/2020:22:30:31 +0100] “PROPFIND /./Xperia-XA2_Y27_BtbQyA9k HTTP/1.1” 405 6210 “-” “Mozilla/5.0”
188.22.149.94 - - [27/Oct/2020:22:38:38 +0100] “PROPFIND /./Xperia-XA2_Y27_BtbQyA9k HTTP/1.1” 405 6208 “-” “Mozilla/5.0”

I think the clue may lay somewhere in the path jolla tries … because normally “/./” would be something more like "/remote.php/dav/*"

Hi.

I am using owncloud (not nextcloud), but webdav features are almost the same… and I had the same problem. Just go to the Nexcloud account settings, from pull-down menu choose “Advanced settings” and in field “Backup Path” put /remote.php/webdav/Backups/. It should help

2 Likes

thank you karry - that nailed it :wink: