Hi
I mount the directory /home/archive to my gdrive and at the same time I want to transfer other directories (/home/0504) to my google drive (gcrypt:/archive/0504). I always get this message:
2020/05/06 19:14:30 ERROR : /root/.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 "/root/.cache/rclone/cache-backend/gcache.db": timeout
2020/05/06 19:14:30 Failed to create file system for "gcrypt:/archive/0504": failed to make remote gcache:"/crypt/ih8cjhftf26fc2m98gp703jcfo/cngr4qq0pcl4vthhcjf9sj8tm0/et1drjr91ia0sjn57o1uckcb3o" to wrap: failed to start cache db: failed to open a cache connection to "/root/.cache/rclone/cache-backend/gcache.db": timeout
how can I use the mount and the move at the same time
What is your rclone version (output from rclone version)
rclone v1.51.0
os/arch: linux/amd64
go version: go1.13.7
Which OS you are using and how many bits (eg Windows 7, 64 bit)
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
2020/05/06 19:14:30 ERROR : /root/.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 "/root/.cache/rclone/cache-backend/gcache.db": timeout
2020/05/06 19:14:30 Failed to create file system for "gcrypt:/archive/0504": failed to make remote gcache:"/crypt/ih8cjhftf26fc2m98gp703jcfo/cngr4qq0pcl4vthhcjf9sj8tm0/et1drjr91ia0sjn57o1uckcb3o" to wrap: failed to start cache db: failed to open a cache connection to "/root/.cache/rclone/cache-backend/gcache.db": timeout
You can't mount a cache remote and move to it at the same time - However, you can have another crypt that skips your cache for uploading directly.
eg, with this kind of config:
[gdrive]
type = drive
[gcache]
type = cache
remote = gdrive:
[crypt_mount]
type = crypt
remote = gcache:
password = x
password2 = y
[crypt_upload]
type = crypt
remote = gdrive:
password = x
password2 = y
(Note that mount points to the cache, and upload points directly to the gdrive)
You could then:
rclone mount crypt_mount:/archive /home/archive
rclone move /home/0504 crypt_upload:/archive/0504
The point here is that the 'database' can only be open by one process at a time. So if you've mounted your remote with that 'database' (cache database) then you cant use it with another command.
What you need to do is move to the crypt remote rather than trying to move to the cache backend (since that is already in use by the mount). So create an other 'crypt' pointng directly to crypt rather than cache.