After updating rclone. is unmount and mount needed?

after running:

curl https://rclone.org/install.sh | sudo bash

Is it needed to unmount and mount volum to have newest version?

Yes, you have to exit the mount and remount it.

hi,

i agree, need to exit the mount to update

as i am working on my linux skills, i did some quick testing.
i have a running rclone mount, and i am streamint a media file from it.

would you mind taking a look?

  • the first two tests, seems to have worked.
  • only the third test failed, as expected?

test 1.

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

test 2.

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
2021/08/25 09:51:10 DEBUG : rclone: Version "v1.56.0" starting with parameters ["rclone" "selfupdate" "--version=1.55.0" "-vv"]
2021/08/25 09:51:23 DEBUG : downloaded release archive with hashsum dd2eb9c46d44cf9f19ebc8f66878d1d83d57577e2db6385e16df68a28557cd89 from https://downloads.rclone.org/v1.55.0/rclone-v1.55.0-linux-arm64.zip
2021/08/25 09:51:24 DEBUG : downloaded hashsum list: https://downloads.rclone.org/v1.55.0/SHA256SUMS
2021/08/25 09:51:25 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
2021/08/25 09:51:25 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

test 3.

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
2021/08/25 09:52:47 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2021/08/25 09:52:47 DEBUG : rclone: Version "v1.55.0" starting with parameters ["rclone" "selfupdate" "-vv"]
2021/08/25 09:52:47 Error: updating would discard the mount FUSE capability, aborting

I don't use self update and not familiar with the code behind it so I wouldn't know offhand.

If you have a running binary file in Linux, you need to exit it and re-run it if you update the binary as it's running from memory so you can replace it majority of the time in place.

sure, same on windows and i would imagine most any operating system.

with example 1, the mount is running, and rclone seems to update rclone?
what am i missing?

I don't use self update nor am I am familiar with the self update code.

the first example uses curl https://rclone.org/install.sh | sudo bash and it claims that it updated rclone even though there is a running rclone mount?

Right? What's the problem there?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.