Running but not functional when system boots

Recommended Posts

I'm running Resilio on a new Raspbian install. It works when I start it, but after a reboot it runs but doesn't seem to do anything.

When the system starts up, ps shows that Resilio is running with the following command:

/usr/bin/rslsync --config /etc/resilio-sync/config.json

However syncing doesn't work and the web GUI doesn't respond (and nc shows connections refused for web GUI). It sure looks like it should be running but nothing happens:

$ sudo systemctl status resilio-sync
● resilio-sync.service - Resilio Sync service
   Loaded: loaded (/lib/systemd/system/resilio-sync.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2021-05-22 00:36:31 BST; 1min 13s ago
  Process: 379 ExecStartPre=/bin/mkdir -p ${SYNC_RUN_DIR} ${SYNC_LIB_DIR} (code=exited, status=0/SUCCESS)
  Process: 384 ExecStartPre=/bin/chown -R ${SYNC_USER}:${SYNC_GROUP} ${SYNC_RUN_DIR} ${SYNC_LIB_DIR} (code=exited, status=0/SUCCESS)
  Process: 389 ExecStart=/usr/bin/rslsync --config ${SYNC_CONF_DIR}/config.json (code=exited, status=0/SUCCESS)
  Process: 403 ExecStartPost=/bin/sleep 1 (code=exited, status=0/SUCCESS)
 Main PID: 402 (rslsync)
    Tasks: 17 (limit: 725)
   CGroup: /system.slice/resilio-sync.service
           └─402 /usr/bin/rslsync --config /etc/resilio-sync/config.json

May 22 00:36:28 zeroone systemd[1]: Starting Resilio Sync service...
May 22 00:36:31 zeroone systemd[1]: Started Resilio Sync service.

If I restart Resilio with 

sudo systemctl restart resilio-sync

...then everything's fine. What's going on at startup, and how can I get it to start normally? Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.