Duplicacy Web does not install service

Hey all,
I’ve just tried to upgrade my Duplicacy instance from 1.7.2 to 1.8.3 on a Windows machine. The setup of 1.8.3 did not remove the windows service for 1.7.2, so I went back to the 1.7.2 file and invoked the -uninstall-service argument to remove it. So far so good, but even after reinstalling the 1.8.3 version (with the ‘install Windows service’ option enabled) there’s no Windows service afterwards. There’s no error, and also running the 1.8.3 file with -install-service does neither output anything nor create the windows service.

What can I do to create a Windows service again for 1.8.3?

Best regards,
Pharao2k

Are you doing this with elevated credentials?

Yes, with elevated permissions. Though the problem only seems to happen with version 1.8.3. If I install 1.7.2 again then everything works.

Additionally, I’m unable to launch 1.8.3 even manually, while 1.7.2 works. I’m running this on Windows Server 2008 R2. Is 1.8.3 incompatible with this Windows version? If so, then this is not being listed in the release notes.

You are probably right. Windows server 2008 is ancient history. I’m pretty sure gchen updated golang to the version that does not support it:

As announced in the Go 1.20 release notes, Go 1.21 requires at least Windows 10 or Windows Server 2016; support for previous versions has been discontinued.

The version pre-1.8.2 (paired with the corresponding pre-go-1.21 CLI version; you would need to explicitly select the version in duplicacy.json) shall still work.

Ah yes, that explains it. Thanks!

Can confirm, encounted this a few weeks ago with SBS 2011 (Win 2008 R2) - don’t ask! Had to roll back to v1.8.1. Dunno if v1.8.2 is affects as well.

I can’t complain, it really should be retired but it’s not my system (though at least protected with 0patch and heavily isolated).