TheSpaghettiDetective / moonraker-obico

GNU Affero General Public License v3.0
154 stars 42 forks source link

Upgrade process could use some love... #70

Closed jamincollins closed 1 year ago

jamincollins commented 1 year ago

When upgrading, the install script detects that a printer has already been linked and suggests only continuing if one needs to re-link. However, the only way to exit (not continue) makes it seem like something went wrong. Perhaps when a printer is already linked, ask the user if they would like to continue (re-link) and cleanly exit if they elect not to.

!!!WARNING: Moonraker-obico already linked!
Proceed only if you want to re-link your printer to the Obico server.
For more information, visit:
https://obico.io/docs/user-guides/relink-klipper

To abort, simply press 'Enter'.

Enter verification code (or leave it empty to abort): 

   ____
  / __ \
 | |  | | ___   ___   ___   ___  _ __  ___
 | |  | |/ _ \ / _ \ / _ \ / _ \| '_ \/ __|
 | |__| | (_) | (_) | (_) | (_) | |_) \__ \  _   _   _
  \____/ \___/ \___/ \___/ \___/| .__/|___/ (_) (_) (_)
                                | |
                                |_|

The process to link to your Obico Server account didn't finish.
kennethjiang commented 1 year ago

Good point!