Open bluet opened 3 years ago
Setting host fs.inotify.max_user_watches
did not fix the problem.
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Sorry, after some testing, this seems to be belong to the docker container.
Everything works after few minor fixes. This one works https://hub.docker.com/r/bluet/jottacloud
FYI scaninterval=0
still has some issues:
I see the same issue on newly build docker, too...
root@jotta:/src# tail /var/lib/jottad/jottabackup.log
pid:340 2021/05/22 02:13:07 GET https://repo.jotta.us/archives/VERSION 200
pid:340 2021/05/22 02:13:07 jottad.init.loadedbackup /backup/homes => homes
pid:340 2021/05/22 02:13:09 unable to verify root of backup[/backup/homes] => [/backup/homes] is already added to backup
pid:340 2021/05/22 02:15:00 cfg.update.maxdownloads 2 => 4
pid:340 2021/05/22 02:15:00 UNABLE TO FIND WATCH FOR /backup/homes/@eaDir/SYNO@.fileindexdb/write.lock "/backup/homes/@eaDir/SYNO@.fileindexdb/write.lock": REMOVE
pid:340 2021/05/22 02:15:00 UNABLE TO FIND WATCH FOR /backup/homes/@eaDir/SYNO@.fileindexdb/write.lock "/backup/homes/@eaDir/SYNO@.fileindexdb/write.lock": CREATE
pid:340 2021/05/22 02:15:00 UNABLE TO FIND WATCH FOR /backup/homes/@eaDir/SYNO@.fileindexdb/write.lock "/backup/homes/@eaDir/SYNO@.fileindexdb/write.lock": REMOVE
pid:340 2021/05/22 02:15:00 UNABLE TO FIND WATCH FOR /backup/homes/@eaDir/SYNO@.fileindexdb/term/write.lock "/backup/homes/@eaDir/SYNO@.fileindexdb/term/write.lock": REMOVE
pid:340 2021/05/22 02:15:00 UNABLE TO FIND WATCH FOR /backup/homes/@eaDir/SYNO@.fileindexdb/term/write.lock "/backup/homes/@eaDir/SYNO@.fileindexdb/term/write.lock": CREATE
pid:340 2021/05/22 02:15:00 UNABLE TO FIND WATCH FOR /backup/homes/@eaDir/SYNO@.fileindexdb/term/write.lock "/backup/homes/@eaDir/SYNO@.fileindexdb/term/write.lock": REMOVE
Hi bluet, thanks for the report. We'll investigate and get it sorted. For now maybe just use regular scan intervals (if you aren't already).
@coopersimon Ok. Do you need more info from me to help on your investigations?
I've changed back to scaninterval=1h
, every scan took more than an hour and my disks are making noise all the time lol
Make sure you are running the latest version of jotta-cli before reporting an issue.
jotta-cli release (
jotta-cli version
): 0.10.44059Description of problem: When it set to 0 (as mentioned in Document), it shows
UNABLE TO FIND WATCH FOR /path/to/something
and stopped backup.(When scaninterval set to a time, everything works fine.)
Expected: Monitors files changes and backup files automatically.
jotta-cli status (
jotta-cli status
):Relevant logs for the issue (
~/.jottad/jottabackup.log or /var/lib/jotta/jottabackup.log
)Traceback
Additional info:
I'm using docker container from https://hub.docker.com/r/mxml/jottadocker, host inotify setting: