Chris.Karst
(Christopher Karst)
April 13, 2020, 5:05pm
1
I an attempting to use an older Synology NAS for syncthing.
It is installed, updated, and configured with remote devices and shared folder.
All remote devices show the Synology at 0% of 650GiB.
Synology syncthing page is showing:
failed to setup inotify handler. Please increase inotify limits, see https://docs.syncthing.net/users/faq.html#inotify-limits
Not sure what i need to do.
Please don’t be the person that says “go to that link”
Link shows some commands to run from linux, but what can i do from whithin Synology?
You can enable SSH access in options. Then login via SSH and perform the commands (you can use ‘sudo’ to get root access, if your user is part of the admin group).
Disclaimer: I do not own a Synology device, this advice is from a friend who does own one.
Andy
(Andreas Kaelber)
April 13, 2020, 10:42pm
4
The commands shown have only a partial effect. A permanent solution you get with the task planner in the control panel.
There you deposit a “triggered task” with the string
sh -c '(sleep 120 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&'
on boot. That means, on every boot that command will implemented. The sleep time is estimated by me and can be adjusted.
Chris.Karst
(Christopher Karst)
April 14, 2020, 11:33pm
5
that seems to have taken care of the error, but it is still at 0% synced.
any idea if there are other tweaks i need?
Andy
(Andreas Kaelber)
April 15, 2020, 1:03am
6
Which SPK package you have installed? Doe you have assigned read and write permissions to a user group in the Synology DSM?
Then permissions Ignore must be activated in each peer under Advanced.
Chris.Karst
(Christopher Karst)
April 15, 2020, 2:10am
7
not sure about SPK, but version v1.4.2, Linux (ARM)
i think permissions are ok, it is moving some files, VERY SLOWLY, and sometimes it seems to stall, so i tell syncthing to restart. (for example the latest changed file name doesn’t change for hours)
i don’t know what the permissions ignore is.
Chris.Karst
(Christopher Karst)
April 15, 2020, 2:25am
8
permissions ignore says use for fat drives, mine is ext4.
is that what you mean?
do i need that?
Andy
(Andreas Kaelber)
April 15, 2020, 6:03am
9
Some explanation about that
Version 0.8.10 includes a new “Ignore Permissions” flag per repository. The primary use case is for filesystems that do not support permissions, such as FAT, or environments where changing permissions is impossible.
When the checkbox is checked for a given repo files originating from this node will be announced with the “no permission bits” flag. Other nodes will use whatever their default permission setting is when creating the file. Nodes running older versions than 0.8.10 will use the permis…
I found out, that with this activated option all the peers are running very good. Without, it seems in any time it hangs or out of sync etc.
For me this feature is more than for FAT filesystems. E.g. is also activated on each Android APP peer and its also no FAT.
Chris.Karst
(Christopher Karst)
April 15, 2020, 7:48pm
10
So check this on the NAS box (linux) but not needed on the windows systems?
system
(system)
Closed
May 15, 2020, 8:28pm
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.