-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rclone failed to create config file #67
Comments
That's not a bad solution, except I'm worried about those who have it in the old location getting a new docker-compose and not updating their .env and moving the file. I'd like a solution that keeps backwards compatibility, especially when it comes to backups, but not sure there is one without being excessively hacky. I did try to add a mount from ${PWD}/bitwarden/rclone.conf:/data/rclone/rclone.conf, however that fails to start when there is no rclone.conf in that location. In the meantime I'm going to update the bitwarden mount to not be writable. |
I took another look at this, and came up with the changes as you suggested @whyb0rn- Changes:
There are likely scenarios that I could imagine:
I'm happy with this solution, and will be pushing the changes. Thanks @whyb0rn. |
By default,
rclone.conf
file is located in the/data/rclone.conf
folder,data
folder inbackup
container is mounted as read-only, so rclone cannot create or modify the configuration file.Solution: change the path to
rclone.conf
and give the folder where the configuration file is located write permissions.Example: in
.env
change the lineBACKUP_RCLONE_CONF=/data/rclone.conf
toBACKUP_RCLONE_CONF=/data/rclone/rclone.conf
and indocker-compose.yml
add- ${PWD}/bitwarden/rclone:/data/rclone
tovolumes:
The text was updated successfully, but these errors were encountered: