Update the Stratux software

To update Stratux, flash the latest image to its microSD card. Download it from the Download page, unzip it, and write the .img file with balenaEtcher. It takes about ten minutes, and you'll need a computer with a microSD card reader. Flashing replaces your settings with defaults, so back up stratux.conf first.

MicroSD card in a clear case beside a card reader on a laptop on a kitchen table
Flash the image from a laptop with a card reader, then put the card back in the unit.

What you need

  • The latest image from the Download page
  • balenaEtcher (free, for Mac, Windows and Linux)
  • A microSD card reader, and tweezers or fine pliers to remove the card

Steps

  1. Download and unzip. Download the .zip and unzip it to get the .img file. Unzip first, then flash the .img.
  2. Remove the microSD card. Power off Stratux, then pull the card out with tweezers. (It goes back in with the gold contacts facing down.)
  3. Flash it. Open balenaEtcher, choose the .img file, choose the microSD card, and click Flash.
  4. Reinstall and boot. Put the card back in and power on. The first boot takes a few minutes. You should end with a solid green light.
  5. Let the GPS get a fix. A new image doesn't reset the GPS receiver. Give it time outside, often several minutes, with a clear view of the sky. See GPS troubleshooting.

If the card won't flash or won't boot

Flashing failures in our old support emails (2017–2019) came down to a handful of causes:

  • The adapter is locked. The full-size SD adapter has a small slide switch on its side. In the LOCK position the computer can read the card but can't write to it. Slide it away from LOCK and reinsert.
  • The reader or adapter is bad. If the computer reports card errors, try another adapter, another USB card reader or another computer.
  • Windows blocks the write. On a work or locked-down PC, run balenaEtcher as administrator, or use a home computer.
  • The image is still zipped, or the download broke. Unzip once and flash the .img. If Etcher's verify step fails, download it again.
  • There's a label on the card. A sticker can make the card too thick to seat in the Pi's slot. Keep the card bare.
  • No computer can see the card at all. The card has failed. Use a new, good-quality microSD card.

Keeping your settings

Your settings live in a file called stratux.conf. Flashing a new image replaces it with defaults. If you've changed settings and want to keep them, back up stratux.conf before you flash and restore it afterward. If you're not sure how, ask us on Discord.

Major vs. minor updates

  • Major versions (for example 1.x → 2.0) change the underlying system and must be flashed.
  • Minor versions within the same major version have supported over-the-air updates on some releases. v2.0 removed the old self-update scripts. Check the release notes. Flashing the card always works.

Only download Stratux from the Download page or GitHub releases. Skip old forum links, since they often point to images that are years out of date.

Frequently asked questions

How do I update Stratux software?

Download the latest image from the Download page, unzip it, and flash the .img file to the Stratux microSD card with balenaEtcher. It takes about ten minutes. The first boot takes a few minutes and should end with a solid green light.

Does updating Stratux erase my settings?

Flashing a new image replaces stratux.conf with defaults. To keep your settings, back up stratux.conf before you flash and restore it afterward.

Do I have to flash the card for every Stratux update?

Major versions (for example 1.x to 2.0) must be flashed. Some minor releases supported over-the-air updates, but v2.0 removed the old self-update scripts, so check the release notes. Flashing the card always works.

Video walkthrough

Prefer video? Here's Updating Stratux software on the microSD card.