-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I have read the troubleshooting guide
Rclone Pre-flight Checklist (if applicable)
- This issue is NOT related to rclone (skip if not using rclone)
- I have tested
rclone listremotesandrclone lsd remote:on the host and they work - I have verified the rclone config is mounted into the container
- I have restarted the container after config changes
Bug Description
When using rclone token rotation seems to not be properly applied, causing the underlying repository remote to become "disconnected".
Steps to Reproduce
- Create a
rcloneremote that performs frequent token refreshes (I am currently using Jottacloud) - Create one repository, a couple volumes and 3/4 backup schedules (I am able to reproduce the issue consistently when they overlap, I have it happen even when not overlapping if you operate the interface while a backup is being performed)
- Run two operations at the same time
Expected Behavior
I understand rclone is a bit finicky when it comes with token refreshes. This is technically an rclone issue, but they are clear this behavior is intended. I think there should be a solution to avoid this behavior. It could be allowing separate rclone configs or locking the remote/repository operations to avoid concurrent ones. I would expect the token refresh to be performed correctly.
Zerobyte version / commit
v0.32.1
Deployment Method
Docker
Backup/Repository Context
As mentioned the storage backend is Jottacloud with a single repository having multiple jobs
Logs / Error Messages
Not really helpful but the resulting state is:
Failed to create file system for "remotename:/": 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 remotename:" {"message_type":"exit_error","code":1,"message":"Fatal: unable to open repository at rclone:remotename:/: error talking HTTP to rclone: exit status 1"}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working