Fresh install won't start. What am I doing wrong?

apt install syncthing-relaysrv syncthing-discosrv
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  syncthing-discosrv syncthing-relaysrv
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 8,978 kB of archives.
After this operation, 25.0 MB of additional disk space will be used.
Get:1 https://apt.syncthing.net syncthing/stable amd64 syncthing-discosrv amd64 1.2.2 [4,432 kB]
Get:2 https://apt.syncthing.net syncthing/stable amd64 syncthing-relaysrv amd64 1.3.0 [4,546 kB]
Fetched 8,978 kB in 2s (4,418 kB/s)           
Selecting previously unselected package syncthing-discosrv.
(Reading database ... 112157 files and directories currently installed.)
Preparing to unpack .../syncthing-discosrv_1.2.2_amd64.deb ...
Unpacking syncthing-discosrv (1.2.2) ...
Selecting previously unselected package syncthing-relaysrv.
Preparing to unpack .../syncthing-relaysrv_1.3.0_amd64.deb ...
Unpacking syncthing-relaysrv (1.3.0) ...
Setting up syncthing-discosrv (1.2.2) ...
Created symlink /etc/systemd/system/syncthing-discosrv.service β†’ /lib/systemd/system/stdiscosrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/stdiscosrv.service β†’ /lib/systemd/system/stdiscosrv.service.
Setting up syncthing-relaysrv (1.3.0) ...
Created symlink /etc/systemd/system/syncthing-relaysrv.service β†’ /lib/systemd/system/strelaysrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/strelaysrv.service β†’ /lib/systemd/system/strelaysrv.service.
Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
Rules updated for profile 'mosh'
Skipped reloading firewall
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

Oct 23 04:23:28 syncthing-relay-01 systemd[1]: Started Syncthing Discovery Server.
Oct 23 04:23:28 syncthing-relay-01 systemd[10591]: stdiscosrv.service: Failed to determine user credentials: No such process
Oct 23 04:23:28 syncthing-relay-01 systemd[10591]: stdiscosrv.service: Failed at step USER spawning /usr/bin/stdiscosrv: No such process
Oct 23 04:23:28 syncthing-relay-01 systemd[1]: stdiscosrv.service: Main process exited, code=exited, status=217/USER
Oct 23 04:23:28 syncthing-relay-01 systemd[1]: stdiscosrv.service: Failed with result 'exit-code'.

Oct 23 04:24:29 syncthing-relay-01 systemd[1]: Started Syncthing Relay Server.
Oct 23 04:24:29 syncthing-relay-01 systemd[10652]: strelaysrv.service: Failed to determine user credentials: No such process
Oct 23 04:24:29 syncthing-relay-01 systemd[10652]: strelaysrv.service: Failed at step USER spawning /usr/bin/strelaysrv: No such process
Oct 23 04:24:29 syncthing-relay-01 systemd[1]: strelaysrv.service: Main process exited, code=exited, status=217/USER
Oct 23 04:24:29 syncthing-relay-01 systemd[1]: strelaysrv.service: Failed with result 'exit-code'.

Ha. After a apt purge and apt install, it seems on install, it was supposed to create the syncthing-(relay|disco)srv users. On upgrade, this doesn’t happen for some reason.

All fixed and running now.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.