ZimaOS and Syncthing not syncing on hard drives

Hello. I’m trying to sync my music collection from my pc running Windows to my ZimaOS Nas setup. I can install Syncthing from the ZimaOS App Store. Syncthing does recognize and see each machine. I cannot get it to read the hard drives. It gives me a couple different errors time and time again.

Failed to create folder root directory mkdir /run/s6-rc:s6-rc-init:KAPbPf/servicedirs/svc-syncthing/root: permission denied

Error on folder mwqu4-wd45q: folder path missing

Now it will sync small files in the default configuration, which is the nvme drive and a /DATA/AppData/syncthing/config/Sync path. It also let me sync my music into that path until it was full.

It will not let me do anything with my desired path of /media/raid/NAS/Music.

I can get the latter path just fine in the Files app, Jellyfin or Navidrome. It seems to be a permission issue. Any help would be appreciated.

As a temporary solution, please try to synchronize a newly created folder in SyncThing. It may work.

I tried that. It did not work. Still with the

mkdir /run/s6-rc:s6-rc-init:mGhNdG/servicedirs/svc-syncthing/root: permission denied

error. It seems to be a permissions error, and I’m not smart enough to fix it by myself.

anyone find a fix for this ive been trying to get this to work for the past 3 days with no avail. please anyone help? @777-Spider

@markwilder
u can set puid and guid to 0, and then u can try again~
image

Hello,
I faced the similar problem with Syncthing running on ZimaOS. Here is the trick which worked for me.

First totally uninstall any Syncthing installation previously installed.
Delete “syncthing” folder inside “AppData” folder.
Go to App Store
find syncthing app and select custom install

SSH into terminal of ZimaOS
Find the PUID and PGID for your user by entering following two commands (one at a time)

id -u username
id -g username

These will give you the specific PUID and PGID for your user.

Then replace PUID and PGID on above setup with your user’s PUID and PGID then click save and wait for installation to complete.

Remember: When you are adding a folder never create syncthing destination folder path via Files browser in ZimaOS. Give the folder path to syncthing and let it create the folder by itself.

You will thank me later.

6 Likes

I had the same problem.

Now it works perfectly, thanks for the tip!

1 Like

thank you!! this work for me