I was running the Canary version.
I was running it as a service.
I can log in to webportal on my local machine.
But I can’t get the trayicon to show up, the argument for running it is:
“C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe” --no-hosted-server -server-datafolder=“C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati”
Actually that might have been an Open error. Is your Duplicati.TrayIcon.exe process even running, as seen in Task Manager? If not, have you tried running from Command Prompt? Maybe it has some complaint that it will show. If you start from a shortcut, errors can often show up in Windows Application event log, but that’s more effort to get to than a terminal.
Do you mean login by URL and password to Duplicati GUI from the Windows service?
If so, that can be up without a TrayIcon, but TrayIcon (except for bug) should normally be able to open a browser tab for you. Watch Task Manager to see when it goes down.
If it remains up, make sure you look in the Show hidden icons of the system tray too.
Which one? If on a 2.0, 2.1 has additional needs. If latest 2.1, Stable is older than that.
I ran the Canary 2.0 something, can’t remember, it wasn’t updated for a year or so.
In the tasklist I see Duplicati.Server and Duplicati.WindowsService.
I can log in to 127.0.0.1:8200
I just tried running it from the commandline, and it complained that it didn’t have a password.
So I tried adding --webservice-password, it also suggested I could use --read-config-from-db
So I tried adding that instead (as I don’t like the pw being in the shortcut), then it complained that it couldn’t connect on port 8300, which is correct, as it is running on 8200, so I added --webservice-port=8200, then it got an error 401.
If I run it with password and port,
“C:\Program Files\Duplicati 2\Duplicati.GUI.TrayIcon.exe” --no-hosted-server -server-datafolder=“C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati” --webservice-password=XXX --webservice-port=8200
I don’t see errors in the commandline, and the icon shows up, but nothing happens if I left or right click on it.
OK, then you’re in for the 2.1 password requirement, but I see you’re trying to handle.
This doesn’t work as well for services running as SYSTEM because it will use DB of user running it, which lives in their LOCALAPPDATA in their Users profile. You could ordinarily use --server-datafolder, except you might lack access to systemprofile.
Did you ever set one for 2.0 (or maybe 2.1)? If not, you don’t know the password now.
Is C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati accessible? It generally should be limited for security. At least in the post, you lack a second dash on --server-datafolder, otherwise I’d expect a complaint (unless folder is accessible).
I wouldn’t expect --no-hosted-server run to do that. Such plan seems a bit suspect. Regardless, you told it where to go.
If you never set up a GUI password for the service, you should probably try Example change with a different context from a terminal with access (Run as Administrator?).
You can then test that in browser with manual login. If it works, try it on TrayIcon too.