What is the problem you are having with rclone?
The problem I'm facing is that I have used Onlime for a while (which works via the Jottacloud setup) and had no issues so far. Then, all of a sudden, my node started to lose connection to the mount on a daily basis. I now need to reconnect to my Onlime storage every day in order to be able to use it. I do not understand what's happening or how I would be able to fix this.
Run the command 'rclone version' and share the full output of the command.
rclone v1.67.0
- os/version: debian 12.7 (64 bit)
- os/kernel: 6.1.0-21-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.4
- go/linking: static
- go/tags: none
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
Yes
Which cloud storage system are you using? (eg Google Drive)
Onlime (Jottacloud)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount oshbc: /mnt/oshb --allow-other --gid 1000 --uid 1000 --umask 002 --dir-cache-time 1h --allow-non-empty --transfers 6 --vfs-cache-mode full --vfs-read-chunk-size 32M --vfs-read-chunk-size-limit 256M --vfs-cache-max-size 32G --vfs-fast-fingerprint --vfs-cache-max-age 1h --cache-dir /tmp/.oshb --cache-db-purge --tpslimit 12 --tpslimit-burst 0 --jottacloud-hard-delete
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
type = jottacloud
configVersion = 1
client_id = XXX
tokenURL = https://cloud-auth.onlime.dk/auth/realms/onlime_wl/protocol/openid-connect/token
token = XXX
device =
mountpoint =
[oshb]
type = alias
remote = onlime:SynologyHyperBackup
[oshbc]
type = crypt
remote = oshb:
filename_encryption = standard
directory_name_encryption = true
password = XXX
password2 = XXX
no_data_encryption = false
A log from the command that you were trying to run with the -vv
flag
2024/09/03 22:21:52 INFO : Starting transaction limiter: max 12 transactions/s with burst 1
2024/09/03 22:21:52 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "mount" "oshbc:" "/mnt/oshb" "--allow-other" "--gid" "1000" "--uid" "1000" "--umask" "002" "--dir-cache-time" "1h" "--allow-non-empty" "--transfers" "6" "--vfs-cache-mode" "full" "--vfs-read-chunk-size" "32M" "--vfs-read-chunk-size-limit" "256M" "--vfs-cache-max-size" "32G" "--vfs-fast-fingerprint" "--vfs-cache-max-age" "1h" "--cache-dir" "/tmp/.oshb" "--cache-db-purge" "--tpslimit" "12" "--tpslimit-burst" "0" "--jottacloud-hard-delete" "-vv"]
2024/09/03 22:21:52 DEBUG : Creating backend with remote "oshbc:"
2024/09/03 22:21:52 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/09/03 22:21:52 DEBUG : Creating backend with remote "oshb:"
2024/09/03 22:21:52 DEBUG : Creating backend with remote "onlime:SynologyHyperBackup"
2024/09/03 22:21:52 DEBUG : onlime: detected overridden config - adding "{jlU5h}" suffix to name
2024/09/03 22:21:52 DEBUG : onlime{jlU5h}: Loaded invalid token from config file - ignoring
2024/09/03 22:21:53 DEBUG : onlime{jlU5h}: got fatal oauth error: oauth2: "invalid_grant" "Session doesn't have required client"
2024/09/03 22:21:53 Failed to create file system for "oshbc:": failed to make remote "oshb:" to wrap: couldn't get customer info: Get "https://api.jottacloud.com/account/v1/customer": couldn't fetch token: invalid_grant: maybe token expired? - try refreshing with "rclone config reconnect onlime{jlU5h}:"