Mount does not work

What is the problem you are having with rclone?

Hello, I have a problem with the config.

$ rclone mount gcrypt: ~/mnt/gdrive --allow-other --cache-db-pur                                                      ge --buffer-size 32M --use-mmap --dir-cache-time 72h --drive-chunk-size 16M --ti                                                      meout 1h  --vfs-cache-mode full --vfs-read-chunk-size 128M --vfs-read-chunk-size                                                      -limit 1G &
[1] 182985
medi@v8:~$ 2021/01/24 15:00:57 Failed to load config file "/home/medi/.co                                                      nfig/rclone/rclone.conf": open /home/medi/.config/rclone/rclone.conf: permission                                                       denied

It began with the fact that I installed python and Django, which, as I understood it as a www-data user, ruined the config.
Tried this method but something went wrong. I was able to edit the config but could not mount the folder. Not from www-data, and medi (main user plex and rclone)

e-mmap --dir-cache-time 72h --drive-chunk-size 16M --timeout 1h  --vfs-cache-mode full --vfs-read-chunk-size 128M --vfs-read-chunk-s                       ize-limit 1G &
[1] 181676
www-data@v8:~/.config/rclone$ 2021/01/24 14:49:57 Fatal error: Can not open: home/medi/mnt/gdrive: open home/medi/mnt/gdrive:                        no such file or directory
www-data@v8:~/.config/rclone$ rclone mount gcrypt: home/medi/mnt --allow-other --cache-db-purge --buffer-size 32M --use-mmap --dir-cache-time 72h --drive-chunk-size 16M --timeout 1h  --vfs-cache-mode full --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G &
[2] 181807
[1]   Exit 1                  rclone mount gcrypt: home/medi/mnt/gdrive --allow-other --cache-db-purge --buffer-size 32M --use-mmap --dir-cache-time 72h --drive-chunk-size 16M --timeout 1h --vfs-cache-mode full --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G
www-data@v8:~/.config/rclone$ 2021/01/24 14:50:53 Fatal error: Can not open: home/medi/mnt: open home/medi/mnt: no such file or directory

[2]+  Exit 1                  rclone mount gcrypt: home/medi/mnt --allow-other --cache-db-purge --buffer-size 32M --use-mmap --dir-cache-time 72h --drive-chunk-size 16M --timeout 1h --vfs-cache-mode full --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G

What is your rclone version (output from rclone version)

Which OS you are using and how many bits

Ubuntu 20.4

Which cloud storage system are you using?

Google Drive

The command you were trying to run

rclone mount gcrypt: ~/mnt/gdrive --allow-other --cache-db-purge --buffer-size 32M --use-mmap --dir-cache-time 72h --drive-chunk-size 16M --timeout 1h  --vfs-cache-mode full --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit 1G &

The rclone config contents with secrets removed.

[GD]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = access_token:XXX
team_drive = 
root_folder_id = XXX

[gcrypt]
type = crypt
remote = GD:serv/fms
filename_encryption = standard
directory_name_encryption = true
password =XXX
password2 = XXX

[gcache]
type = cache
remote = GD:serv/fms
plex_username = viba
plex_password = D-gC5IAzpZYp
chunk_size = 10M
info_age = 1d
chunk_total_size = 10G
plex_url = 127.0.0.1:32400

hi,
you need to redact the ID and passwords....

what version of rclone?

the cache remote has been deprecated,
https://rclone.org/cache/#status


can't edit anything. Www-data user doesn't allow)
How to get them to make friends together?

not a linux expert but whatever username is running rclone, needs permissions to access the rclone config file.

also, if possible, copy and paste the text from the terminal, not hard to read screenshots.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.