backup not working for new files when backup frequency is set to automatic. But works after restart or using manual rescan button. at least file /opt/SpiderOak/lib/inotify_dir_watcher should be set as executable but it not realy helps. Error log ~/.SpiderOak/spider_20130120020022.log: 2013-01-20 02:00:52,564 ERROR fs_notify Error starting notifier: /opt/SpiderOak/lib/inotify_dir_watcher: Permission denied Reproducible: Always Steps to Reproduce: 1. run SpiderOak 2. set backup frequency to automatic 2. update or add new file to backup folder Actual Results: nothing happens, file is not uploaded. Expected Results: new files should be immediately backed up.
After: # chmod +x /opt/SpiderOak/lib/inotify_dir_watcher it works, but I had to increase value max_user_watches # echo 262144 > /proc/sys/fs/inotify/max_user_watches can be set it permanently in file: /etc/sysctl.d/30-spideroak.conf before changing max_user_watches I get following error: ~/.Spideroak/fs_notify__dir_watcher_ignore/error.txt inotify_add_watch /home/user/dir 28 No space left on device https://spideroak.com/forum/threads/id/643/?page=1#snap_post3848
(In reply to comment #1) > After: > # chmod +x /opt/SpiderOak/lib/inotify_dir_watcher > > it works, but I had to increase value max_user_watches > # echo 262144 > /proc/sys/fs/inotify/max_user_watches > can be set it permanently in file: /etc/sysctl.d/30-spideroak.conf > > before changing max_user_watches I get following error: > ~/.Spideroak/fs_notify__dir_watcher_ignore/error.txt > inotify_add_watch /home/user/dir 28 No space left on device > > https://spideroak.com/forum/threads/id/643/?page=1#snap_post3848 Thanks for spotting this for us. Both look reasonable. However, I will not run sysctl from an ebuild after dropping in 30-spideroak.conf. I will put in an ewarn that the user should do it. Comments before I make the magic happen?
> Comments before I make the magic happen? I'm not sure about the change in max_user_watches, I think that it's only needed when there are large number of folders in backup. Maybe default (65536) would be OK for most people.
Okay this is fixed with spideroak-bin-4.8.3-r1. I'm going to skip the issue with sysctl on max_user_watches since this is documented in their forums. Please test and reopen if its still a problem. Thanks for the report!