Trying to set up Syncthing


Hello I’m new to linux and I was trying to setup syncthing on my pc but i’m getting this error

Well definitely not gonna figure it out from that output. Also any reason you are running it as root and not as your user by doing systemctl --user? As for getting logs, I think this command will serve you better journalctl --user -u syncthing.service -b --no-pager

1 Like

Maybe you already have a syncthing running? Check your process stack from a terminal:

ps axu | grep syncthing

Also, if one is running, you can visit http://127.0.0.1:8384/ , log in and set up shares and configure them.

I tried to run it without root bit still doest work. as for the command you gave me I got this result

I’ve already tried to connect to the web interface but I get an unable to connect page from firefox

How did you install syncthing? I just noticed in your original post that you tried to start it with syncthing@anas as the unit name.

I wrote sudo pacman -S syncthing isn’t it the main way to install apps on linux ?

Yeah, that is correct. However in your prompt you did sudo systemctl start syncthing@Anas.serivce. Which looked a bit weird to me.

  1. Normally I do systemctl --user enable --now syncthing.service
  2. Then open the browser and go to localhost:8384.

This shows that the systemd unit is not running.

In your last post, it appears syncthing is running, so I am assuming you are running it directly from the terminal or the process got stuck somehow.

Here is what I want you to do. Without using systemd to start syncthing. Open a terminal and just run it directly by typing syncthing. This should start syncthing as your user and automatically open it in your default browser.

Okay systemctl --user enable --now syncthing.service seem to have fixed my problem, thanks for the help.

1 Like

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