3.4.0 Manual Backup to OneDrive

That is a shame.

I did find that leaving my phone overnight seemed to help.

For example, my location was not being updated in GPSInfo after I updated Sailfish, despite changing the Location settings.

I returned to the phone and they are updating correctly.

i notice that while testing the nextcloud-backup-client (which fails - see log) there are no according connections at the target nextcloud-instance (apache-access-log).

journalctl on XA2:
<<<<<
Oct 25 12:53:08 cartman p[23038]: [W] unknown:0 - [sailfish-backup] “Status: UploadingBackup”
Oct 25 12:53:08 cartman p[23038]: [W] unknown:0 - [sailfish-backup] “Status text: Datensicherung hochladen”
Oct 25 12:53:09 cartman nextcloud-backup-client[24701]: [W] unknown:0 - Nextcloud “nextcloud-backup” sync for account 243 finished with error: “Remote directory listing failed (http status=405)”
Oct 25 12:53:09 cartman nextcloud-backup-client[24701]: [C] unknown:0 - Nextcloud Backup sync failed: 401 “”
Oct 25 12:53:09 cartman p[23038]: [W] unknown:0 - [sailfish-backup] “Cloud operation backupToCloud for profile nextcloud.Backup-243 sync status changed: 4”
Oct 25 12:53:09 cartman p[23038]: [W] unknown:0 - [sailfish-backup] “Status: Error”
Oct 25 12:53:09 cartman p[23038]: [W] unknown:0 - [sailfish-backup] “Status text: Fehler: Konnte Datei nicht hochladen”
Oct 25 12:53:09 cartman nextcloud-backup-client[24701]: [W] unknown:0 - Nextcloud “nextcloud-backup” sync for account 243 finished with error: “Cloud backup error was: CloudUploadError , details:\u0091”
Oct 25 12:53:09 cartman nextcloud-backup-client[24701]: [C] unknown:0 - Nextcloud Backup sync failed: 401 “”
Oct 25 12:53:09 cartman p[23038]: [W] unknown:0 - [sailfish-backup] “Error! error=CloudUploadError errorString=, details:\u0091”

The issue still exists with version 4.0.1.45.
it fails at uploading… I’ve deleted and readded the onedrive account but it still fails :

2 Likes

Still an issue with 4.0.1 here too. The same error message in the GUI as others reported. I have attached the log from journalctl related to onedrive.

févr. 17 11:37:56 Sailfish dbus-daemon[5057]: dbus-daemon[5057]: [session uid=100000 pid=5057] Activating service name=‘com.google.code.AccountsSSO.SingleSignOn’ requested by ‘:1.556’ (uid=100000 pid=32047 comm="/usr/lib/buteo-plugins-qt5//oopp/onedrive-backupqu" label=“u:r:kernel:s0”)
févr. 17 11:38:02 Sailfish p[30999]: [W] unknown:0 - [sailfish-backup] “Triggering backup sync profile: onedrive.Backup-17”
févr. 17 11:38:03 Sailfish p[30999]: [W] unknown:0 - [sailfish-backup] “Cloud operation backupToCloud for profile onedrive.Backup-17 sync status changed: 1”
févr. 17 11:38:03 Sailfish p[30999]: [W] unknown:0 - [Log] “Preparing to backup units: Accounts, Browser, Calendar, Media, Messages, Notes, MyBackup, People, Phone to /home/nemo/.local/share/system/privileged/Backups/onedrive.Backup-17/sailfish_backup_2021-02-17T10-38-02Z.tar.gz”
févr. 17 11:38:59 Sailfish p[30999]: [W] unknown:0 - [Log] “Start: tar -cvf /home/nemo/.local/share/system/privileged/Backups/onedrive.Backup-17/sailfish_backup_2021-02-17T10-38-02Z.tar.gz .from directory: /home/nemo/.local/share/system/privileged/Backups-tmp/units/sailfish_backup_2021-02-17T10-38-02Z”
févr. 17 11:38:59 Sailfish p[30999]: [W] unknown:0 - [sailfish-backup] “Requesting sync profile onedrive.Backup-17 to upload file /home/nemo/.local/share/system/privileged/Backups/onedrive.Backup-17/sailfish_backup_2021-02-17T10-38-02Z.tar.gz”
févr. 17 11:39:00 Sailfish onedrive-backup-client[32113]: [W] unknown:0 - ERROR: “Backup” request with account 17 experienced error: QNetworkReply::NetworkError(RemoteHostClosedError)
févr. 17 11:39:00 Sailfish onedrive-backup-client[32113]: [W] unknown:0 - ERROR: failed to backup file: “/home/nemo/.local/share/system/privileged/Backups/onedrive.Backup-17” “sailfish_backup_2021-02-17T10-38-02Z.tar.gz” to: “Backups/Xperia-10-Plus—Dual-SIM_W5UQAvWU8Cmq” for OneDrive account: 17 , code: 0
févr. 17 11:39:01 Sailfish p[30999]: [W] unknown:0 - [sailfish-backup] “Cloud operation backupToCloud for profile onedrive.Backup-17 sync status changed: 4”
févr. 17 11:39:01 Sailfish onedrive-backup-client[32113]: [W] unknown:0 - ERROR: Cloud backup error was: “CloudUploadError” “onedrive.Backup-17 update failed, details:\u0001”
févr. 17 11:39:01 Sailfish onedrive-backup-client[32113]: [W] unknown:0 - ERROR: busy semaphore is negative for account 17
févr. 17 11:39:01 Sailfish p[30999]: [W] unknown:0 - [sailfish-backup] “Error! error=CloudUploadError errorString=onedrive.Backup-17 update failed, details:\u0001”>

I have no network issues as everything else is working flawlessly. And as this seems to work for some users, I guess the size of 400MiB (from SD-card backup) is too much for my onedrive free account?

Still an issue with 4.0.1.48 and Xperia X. On my phone on SD-Card the backup ist 360 M (but without photos) and the upload fails for 100%.
On my wifes XperiaX (4.0.1.48) backup to SD-Card fails (size 0) and the upload to OneDrive (the same account) brings a tar.gz with only 304 KB.
It seems the backup-function needs some attention.

Cannot backup to OneDrive on 4.5.0.18, still not fixed.

Thankfully fixed for me XIII with 4.5.0.18
Both automatically and manually

Sony XA2, 4.6.0.15 (Sauna). Backup upload not working on OneDrive. Login to OneDrive works in browser. Also, the phone shows that I can restore it from the last backup that is 21.11.2024. IMHO, to show this info the phone must succesfully connect to OneDrive.

Phone reboot does not help.