How do I get Syncthing working?

5 Antworten [Letzter Beitrag]
calher

I am a member!

Offline
Beigetreten: 06/19/2015

sudo apt install syncthing

caleb@bender:~$ syncthing --version
syncthing unknown-dev "Erbium Earthworm" (go1.13.5 linux-amd64) unknown@unknown 1970-01-01 00:00:00 UTC

Following an article[1], Syncthing fails with error in screenshot[2].

Trisquel Menu > Internet > Start Syncthing
Abrowser: Firefox can’t establish a connection to the server at 127.0.0.1:8384.

[1]: https://computingforgeeks.com/how-to-install-and-use-syncthing-on-ubuntu/
[2]: https://lutim.9nu.org/6vzpjfzA/BwIT1TWY.png

AnhangGröße
syncthing-status.png85.83 KB
eric23
Offline
Beigetreten: 06/30/2017

Do you have a firewall running? My guess is it prevent the port 8384 from opening.

calher

I am a member!

Offline
Beigetreten: 06/19/2015

I don't know. Does Trisquel come firewalled by default? I haven't set up a firewall myself.

eric23
Offline
Beigetreten: 06/30/2017

I installed syncthing for testing it on my nabia and etiona computers and it installed fine. But you installed the version from syncthing.net? You might have to enable the service manually using the command systemctl enable syncthing@$USER.

eric23
Offline
Beigetreten: 06/30/2017

> No, I installed Syncthing from the Trisquel repos.

Well, I installed it and ran the command syncthing from the command line and it worked. Not sure what else could be the problem then. I did not see what was in the 9nu.org link.

calher

I am a member!

Offline
Beigetreten: 06/19/2015

I figured it out. My config from backup was newer than the Syncthing version in Trisquel. Deleting ¬/.config/syncthing/ fixed the issue and allowed Syncthing to start. I'll just have to set up my folders again.