as User everything except VSS works.
So I thought lets run it as admin, same problem.
Next was to create a Service(tried with and without webservice-password):
Creating and running the service is successful.
But Login is not possible, everything is wrong, I know the passphrase, I even looked in the sqllite table(strange that it is stored in cleartext). But nothing works.
The password is not stored in plain text, it is repeatedly hashes with a PBKDF method to ensure it is not readable from the database. This ensures that even an attacker with access to the database will not be able to obtain a password that can be used to log in.
If you didn’t actually supply a password, please do so using one of the two ways shown.
I did provide the password. I was not sure about escaping special characters
–webservice-password=^%()§/$abc or --webservice-password=“^%()§/$abc” <<passphrase
tried both with no success
I think that’s the job’s encryption passphrase. You might have several, if you have several jobs.
I’m thinking server passphrase was in server-passphrase info, and 2.1 has it in in pbkdf-config.
Let me see if I can set up Windows service with your info, and find out whether I can do a login.
Testing, install line with unquoted passphrase didn’t let me login, but the quoted version did.
I’d probably have to play more with special characters to narrow down which ones bother it.
Using ServerUtil “might” be less sensitive, so please try.
It seems like the ^ caret is the character it mishandles. Unsure why.
EDIT:
It’s the escape character in Command Prompt, like backslash is on other systems.
So doubling it works unquoted, and it seemed from test like double quoting works.
C:\Program Files\Duplicati 2>Duplicati.CommandLine.ServerUtil change-password --server-datafolder "C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati"
Connecting to http://localhost:8200/...
Please provide the new password: **********
does not need quoting or caret doubling, and lets me login with ^%()§/$abc.
If you haven’t already, also try with new browser tab or maybe a hard refresh.
EDIT:
Run the ServerUtil in Command Prompt (Admin) or similar. It needs access…
application log was spamming
Attempting to restart server process: C:\Program Files\Duplicati 2\Duplicati.Server.exe
and
2025-01-12 19:51:09 +01 - [Warning-Duplicati.Server.Program-MissingEncryptionKey]: No database encryption key was found. The database will be stored unencrypted. Supply an encryption key via the environment variable SETTINGS_ENCRYPTION_KEY or disable database encryption with the option --disable-db-encryption
Duplicati.CommandLine.ServerUtil change-password --server-datafolder C:\users\user\AppData\Local\Duplicati
Connecting to http://localhost:8200/…
Please provide the new password: *******
Login with the new password was possible, but I have no access to the backups from my normal user. Can I just import the jobs and everything is fine?
And if everything is gone, can I still access it with just the backup files and the password in a new environment or do I need the appdata folder and other things?
That won’t know where your old databases were. It will assign new paths. Best to move old.
You can adapt the directions if you like, e.g. copy the old DBs to what Database screen has.