docker compose: "rclone configuration information not found"
Barnoux opened this issue · comments
Hello,
I followed the documentation to configure the rclone conf with the command:
docker run --rm -it \
--mount type=volume,source=vaultwarden-rclone-data,target=/config/ \
ttionya/vaultwarden-backup:latest \
rclone config show
In the docker volume : vaultwarden-rclone-data, we have the conf file who was correctly set.
But when i used docker compose. the remote name is the configuration file is BitwardenBackup.
With the service bellow, i have the error "rclone configuration information not found"
[TRUNCATED]
backup:
image: ttionya/vaultwarden-backup:latest
user: 'backuptool:backuptool'
volumes:
- vaultwarden-data:/bitwarden/data
- vaultwarden-rclone-data:/config
volumes:
vaultwarden-data:
name: vaultwarden-data
vaultwarden-rclone-data:
external: true
name: vaultwarden-rclone-data
[TRUNCATED]
Did i miss something ?
Regards,
BBA
You created the rclone configuration file using the default root
user, but in docker-compose you use the low privilege user backuptool
, which does not have access to the rclone configuration file owned by root
.
There are two solutions:
- do not specify user in docker-compose
- use the
backuptool
user to create the rclone configuration file
I didn't correctly read the documentation... The backup is working now !
But the changement of the right in /bitwarden/data broke the vaultwarden instance (i use user 1000:1000).
I have to dig a litlle more to see what cause that.
Thank you,
BBA
No changes are made to vaultwarden's data folder during backup, the backup tool only needs read access.
I think a played too much with rights on the files of vaultwarden. With a full redeployement of the stack, it is working nicely.