Skip to content

Instantly share code, notes, and snippets.

@lukechilds
Last active October 6, 2020 13:12
Show Gist options
  • Save lukechilds/031e06f29b5a1bd7135da9c3fe30a21e to your computer and use it in GitHub Desktop.
Save lukechilds/031e06f29b5a1bd7135da9c3fe30a21e to your computer and use it in GitHub Desktop.
Fix OTA updates on custom Umbrel installs

Fix OTA updates on custom Umbrel installs

⚠️ Important: You only need to follow these instructions if you have a custom Umbrel install. If you're running Umbrel OS on a Raspberry Pi you can safely ignore this.

Custom Umbrel OS installs that started Umbrel with sudo scripts/start in an SSH sessions and then closed the SSH session encountered a bug where the OTA update script would not work due to missing file descriptors.

This has now been fixed (getumbrel/umbrel#269), however the update process for existing users involves manual steps.

# cd into the dir you installed Umbrel in
cd /path/to/your/custom/umbrel/install

# Manually update to latest Umbrel
sudo scripts/update/update --repo getumbrel/umbrel#v0.2.12

# Reboot system to make sure all background Umbrel services are stopped
sudo reboot

# cd into the dir you installed Umbrel in
cd /path/to/your/custom/umbrel/install

# Start Umbrel again
sudo scripts/start

After completeing the above steps, future OTA updates will work directly from the dashboard UI.

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