Install Duplicati New machine

Hello

I am trying to install Duplicati on my server who crash so I have re made all the installation…

It is under Windows 10 professional 64 bits

I have install withe the file “duplicati-2.1.0.5_stable_2025-03-04-win-x64-gui.msi”
In my same machine before the crash, Duplicati was installed as a service…

Here and now it impossible to install as a service and the under the tray I access to the web UI of Duplicati, program a backup but it doesn’t do the backup to the 3 days (I have only one backup…)

So I think the first install is not properly…

Does anyone could help me ?

Did you already restore server data from backup? Duplicati? Another way?

WindowsService is the documentation for it, although it’s somewhat brief.

What do you do? How do you see that it’s impossible? Please be specific.

How do you try to run it? What happens? If it starts, describe progress seen.

Meaning one backup job configured, just one saved version in backup, what?

Do you mean the .msi install that gave you the tray icon but not the service?

Note that these are not equivalent. Which do you really need for this backup?

Choosing Duplicati Type

So running Duplicati as SYSTEM user? Access it from browser by direct URL?

@ts678

I have not clear and sorry for all so I will try to done more information :

I have a machine I use as a file server (OS = Win10, motherboard mini ITX with many HDD and SSD)
This machine crashed there is 10 days…The SSD of the system was may be old and the copy system not started (=not function…GGRRRR !!)
But the HDD of the data may be saved (installed in mirroring) and I have backup locally in two others places…
So I erase all the files in the backup cloud and so I can repair the disk system so I loose all databases…
This machine was called Prodigy (hostname)

So after all these misery I reinstall OS (Win 10) and others drivers and then I connect all my HDD and SSD, done the sharing and all seems OK…
This machine keep the Hostname Prodigy for my network and so here…

Then it was the time to install Duplicati

So I downloading the file here :

In the “old” Prodigy Duplicati was installed with and old version of Duplicati and then I migrate to an install duplicati as a service. Il follow this video :

With the new installer this tutorial not function…
I have done many backup (programming all the days, backup 1/3 day and keep 3 backup)
The first backup was done but after 3 days the second backup not be done …

For the message error :
I have a message error (since the command line of tuto…) who give me :slight_smile:

C:\Program Files\Duplicati 2>Duplicati.WindowsService.exe -webservice-interface=loopback -webservice-port=8200 -portable-mode
Cannot start service from the command line or a debugger.  A Windows Service must first be installed and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.

I have another message during the backup “warning” but the backup appears in green in the log

2025-05-20 18:30:57 +02 - [Warning-Duplicati.Library.Modules.Builtin.ReportHelper-ReportSubmitError]: Échec de l'envoi du message: System.NullReferenceException: Object reference not set to an instance of an object. NullReferenceException: Object reference not set to an instance of an object.

And I can’t see the service duplicati in services.msc

So all give me impression the program is not installed OK…

But at this time I am in my work and not at home for “give” error message perfect (sorry)

For complete :

Do you mean the .msi install that gave you the tray icon but not the service?

During the process of install I have not the choose of the install, all the installation give the tray icon and at the end of the install the service duplicati is not present in services.msc…

Note that these are not equivalent. Which do you really need for this backup?

I think this is the server version install who is installation as a service ?? or may be this :

WindowsService

But I am not sure

Sorry for my poor frenchee
Many thanks for the help and the time

I can’t find such message in Duplicati code, nor Google reference to service install.

Can you provide the full, exact message?

You mean this line said something else? What exactly?

C:\Program Files\Duplicati 2>Duplicati.WindowsService.exe install --webservice-interface=loopback --webservice-port=8200 --portable-mode
Duplicati service installation succeeded.

C:\Program Files\Duplicati 2>

After installation, I went to the Services app, saw the Duplicati service, and started it.
In Task Manager, I have a Duplicati.WindowsService.exe and a Duplicati.Server.exe.
Sometimese things go wrong and processes cycle (PID changes), but mine look fine.
Logging into service is extra work in 2.1 (what did you run before?) due to password.

Your descriptions seem to be jumping between service and TrayIcon. The video is on Windows service installation. You say it doesn’t work, then somehow do a GUI setup?

So Schedule picks all days of the week?

Unclear. A third of day? Something else?

If you’re talking about scheduled backups, home screen and job will say when it will run.
Please be specific about your schedule, if this is a schedule. If not, what got configured?

