How to change v2.0.9 server password?

The password is randomly generated, so there is no way to obtain that password. Thats the price for not falling into the “default password” trap.

For most uses, you do not need to set a password, so unless you need to connect to the Duplicati server from something other than the TrayIcon, I would advise keeping it random.

If you do need to know the password to the server, you need to supply your own password to the server, which can be done with one of the methods:

  • Start the server/service once with --webservice-password=<new-password> (make sure it is not already running)
  • Use Duplicati.CommandLine.ServerUtil.exe / duplicati-server-util and set --server-datafolder=<path to folder with Duplicati-server.sqlite>
  • Use the TrayIcon to open the page, and change the password in “Settings”
  • Obtain the initial signin link from the Event Viewer / system logs and open in a browser, then change the password in “Settings”

If you are using the TrayIcon with a hosted server (default setup) the TrayIcon can communicate directly with the server and does not need a password. This also means that changing the password does not affect the TrayIcon. If you run the server separately and start the TrayIcon with --no-hosted-server you would need to specify the password or --server-datafolder for the TrayIcon as well.

I have written a post with more details on the Duplicati authentication system and how you can use it.

1 Like