[duplicacy-web] schedule doesn't run unless duplicacy is opened

I am on Windows 10 Education 1803 with personal license. I can see duplicacy running in the background, but scheduled tasks don’t run, especially after a reboot. Connecting to localhost without clicking on the duplicacy desktop icon brings a “cannot connect” page. Double clicking on the desktop icon opens up the page correctly and scheduled tasks run as expected afterwards. Perhaps scheduled tasks get tied up to the process that brings up the web page somehow?

Can you check the log file (default to ~/.duplicacy-web/logs/duplicacy_web.log) to see if there are log messages like Schedule <schedule_name> next run time: ... after starting up?

Hi @gchen,

Yes, I see them, but the last one is from yesterday evening, when I had opened it once. There are none today after yesterday’s shutdown, but there is a process in the task manager named “Duplicacy Cloud Backup”. Thanks for looking into this.

The “Duplicacy Cloud Backup” process is the old GUI. Is the web GUI running at this time? If so, can you post here the log messages since last restart?

It isn’t. I had uninstalled an old GUI version, but the service stayed behind somehow. What does the web GUI do to have itself started automatically? Do I have to rerun the installer?

You’ll need to remove the service from the Windows service manager. After you start the web GUI, when you click the system tray icon you’ll see the option to start itself on login in the popup menu.

Hi @gchen,

It works, thanks. For future reference if anyone needs it, run command window (cmd) as administrator, then issue

sc delete "Duplicacy Cloud Backup"

to delete the service.

On a related matter, the web UI (and my browser) opens automatically. Is there a way to have the process run at startup but not try to open the UI? Thanks.

2 Likes