Synology - Duplicati service won't autostart

#1

Every time I shut down NAS (Synology) I have to manually start Duplicati service. Can I make it automatic start?

0 Likes

How to install Duplicati on Synology / DSM
#2

Hi @netkodrugi, welcome to the forum!

I don’t have a Synology box myself but the only reports I recall about it not auto-starting seem related to DSM updates.

However, they may be related to what you’re seeing - does your experience sound like what @drwtsn32 reported?

Oh - and did you do the install on your own or follow a guide (like How to install Duplicati on Synology / DSM)?

0 Likes

#3

I have both issues. After a NAS reboot (which is rare for me), Duplicati just doesn’t automatically start (but no duplicati process is shown in ‘ps ax’). Maybe the root cause is the same - some flaw in the Synology package design for Duplicati?

I believe it used to start automatically on NAS reboot. Maybe a major DSM update led to both issues.

I plan on uninstalling 2.0.3.3 from my NAS and installing the next beta when it comes out to see if either issue is resolved.

0 Likes

#4

I’m curious if you and @netkodrugi are using the similar versions of DSM.

I’ve added a link to this topic in the #howto post just to keep them “related” until we find a solution.

0 Likes

#5

I’m running the latest… DSM 6.2.1 update 1.

0 Likes

#6

It’s DSM 6.2.1-23824 Update 1. Is it possible to configure it manually?

0 Likes

#8

Again, I’ve never used a Synology device before (not for lack of trying!) so am just trying to be a facilitator here but do any of these help?

Once we (well, users like you) crack this I’ll be sure to update the #howto item. :slight_smile:

0 Likes

#9

I’ve added a task via Control Panel > Task Scheduler with event = “Boot up” and the user script: /sbin/initctl start pkgctl-Duplicati.

The package center still shows “Duplicati” as not started, but the web interface is running on port 8200. If you get the dreaded “Disk space full at /tmp/…”, un-comment the first line and run them together as one line.

The task scheduled creates the file /etc/init/pkgctl-Duplicati.conf with the details of the job.

0 Likes

#10

The service didn’t start right at boot for me for whatever reason. Maybe for the same reason it doesn’t start on it’s own. I’m assuming it has something to do with starting the mono “service” first, but no idea. I changed my command to the following which worked for me:

sleep 60; /sbin/initctl start pkgctl-Duplicati

0 Likes

How to install Duplicati on Synology / DSM