You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add an auto update function to rclone?
When running rclone config , add an option if rclone should auto update when a release is available.
Autoupdate should only work if no bigger changes are made, save the old version under /usr/bin/rclone_old.v1.xx etc :slight_smile: ?
Once a bigger update is made to rclone - lets say you make a rclone release that requires a reconfiguration of your rclone.conf file - the rclone should prompt on connection via ssh like "Rclone update available, reconfigurations required for this update bla bla "
Reacted by Jari Pennanen, AzureRaptor and Ivan Andreev
Can I implement something similar to restic's self-update? @ncw
Also, how would interacting with the OS's package manager work? A lot of people on Debian or Debian based systems, for example, probably installed rclone using the .deb package, so would this cause the package manager to lose track of the installed rclone version?
Can I implement something similar to restic's self-update? @ncw
That would be great!
Also, how would interacting with the OS's package manager work? A lot of people on Debian or Debian based systems, for example, probably installed rclone using the .deb package, so would this cause the package manager to lose track of the installed rclone version?
A good question. I think if rclone was installed via install.sh then the update should do similar, whereas if it was installed from a .deb then the update should install the .deb.
I particularly like the GPG verification in restic self-update.
Sorry all. I was wrong when I renamed this. I can see now that this ticket actually requests automatic update feature. Reverting the name. Sorry for noise.
Activity
ncw commentedon Jun 18, 2019
Great idea! I'd like to emulate
restic self-updatewhich seems to work really well.MorphyDK commentedon Jun 18, 2019
Cool thanks Nick :)
gary-kim commentedon Jun 18, 2019
Can I implement something similar to restic's
self-update? @ncwAlso, how would interacting with the OS's package manager work? A lot of people on Debian or Debian based systems, for example, probably installed rclone using the
.debpackage, so would this cause the package manager to lose track of the installed rclone version?ncw commentedon Jun 19, 2019
That would be great!
A good question. I think if rclone was installed via
install.shthen the update should do similar, whereas if it was installed from a .deb then the update should install the .deb.I particularly like the GPG verification in
restic self-update.gary-kim commentedon Jun 29, 2019
Unfortunately, I don't think I have time to work on this anymore. If anyone else could contribute this, that'd be great.
ivandeex commentedon Nov 16, 2020
A bit of research comes up with
ivandeex commentedon Nov 16, 2020
There is a nice package https://github.com/jpillora/overseer for creating monitorable, gracefully restarting, self-upgrading binaries in Go:
[-]Auto update feature request.[/-][+]rclone self-update command[/+]ivandeex commentedon Feb 19, 2021
Sorry all. I was wrong when I renamed this. I can see now that this ticket actually requests automatic update feature. Reverting the name. Sorry for noise.
[-]rclone self-update command[/-][+]auto-update feature request[/+]roucc commentedon Dec 1, 2025
There is
rclone selfupdatenow but we are not planning to have an auto upate.