Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Syncthing refuses to start (Read 1143 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Syncthing refuses to start

I'm still a newcomer so if I fail to to properly convey myself in the context of this forum.  In other words I invite you to critique my way of doing/stating things so I may learn from it.

Now to the real issues.  Just as the title says I cannot get runit to start the syncthing daemon like all the other services found in
Code: [Select]
/etc/runit/runsvdir/current/
   [edit: syncthing-runit is indeed installed] I made sure to check it wasn't running by executing
Code: [Select]
$ ps -e | grep syncthing
.  Yet the terminal output was empty.

Next I tried manually starting it with 
Code: [Select]
# sv up /run/runit/service/syncthing
  I tried it 2 or 3 times, each time checking with
Code: [Select]
$ ps -e | grep syncthing
as well as opening it GUI in Brave via localhost:8384.

Any ideas or suggestions would be appreciated.  If I'm omitting some important info somewhere, please do not hesitate to tell me.  I fully intend to adhere to the forum standards once I've become familiar with them.  Sadly, I either missed or there simply is no "Rules/Guidelines" subforum.  For one, am I overdoing it with the code blocks??

Edit 1:  Give context
Edit 2: misstype of syncthing
Edit 3:  move  "sv up" inside of the code block

 

Re: Syncthing refuses to start

Reply #1
Hello. I had a similar issue and I read the runit script.

https://forum.artixlinux.org/index.php/topic,1618.msg11094.html#msg11094

You have to check the file /etc/conf.d/syncthing

Code: [Select]
# User and group as which to run
#SYNCTHING_USER="syncthing"
#SYNCTHING_GROUP="syncthing"

So you have to create a user called "syncthing" within the group "synthing" or you have to edit the file with your user and group.

Best regards.
Artix Linux Colombia