Skip to content
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 version #81

Closed
marklockwood-techie opened this issue Sep 6, 2022 · 6 comments
Closed

rclone version #81

marklockwood-techie opened this issue Sep 6, 2022 · 6 comments
Labels
bug Something isn't working type: backup

Comments

@marklockwood-techie
Copy link

marklockwood-techie commented Sep 6, 2022

When configuring rclone on a headless device to use Google Drive, the auth method fails when approving the API. Google has deprecated the auth method in the packed version of rclone.

Tested manually using rclone 1.59.1 and can create a headless config on ARM6 Pi Zero

rclone config version in the docker run command shows rclone version 1.57.0-DEV

Possible issue is the ARM6 call for rclone in the Docker file;
for linux/arm/v7 platform
FROM rclone/rclone:1.59.1 AS image-linux-armv7
for linux/arm/v6 platform
FROM alpine:3.15 AS image-linux-armv6

@ttionya
Copy link
Owner

ttionya commented Sep 7, 2022

This is too bad, because alpine:3.16 is missing p7zip in arm/v6, so I replaced it with another build.

But the rclone in alpine:3.15 is only 1.57.0, so that caused the problem.

I will try to change the build method so that arm/v6 is also using the latest version of rclone.

@ttionya ttionya added bug Something isn't working type: backup labels Sep 7, 2022
ttionya added a commit that referenced this issue Sep 7, 2022
upgrade rclone to latest in arm/v6 (#81)
@ttionya
Copy link
Owner

ttionya commented Sep 7, 2022

@marklockwood-techie ,

Hello, I fixed this issue in 1.14.3-beta.0, please help to make sure it works properly.

@marklockwood-techie
Copy link
Author

marklockwood-techie commented Sep 7, 2022

Thank you for your quick response. It's really appreciated.
Running the config now allows for the process to complete, however it does not seem to save the rclone,conf file

$ docker run --rm -it --mount type=volume,source=vaultwarden-rclone-data,target=/config/ ttionya/vaultwarden-backup:1.14.3-beta.0 rclone config

...
Name Type
==== ====
BitwardenBackup drive

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q

$ docker run --rm -it --mount type=volume,source=vaultwarden-rclone-data,target=/config/ ttionya/vaultwarden-backup:1.14.3-beta.0 rclone config show

2022/09/07 06:05:23 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
; empty config

@ttionya
Copy link
Owner

ttionya commented Sep 7, 2022

@marklockwood-techie It was my mistake, I released the fixed version v1.14.3-beta.1.

@marklockwood-techie
Copy link
Author

An easy typo to make.

v1.14.3-beta.1 has allowed me to send my backups to Google Drive using the automatic backup. All is working correctly as far as I can see.

Thanks for your prompt responses.

@ttionya
Copy link
Owner

ttionya commented Sep 8, 2022

Released stable version v1.14.3.

@ttionya ttionya closed this as completed Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working type: backup
Projects
None yet
Development

No branches or pull requests

2 participants