Syncthing on OpenMediaVault 5 using Raspberry Pi 4 – 2021

In this segment, we are going to show you “How to Install Syncthing on OpenMediaVault 5 using Raspberry Pi 4 | 2021

What is Syncthing?

Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real-time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it’s transmitted over the internet.

Syncthing
Source // Click Here

Credits

Full credit goes to the Linux server.

OpenMediaVault Versions :

OpenMediaVault 5 Installation Guide :

https://pcmac.biz/openmediavault-5-on-raspberry-pi/

Software Required :

Equipment Required Optional
Raspberry Pi Raspberry Pi 4 Case
SD_Card SD Card
Raspberry Pi Keyboard
Ethernet Ethernet Cable Mouse
Charger Power Adapter    
HDD External HDD    
Shop now

We may earn a commission for purchases using our links. Learn more.

Docker Compose

---
version: "2.1"
services:
  syncthing:
    image: ghcr.io/linuxserver/syncthing
    container_name: syncthing
    hostname: syncthing #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - /path/to/appdata/config:/config
      - /path/to/data1:/data1
      - /path/to/data2:/data2
    ports:
      - 8384:8384
      - 22000:22000/tcp
      - 22000:22000/udp
      - 21027:21027/udp
    sysctls:
      - net.core.rmem_max=2097152
    restart: unless-stopped

Docker CLI

docker run -d \
  --name=syncthing \
  --hostname=syncthing `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -p 8384:8384 \
  -p 22000:22000/tcp \
  -p 22000:22000/udp \
  -p 21027:21027/udp \
  -v /path/to/appdata/config:/config \
  -v /path/to/data1:/data1 \
  -v /path/to/data2:/data2 \
  --restart unless-stopped \
  ghcr.io/linuxserver/syncthing

How to find PUID & PGID

  • However, to find PUID and PGID we can use the below-given command.
id name of the user
UID : "PUID"
GID : "PGID"

Plex

Syncthing Container Configuration

  • First, we need to navigate to Containers and then click on Add container.
  • Secondly, fill the details as mentioned below in the picture, Choose a name for your container and image name as linuxserver/Syncthing
  • Always pull the image option must be checked, if the image is not already downloaded.

  • In the volume section, we need to configure the path for config, data1, and data2 folders then bind these folders to our desired path.

  • After that we need to configure Environment Variables as mentioned below in the picture.

  • In this section we need to select unless stopped.

Access Syncthing Web Interface

  • To access the Syncthing web interface we need to type the OpenMediaVault IP Address:8384
  • After that follow the video instructions to configure sync between two or more devices.

In conclusion

  • Above all steps will convert your Raspberry Pi 4 as Syncthing on OpenMediaVault 5 with the help of Docker.
  • If you face any issue regarding this article please share your thoughts.
  • Enjoy using Syncthing on Docker using Openmediavault. Smile (.”_”.)

Please check out my other articles:

Did you find us helpful?

Subscribe to our YouTube Channel YouTube
Support us on Patreon Patreon
Like us on Facebook facebook
Share This Article with others

Harish Kumar

As a founder of the PcMac YouTube channel and website, Our goal is to provide Free Technical help to people and spread knowledge to everyone.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments