After the mayor update of Duplicati I get following warinings, with all Backup-Destinations,
so a Test of restoring the data on a differen machine was successfull.
What das this warning mean and how to avoid it?
2025-11-18 12:34:24 +01 - [Warning-Duplicati.Library.SQLiteHelper.SQLiteLoader-SQLiteFilePermissionError]: Failed to set permissions on SQLite file ‘C:\Users\Marti\AppData\Local\Duplicati\DLUYNOLVSZ.sqlite’ UnauthorizedAccessException: Attempted to perform an unauthorized operation.
2025-11-18 12:44:18 +01 - [Warning-Duplicati.Library.SQLiteHelper.SQLiteLoader-SQLiteFilePermissionError]: Failed to set permissions on SQLite file ‘C:\Users\Marti\AppData\Local\Duplicati\DLUYNOLVSZ.sqlite’ UnauthorizedAccessException: Attempted to perform an unauthorized operation.
2025-11-18 12:44:18 +01 - [Warning-Duplicati.Library.SQLiteHelper.SQLiteLoader-SQLiteFilePermissionError]: Failed to set permissions on SQLite file ‘C:\Users\Marti\AppData\Local\Duplicati\DLUYNOLVSZ.sqlite’ UnauthorizedAccessException: Attempted to perform an unauthorized operation.
PS. I moved C:\Users\Marti\AppData\Local\Duplicati to a differnt location and set a set a symbolic link to it.
A restore test on the original machine has been fast and successfull.
I have the identical problem after doing the latest upgrade (and no other changes)
My current version is 2.2.0.1_stable_2025-11-09
My previous version was 2.1.0.5_stable_2025-03-04
My error messages (note that Q: is a local drive and this is running on Windows 11):
"2025-12-13 01:30:00 -05 - [Warning-Duplicati.Library.SQLiteHelper.SQLiteLoader-SQLiteFilePermissionError]: Failed to set permissions on SQLite file 'Q:\\Duplicati\\YBXPQFLABL.sqlite'\r\nUnauthorizedAccessException: Attempted to perform an unauthorized operation.""2025-12-13 01:34:05 -05 - [Warning-Duplicati.Library.SQLiteHelper.SQLiteLoader-SQLiteFilePermissionError]: Failed to set permissions on SQLite file 'Q:\\Duplicati\\YBXPQFLABL.sqlite'\r\nUnauthorizedAccessException: Attempted to perform an unauthorized operation.""2025-12-13 01:34:07 -05 - [Warning-Duplicati.Library.SQLiteHelper.SQLiteLoader-SQLiteFilePermissionError]: Failed to set permissions on SQLite file 'Q:\\Duplicati\\YBXPQFLABL.sqlite'\r\nUnauthorizedAccessException: Attempted to perform an unauthorized operation."
Also note that the server is running as the same user as the owner of the named .sqlite files and the owner has full permissions on the file. This suggests that the program is locking the file and trying to change permissions at the same time. I can’t think of why it would even be attempting the latter.
I’ve got the same error on one of my backup jobs. What’s interesting is that I myself also can’t change the security settings on that file.
When I go into Properties | Security for the file in Explorer, the permissions are grayed out. The Edit… button (to change permissions) shows a User Account Control icon, which it doesn’t show on the file belonging to the backup job which shows no errors.
And even thoug it shows a UAC icon on the button, clicking the button does not show the UAC popup. I get into the window where I should be able to actually change permissions, but again, the options are grayed out.
When I go into the Advanced button on the Properties | Security tab, I can see that the owner of the problematic file is just an SID (probably an account which has somehow been removed, maybe when updating to Windows 11), where the file without problems is owned by my own account. Also, I can see here that the problematic file has its permissions inherited where the non-problematic file only has direct permissions. Probably those permissions have been set by Duplicati when it first ran that backup job after updating Duplicati.
To check things out, I changed the owner to myself. Then I started the backup job again.This time it shows no warnings. And when I take a look at the Properties | Security, Advanced tab in Explorer afterwards, I can now see that this file no longer inherits permissions but has them set explicitly. So it sure looks like Duplicati now was able to successfully change permissions on the file.
This does leave the question as to why Duplicati wants to change permissions on the file, even blocking permission inheritance. This is tricky, cause that might block access rights which are added later on a parent folder of the file.
PS: I wanted to check under which account Duplicatit itself is running, but I’m not sure what process I should look for. I don’t see Duplicati.server.exe of Duplicati.Service.exe in Task Manager, just Duplicati.GUI.TrayIcon.exe. But I must admit that I don’t really remember how I’ve configured Duplicati to run. Maybe the Duplicatie.GUI.TrayIcon.exe process **is **the process performing the backup.