Skip to content

auto-update feature request #3269

Closed
Closed

Description

@MorphyDK

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 "

Activity

  1. added this to the Soon milestone on Jun 18, 2019
  2. ncw commented on Jun 18, 2019

    @ncw
    Member

    Great idea! I'd like to emulate restic self-update which seems to work really well.

  3. MorphyDK commented on Jun 18, 2019

    @MorphyDK
    Author

    Cool thanks Nick :)

  4. gary-kim commented on Jun 18, 2019

    @gary-kim
    Contributor

    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?

  5. ncw commented on Jun 19, 2019

    @ncw
    Member

    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.

  6. gary-kim commented on Jun 29, 2019

    @gary-kim
    Contributor

    Unfortunately, I don't think I have time to work on this anymore. If anyone else could contribute this, that'd be great.

  7. ivandeex commented on Nov 16, 2020

    @ivandeex
    Member

    There is a nice package https://github.com/jpillora/overseer for creating monitorable, gracefully restarting, self-upgrading binaries in Go:

    • Works with systemd, upstart, supervisor, etc
    • Graceful, zero-downtime restarts
    • Easy self-upgrading binaries
  8. changed the title [-]Auto update feature request.[/-] [+]rclone self-update command[/+] on Feb 14, 2021
  9. self-assigned this
    on Feb 19, 2021
  10. modified the milestones: Soon, v1.56 on Feb 19, 2021
  11. ivandeex commented on Feb 19, 2021

    @ivandeex
    Member

    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.

  12. changed the title [-]rclone self-update command[/-] [+]auto-update feature request[/+] on Feb 19, 2021
  13. modified the milestones: v1.56, Soon on Feb 19, 2021
  14. removed their assignment
    on Feb 19, 2021
  15. roucc commented on Dec 1, 2025

    @roucc
    Member

    There is rclone selfupdate now but we are not planning to have an auto upate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions