umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

Upgrade to 0.5.4 fails

Open handelaar2 opened this issue 3 years ago • 3 comments

Cannot upgrade from 0.5.3 to 0.5.4 (raspberry PI4b) Running: sudo ./umbrel/scripts/update/update --repo getumbrel/umbrel#v0.5.4 (also pressing install on web-gui fails) image

handelaar2 avatar Jun 27 '23 07:06 handelaar2

The update --repo behaviour is not really intended to be used by end users, it's an internal development tool.

You can trigger a real (non-development) update to 0.5.4 from the CLI by doing this:

cd ~/umbrel && echo '{"state": "success", "progress": 100, "description": "Successfully installed Umbrel v0.5.3", "updateTo": "v0.5.4"}' | sudo tee statuses/update-status.json && sudo scripts/update/update --ota

This will trigger an update that behaves the same way as if it was requested from the UI.

Side note for anyone else that ends up here: It's only safe to run this command if you're already on 0.5.3, triggering this command from the CLI updates directly to 0.5.4 without additional checks that updating from the UI performs. These checks ensure that you're on a version that can jump directly to 0.5.4 without intermediate updates and migrations.

lukechilds avatar Jun 27 '23 07:06 lukechilds

Thanks @lukechilds That worked! it remains strange however why the web-gui install button did not work for me In any case, thanks for your very fast response!!

handelaar2 avatar Jun 27 '23 07:06 handelaar2

Glad you're sorted!

We're aware of the UI updates occasionally failing issue. We're currently migrating the background jobs to a new architecture to resolve this.

lukechilds avatar Jun 27 '23 08:06 lukechilds