Comments on How to Install Syncthing on Ubuntu 20.04

Syncthing is an open-source tool used for synchronizing files between two or more computers on a network using a peer-to-peer architecture. In this guide, we will show you how to install and set up Syncthing server on Ubuntu 20.04.

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: MArcelo Magalhaes

Ubuntu 22.04:

 

curl -s https://syncthing.net/release-key.txt |  sudo gpg --dearmour -o /usr/share/keyrings/syncthing.gpg

echo "deb [signed-by=/usr/share/keyrings/syncthing.gpg] https://apt.syncthing.net/ syncthing release" | sudo tee /etc/apt/sources.list.d/syncthing.list

By: Raymond Day

It's only on a server for me and I foolowed this and can not go to port 8384 It only a server just the command line.

This is just on my LAN not open to the iWWW.

Here is a copy and paste of what I get back.

root@rday:~# systemctl daemon-reload

root@rday:~# systemctl start syncthing@root

root@rday:~# systemctl status syncthing@root

? [email protected] - Syncthing - Open Source Continuous File Synchronization for root

     Loaded: loaded (/etc/systemd/system/[email protected]; disabled; vendor preset: enabled)

     Active: active (running) since Thu 2024-05-16 19:23:31 EDT; 9min ago

       Docs: man:syncthing(1)

   Main PID: 4947 (syncthing)

      Tasks: 18 (limit: 76761)

     Memory: 16.0M

        CPU: 2.667s

     CGroup: /system.slice/system-syncthing.slice/[email protected]

             ??4947 /usr/bin/syncthing serve --no-browser --no-restart --logflags=0

             ??4955 /usr/bin/syncthing serve --no-browser --no-restart --logflags=0

 

May 16 19:23:33 rday.me syncthing[4947]: [KABB2] INFO: Completed initial scan of sendreceive folder "Default Folder" (default)

May 16 19:23:33 rday.me syncthing[4947]: [KABB2] INFO: GUI and API listening on 127.0.0.1:8384

May 16 19:23:33 rday.me syncthing[4947]: [KABB2] INFO: Access the GUI via the following URL: http://127.0.0.1:8384/

May 16 19:23:33 rday.me syncthing[4947]: [KABB2] INFO: My name is "rday.me"

May 16 19:23:33 rday.me syncthing[4947]: [KABB2] WARNING: Syncthing should not run as a privileged or system user. Please consider using a normal user account.

May 16 19:23:52 rday.me syncthing[4947]: [KABB2] INFO: quic://0.0.0.0:22000 detected NAT type: Port restricted NAT

May 16 19:23:52 rday.me syncthing[4947]: [KABB2] INFO: quic://0.0.0.0:22000 resolved external address quic://172.58.148.236:4457 (via stun.syncthing.net:3478)

May 16 19:23:57 rday.me syncthing[4947]: [KABB2] INFO: Detected 1 NAT service

May 16 19:28:59 rday.me syncthing[4947]: [KABB2] INFO: Joined relay relay://209.209.8.112:22067

May 16 19:32:41 rday.me systemd[1]: [email protected]: Current command vanished from the unit file, execution of the command list won't be resumed.

root@rday:~# ss -antpl | grep 8384

LISTEN 0      4096                     127.0.0.1:8384       0.0.0.0:*    users:(("syncthing",pid=4955,fd=29))

 

root@rday:~#

What am I doing wrong?

Thank you.