I have now twice noticed that backups would just start failing after running fine for about two weeks, e.g. error in backup log:
ERROR STORAGE_CREATE Failed to load the Backblaze B2 storage at b2://ptr727-Duplicacy-Server-1-Backup: Authorization failure
E.g. error in web log:
2019/10/15 00:00:01 Starting schedule Daily at scheduled time 2019-1015 00:00
2019/10/15 00:00:01 Created log file /logs/backup-20191015-000001.log
2019/10/15 00:00:01 Running /home/duplicacy/.duplicacy-web/bin/duplicacy_linux_x64_2.2.3 [-log backup -storage B2-Backup -stats]
2019/10/15 00:00:01 Set current working directory to /cache/localhost/0
2019/10/15 00:00:01 ERROR STORAGE_CREATE Failed to load the Backblaze B2 storage at b2://ptr727-Duplicacy-Server-1-Backup: Authorization failure
2019/10/15 00:00:01 Failed to marshal the configuration: json: error calling MarshalJSON for type main.StorageCredentials: No master password provided
2019/10/15 00:00:01 Failed to save the job result: json: error calling MarshalJSON for type main.StorageCredentials: No master password provided
2019/10/15 00:00:01 Failed to marshal the configuration: json: error calling MarshalJSON for type main.StorageCredentials: No master password provided
2019/10/15 00:00:01 Failed to save the backup job result: json: error calling MarshalJSON for type main.StorageCredentials: No master password provided
On startup there is this error, not sure it is important, as things do work, until the don’t:
2019/10/30 15:19:11 Failed to store the value to the keyring: keyring/dbus: Error connecting to dbus session, not registering SecretService provider: dbus: DBUS_SESSION_BUS_ADDRESS not set
This happens with web in the @saspus docker container, when I restart the container, the backups start working again.
How does the scheduler get the secrets when the master password expires?
Any other ideas?