First of all, sorry for my bag english and i’m a newb for command line.
I need help to config my cache and crypt.
I succesfully configure rclone (1.47) on my NAS synology, link it to my gDrive (team drive) and my plex server hosted on the NAS. I can successfully read the files on my devices connected to my Plex account.
For the moment, my gDrive has only 3 files to avoid overloading queries. So I’m trying to install rclone cache and crypt. I followed the following tutorial:
rclone mount --allow-other --allow-non-empty gdrive: ~/mnt/gdrive &
I can see the gdrive files on my local network. But when i try this command to crypt:
rclone mount --allow-other --allow-non-empty gcrypt: ~/mnt/gdrive &
I received this error message:
admin@DISKSTATION:~$ rclone mount --allow-other --allow-non-empty gcrypt: ~/mnt/gdrive &
[3] 19925
admin@DISKSTATION:~$ 2019/05/01 05:45:49 ERROR : /var/services/homes/admin/.cache/rclone/cache-backend/gcache.db: Error opening storage cache. Is there another rclone running on the same remote? failed to open a cache connection to “/var/services/homes/admin/.cache/rclone/cache-backend/gcache.db”: timeout
2019/05/01 05:45:50 ERROR : /var/services/homes/admin/.cache/rclone/cache-backend/gcache.db: Error opening storage cache. Is there another rclone running on the same remote? failed to open a cache connection to “/var/services/homes/admin/.cache/rclone/cache-backend/gcache.db”: timeout
2019/05/01 05:45:50 Failed to create file system for “gcrypt:”: failed to make remote gcache:"/crypt" to wrap: failed to start cache db: failed to open a cache connection to “/var/services/homes/admin/.cache/rclone/cache-backend/gcache.db”: timeout
Yes, you can just use kill or kill 18679 and kill 31751
I do a very basic command as the defaults work well without changing much.
/usr/bin/rclone mount gcrypt: /GD --allow-other --dir-cache-time 96h --log-level INFO --log-file /opt/rclone/logs/rclone.log --timeout 1h
allow-other lets other users than the one that mounted it.
dir-cache-time uses a memory based cache to keep track of directory and file names. If anything changes, it will expire it and recheck. Longer the better.
logging just keeps a log file somewhere as I like keep a log.
timeout for 1 hour just helps for pausing in plex.
admin@DISKSTATION:~$ /usr/bin/rclone mount gcrypt: /GD --allow-other --dir-cache-time 96h --log-level INFO --log-file /opt/rclone/logs/rclone.log --timeout 1h
2019/05/01 17:56:46 Failed to open log file: open /opt/rclone/logs/rclone.log: no such file or directory
So I’m not as familiar with the layout of the disk on a diskstation.
It’s tell you that you don’t have a directory that is setup like I have, which is probably the case.
You can do something probably like /tmp/rclone.log or you can always remove the log-file from the command line. I like to keep a log file so I can see errors and such.
If you think Windows, it’s like I gave you a path to C:\WINNT or something and you are running on C:\Windows so it gives an error.