What is the problem you are having with rclone?
trying to understand why curl https://rclone.org/install.sh | sudo bash
seems to work when at the same time there is a rclone mount
running and streaming media?
i assume that rclone cannot update itself if it is running a rclone mount.
i looked at the install.sh and as i understand it, line 152 should fail.
mv /usr/bin/rclone.new /usr/bin/rclone
based on this output, it appears that rclone is updated..
in addition, not understand why sometimes rclone selfupdate
works and sometimes fails.
- upgrading rclone version fails to work, as expected
- downgrading rclone version seems to work
not a linux expert and perhaps i am missing something simple....
What is your rclone version (output from rclone version
)
rclone v1.56.0
- os/version: ubuntu 21.04 (64 bit)
- os/kernel: 5.11.0-1016-raspi (aarch64)
- os/type: linux
- os/arch: arm64
- go/version: go1.16.5
- go/linking: static
- go/tags: none
and
rclone v1.55.0
- os/type: linux
- os/arch: arm64
- go/version: go1.16.2
- go/linking: static
- go/tags: cmount
Which OS you are using and how many bits (eg Windows 7, 64 bit)
raspberry pi 4
Linux ubuntu 5.11.0-1016-raspi #17-Ubuntu SMP PREEMPT Thu Jul 29 15:33:06 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Which cloud storage system are you using? (eg Google Drive)
none
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
curl https://rclone.org/install.sh | sudo bash
and
rclone selfupdate
The rclone config contents with secrets removed.
should not matter in this case. will post is requested.
A log from the command with the -vv
flag
no log, please see text below
rclone version
rclone v1.55.0
- os/type: linux
- os/arch: arm64
- go/version: go1.16.2
- go/linking: static
- go/tags: cmount
curl https://rclone.org/install.sh | sudo bash
...
rclone v1.56.0 has successfully installed.
rclone version
rclone v1.56.0
- os/version: ubuntu 21.04 (64 bit)
- os/kernel: 5.11.0-1016-raspi (aarch64)
- os/type: linux
- os/arch: arm64
- go/version: go1.16.5
- go/linking: static
- go/tags: none
ubuntu@ubuntu:~$ rclone version
rclone v1.55.0
- os/type: linux
- os/arch: arm64
- go/version: go1.16.2
- go/linking: static
- go/tags: cmount
ubuntu@ubuntu:~$ sudo rclone selfupdate -vv
NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
DEBUG : rclone: Version "v1.55.0" starting with parameters ["rclone" "selfupdate" "-vv"]
Error: updating would discard the mount FUSE capability, aborting
not understanding how this downgrade seems to work, as it should error out?
ubuntu@ubuntu:~$ rclone version
rclone v1.56.0
- os/version: ubuntu 21.04 (64 bit)
- os/kernel: 5.11.0-1016-raspi (aarch64)
- os/type: linux
- os/arch: arm64
- go/version: go1.16.5
- go/linking: static
- go/tags: none
ubuntu@ubuntu:~$ sudo rclone selfupdate --version=1.55.0 -vv
DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "selfupdate" "--version=1.55.0" "-vv"]
DEBUG : downloaded release archive with hashsum dd2eb9c46d44cf9f19ebc8f66878d1d83d57577e2db6385e16df68a28557cd89 from https://downloads.rclone.org/v1.55.0/rclone-v1.55.0-linux-arm64.zip
DEBUG : downloaded hashsum list: https://downloads.rclone.org/v1.55.0/SHA256SUMS
DEBUG : extracted rclone-v1.55.0-linux-arm64/rclone to /usr/bin/rclone.pive.new
Successfully updated rclone from version v1.56.0 to version v1.55.0
DEBUG : rclone: Version "v1.56.0" finishing with parameters ["rclone" "selfupdate" "--version=1.55.0" "-vv"]
ubuntu@ubuntu:~$ rclone version
rclone v1.55.0
- os/type: linux
- os/arch: arm64
- go/version: go1.16.2
- go/linking: static
- go/tags: cmount