# Issues with rclone after system update

**URL:** <https://forum.rclone.org/t/issues-with-rclone-after-system-update/35594>\
**Category:** Help and Support\
**Created:** [January 20, 2023, 3:15pm UTC](https://forum.rclone.org/t/issues-with-rclone-after-system-update/35594 "2023-01-20T15:15:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vapealot](https://forum.rclone.org/user_avatar/forum.rclone.org/vapealot/32/14087_2.png) [@vapealot](https://forum.rclone.org/u/vapealot)\
**Post date:** [January 20, 2023, 3:15pm UTC](https://forum.rclone.org/t/issues-with-rclone-after-system-update/35594/1 "2023-01-20T15:15:02Z")

</div>

#### What is the problem you are having with rclone?

Unable to access/read files after system update (ubuntu impish to 22.10)

#### Run the command 'rclone version' and share the full output of the command.

ldr@lui-server:/$ rclone version  
rclone v1.53.3-DEV

- os/arch: linux/amd64
- go version: go1.18

#### Which cloud storage system are you using?

Google Drive

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

rclone mount:

rclone.service

```auto
[Unit]
Description=Mount and cache Google drive to /mnt/plexclouddrive
After=syslog.target local-fs.target network.target
[Service]
Type=simple
User=rclone
ExecStartPre=/bin/mkdir -p /mnt/plexclouddrive
ExecStartPre=/bin/mkdir -p /var/log/rclone
ExecStartPre=/bin/mkdir -p /mnt/rclonecache
ExecStart=/usr/bin/rclone mount \
  --rc \
  --log-file /var/log/rclone/rclone.log \
  --log-level DEBUG \
  --umask 000 \
  --allow-non-empty \
  --allow-other \
  --tpslimit 10 \
  --tpslimit-burst 10 \
  --dir-cache-time=160h \
  --buffer-size=64M \
  --attr-timeout=1s \
  --vfs-read-chunk-size=2M \
  --vfs-read-chunk-size-limit=2G \
  --vfs-cache-max-age=6h \
  --vfs-cache-max-size 50G \
  --vfs-cache-mode=full \
  --vfs-cache-poll-interval 5m \
  --cache-dir /mnt/rclonecache \
  --config /home/rclone/rclone.conf \
  Gcrypt: /mnt/plexclouddrive
ExecStop=/bin/fusermount -u -z /mnt/plexclouddrive
ExecStop=/bin/rmdir /mnt/plexclouddrive
Restart=always
[Install]
WantedBy=multi-user.target

```

mounting seems to run fine and the directory becomes available, I can list files. rclone ls also shows everything just fine. But when trying to access the files i get errors like:

```auto
2023/01/20 15:55:01 ERROR : worker-0 <phkv5ese53oedliijnot5sjstkofp4rn8qiu9946l5gr7tm0239ggqutu8rq9u7usccs95pe63u5q6k67vdqqm1tkmehha58fakho6g>: object open failed 0: rate: Wait(n=1) would exceed context deadline

```

#### The rclone config contents with secrets removed.

```auto
[Gdrive]
type = drive
client_id = 23551381106-o0286psjqsquo73botnj31a3vaqgu0u6.apps.googleusercontent.com
client_secret = QepCeBAQiGXFPfSZGrTSHkx9
scope = drive
token = {"access_token":"ya29.a0AX9GBdUWEf7gyl8RlcoDW6JGgDDuWch8TQshM_aFIp1H-Pv00_SNFdYS2juFXYRYdvPIHG8iSYP2tHQJQrJJnHvwo-rBn5eZt1VnKeyFEg61e2FKREca5jF-Fk-a2N4I33VfHOuwmfhNbBaLLncEee3zUqK5CY0ZdQaCgYKAZMSAQASFQHUCsbC1kkD0RPErUgg_NwOMVcGYw0169","token_type":"Bearer","refresh_token":"1//09u4F-fFu6a0YCgYIARAAGAkSNwF-L9Irz1HCkjLcLCwATt6csFWSsUchwuaNLFpXjBUDs5uBv56rk_m86gnbPvmoYhHwNJKKUhI","expiry":"2023-01-20T16:02:12.416932334+01:00"}
root_folder_id = 0ANCNmh8fHm_jUk9PVA

[Gcrypt]
type = crypt
remote = Gcache:/crypt
filename_encryption = standard
directory_name_encryption = true
password = removed
password2 = removed

[Gupload]
type = crypt
remote = Gdrive:/gdrive/crypt
filename_encryption = standard
directory_name_encryption = true
password = removed
password2 = removed

[Gcache]
type = cache
remote = Gdrive:/gdrive
plex_url = http://localhost:32400
plex_username = removed
plex_password = removed
chunk_size = 10M
info_age = 1d
chunk_total_size = 10G
plex_token = UMLZyQQUeieb5a-kKLdk

```

#### A log from the command with the `-vv` flag

Debug log (start, try to open file)

[https://drive.google.com/file/d/1u7QYpWrQlAdmt8iHVpkLenFNft7dhxNw/view?usp=share\_link](https://drive.google.com/file/d/1u7QYpWrQlAdmt8iHVpkLenFNft7dhxNw/view?usp=share_link)

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [January 20, 2023, 3:26pm UTC](https://forum.rclone.org/t/issues-with-rclone-after-system-update/35594/2 "2023-01-20T15:26:02Z")

</div>

hello and welcome to the forum,

that version of rclone is very old, can get the latest stable at  
[https://rclone.org/downloads/#script-download-and-install](https://rclone.org/downloads/#script-download-and-install)

also, for `Gcache`, the cache backend has been deprecated, not needed for plex  
from the docs,  
"it currently doesn't have a maintainer so there are [outstanding bugs](https://github.com/rclone/rclone/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3A%22Remote%3A+Cache%22) which aren't getting fixed."

with a minor change to the config file, should be easy to remove it.

---

<div class="post-metadata">

**Author:** ![vapealot](https://forum.rclone.org/user_avatar/forum.rclone.org/vapealot/32/14087_2.png) [@vapealot](https://forum.rclone.org/u/vapealot)\
**Post date:** [January 20, 2023, 6:07pm UTC](https://forum.rclone.org/t/issues-with-rclone-after-system-update/35594/3 "2023-01-20T18:07:10Z")

</div>

Thanks asdffdsa!

Just updated to latest, and this seems to have fixed it, I am however as you also state, getting a warning about the Cache:

2023/01/20 18:40:05 NOTICE: WARNING: Cache backend is deprecated and may be removed in future. Please use VFS instead.

Since I already have vfs-cache settings in my mount, I assume I should simply point the Gcrypt directly to the Gdrive? I will play around with that.

For now thanks, and sorry, should have tried this before posting!

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [January 20, 2023, 6:23pm UTC](https://forum.rclone.org/t/issues-with-rclone-after-system-update/35594/4 "2023-01-20T18:23:38Z")

</div>

> [@vapealot](#):
>
> I assume I should simply point the Gcrypt directly to the Gdrive?

that is correct, something like this, you need to verify  
`remote = Gcache:/crypt`  
to  
`remote = Gdrive:gdrive/crypt`

and this is a systemd service file, for gdrive and plex.  
[https://github.com/animosity22/homescripts/blob/master/systemd/rclone-drive.service](https://github.com/animosity22/homescripts/blob/master/systemd/rclone-drive.service)

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [January 23, 2023, 6:24pm UTC](https://forum.rclone.org/t/issues-with-rclone-after-system-update/35594/5 "2023-01-23T18:24:35Z")

</div>

Closed on January 23, 2023, 6:24pm UTC

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