Above jumps back to trying to get service installed. Then it continues with TrayIcon use?

Then finishes with proof of no service in services.msc. Did I misread, or is this all mixed?

OK, might need to wait on those.

You have some choices on TrayIcon startup, but the .msi won’t install Windows service.

That’s exactly as expected, which is why there’s a video and the manual on service install.

remains open. If done, it would make installing the Windows service less do-it-yourself.

As noted in my Task Manager comments, the Windows service does wind up running Duplicati.Service, and as the SYSTEM user unless you change. Service starts at boot, providing backups without needing user to be logged in, and has lots of access power.

TrayIcon is more for individual use while logged in. I don’t know which use you require.

OK, I see some edits added info.

Your install line is not as the video and documentation show. You didn’t type install.
You might have used single dashes instead of double on options. Anyway, use double.

The log must be prepared before reporting can send it, so reporting errors don’t change it.
Specifics on what you’re trying to do would help. Even if that fails, it should fail better IMO.

1 Like

Hello @ts678

I succeed to install the service duplicati
Effectively I have done an error during typing the command line here :

In the video this is :
Duplicati.WindowsService.exe –webservice-interface=loopback –webservice-port=8200 –portable-mode

in the new version duplicati it must this :

Duplicati.WindowsService.exe INSTALL –webservice-interface=loopback –webservice-port=8200 –portable-mode

After this commandline, starting the service andi can open the URL :

http://127.0.0.1:8200/login.html

But when I type the password of the interface web of duplicati since the tray, impossible to access to GUI duplicati…

May be I need to uninstall all properly for erase all identification (it possible … I am not attache to the backup rules actually in duplicati via tray…

No. Look again at the image from the video. Video shows install. You didn’t type that.

image

I don’t think INSTALL versus install matters. You can see that I typed it in lowercase.

Not really. I warned you of this before, but there were bigger problems to work on first.

Duplicati Access Password is the documentation. It’s also linked on the password page:

Example change with a different context is a Windows service example for usual setup.

You used --portable-mode which puts the databases in data folder below the install.

C:\Program Files\Duplicati 2>Duplicati.CommandLine.ServerUtil change-password --server-datafolder "C:\Program Files\Duplicati 2\data"
Connecting to http://localhost:8200/...
Please provide the new password: ********

C:\Program Files\Duplicati 2>

Here’s the definition. It was originally meant for installing on portable drive, but helps other things such as the annoying way Windows version updates wipe out the SYSTEM profile.

C:\Program Files\Duplicati 2>Duplicati.Server.exe help | findstr portable-mode
--portable-mode: Activate portable mode where the database is placed below the program executable

C:\Program Files\Duplicati 2>

Hi @ts678

Sorry but I have many difficult to follow your ideas an solutions…

It is not your fault, it is mine because I am frenchee and know a little english, but I use to google traduction because the suject go very difficult
I am not geek of database and other … so I arrived at the limit of capacity to understanding

I love Duplicati because it is a very perfect tool…

A new installation need to me to adapt…I would like to work with this tools like as an service but it may be hard.
May be I must stay with a version on tray or learn to play with this version tray ?

What do you think of my reflexion ?

You just have to cd to the install folder and type Duplicati.CommandLine.ServerUtil change-password --server-datafolder "C:\Program Files\Duplicati 2\data" after starting the service. This will change the password as shown in the post that I just made.

You don’t need to be that much of a geek, but it’s nice to know there’s one and where it is.

The local database describes what it does. The Database screen will let you administer it, should something go wrong with it, you want to move it, etc. I predicted where you’ll see it, however if you want to check you can just go there and see if it has Duplicati-server.sqlite which technically is the server database, but by default the job databases go in that folder.

You certainly can do that, but it will have some limitations. Bypassing the password is one nice advantage. Clicking on the icon will open a browser tab without a password needed.

The icon also changes color, etc. to show what’s going on. It’s possible to add a tray icon onto a server, but it’s kind of complicated, and there’s also a browser open bug in 2.1.0.5.

Hello @ts678

I will keep the version and install with the installer MSI (so version tray)

I have un ticked the option “Empêcher la connexion automatique de l’icône de la barre de tâches” (french text…) for bypass the automatic connection without typing password only

I have restart all my backup but I have an error not in regard with this topic…
I will open new suject