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

[Request] Allow web-based update at beginning of set-up flow #3936

Closed
4wrxb opened this issue Jan 10, 2021 · 3 comments
Closed

[Request] Allow web-based update at beginning of set-up flow #3936

4wrxb opened this issue Jan 10, 2021 · 3 comments
Labels
done Done but not yet released request Feature request
Milestone

Comments

@4wrxb
Copy link

4wrxb commented Jan 10, 2021

When setting up OctoPrint the wizard allows uploading a backup from an existing install. However, if the OctoPrint instillation is out of date (e.g. when using an OctoPi image) there is simply a "Backup is from a newer version of octoprint and cannot be applied" error from the console with no suggestion to resolve the issue.

The most user-friendly solution would be to provide an update function on this screen or at the beginning of he wizard, but even providing help steps similar to these instructions (although perhaps more general if there are other installs where this could happen) would be a big help in avoiding user confusion.

@github-actions github-actions bot added the request Feature request label Jan 10, 2021
@cp2004
Copy link
Member

cp2004 commented Jan 10, 2021

Personally I think this is a very good idea, and maybe even forced? I suppose it might struggle if it's not connected to the internet, but that can be handled. Force an initial setup screen that checks for updates (see similar to how Home Assistant OS operates) and apply it. Lots of consumer products get shipped with out of date software that needs updates out of the box, this isn't some radical idea!

This would have two benefits that I can see:

  • First being the part you mention about backups
  • Second is that on older OctoPi images, such as OctoPi 0.17 it would mean we wouldn't get stuck with so many people on older software (see https://data.octoprint.org). It just means that any new users are automatically on new versions out of the box.

Maybe not force, but strongly recommend with a small button to skip with a confirmation dialog. So if people really want to roll back, they can. Absolutely forcing things sometimes doesn't sit well with a vocal minority.

@foosel foosel added this to the 1.6.0 milestone Jan 25, 2021
@foosel foosel added the stream candidate Issues that are candidates for live streaming their fixing/implementation. label Mar 9, 2021
@foosel foosel modified the milestones: 1.6.0, 1.7.0 Mar 26, 2021
foosel added a commit that referenced this issue Jul 7, 2021
This will now be the very first step of the first run
wizard, IF OctoPrint is detected as outdated.

Implements #3936
@foosel foosel added done Done but not yet released and removed stream candidate Issues that are candidates for live streaming their fixing/implementation. labels Jul 7, 2021
@foosel
Copy link
Member

foosel commented Jul 7, 2021

This has been implemented and will be in OctoPrint starting with 1.7.0.

I have decided against a VERY aggressive push for now (mandatory wizard step) and instead implemented it as the first step (even before backup restore) of the wizard with a strong suggestion.

Considering that in the future we'll hopefully have auto-updated OctoPi images thanks to CustoPiZer and OctoPi-UpToDate it should be less urgent than it used to be.

@cp2004
Copy link
Member

cp2004 commented Oct 11, 2021

1.7.0 has been released 🎉

@cp2004 cp2004 closed this as completed Oct 11, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
done Done but not yet released request Feature request
Projects
None yet
Development

No branches or pull requests

3 participants