SD card failure
SolarAssistant stores its data on the device's SD card and writes to it continuously. A card can become corrupted or wear out, which stops the device from working. This page explains how to recognize it, replace the card and prevent it from happening again.
On an Orange Pi 3 LTS that runs from its onboard storage, see Orange Pi 3 LTS onboard storage failure instead.
Recognizing the symptom
A corrupted SD card is likely if you see any of the following:
- The device does not boot, or shows no green activity light.
- The device answers on the network but the web interface does not load.
- A file system or mount error when it boots.
- The device stopped working after a power cut.
The two common causes are power being cut while the device is running, and cheap or worn-out SD cards. This is a storage problem, not a SolarAssistant software fault.
Replacing the card
A corrupted card can't be repaired reliably, so replace it:
- Flash SolarAssistant onto a new SD card by following the prepare device guide. See supported hardware for the card size. Don't reuse the damaged card.
- Put the new card in the same device. It activates again without a new license, and keeps your site address and user access.
- Set up the network again, using the WiFi or ETH cable setup guide.
- If you have a backup, import it by following the backup guide. A backup holds your history only, so set up settings such as automations again.
Recovering history from the damaged card
Recovery is not guaranteed. Your monitoring history is stored in the InfluxDB database folder on the card. If you are a technical user with a Linux computer, put the damaged card in it and copy this folder from the card's rootfs partition:
rootfs/var/lib/influxdb
Then copy the whole folder to the same place on the new card, replacing the folder that is there. The partition uses the Linux ext4 file system, so Windows and Mac computers can't open it without extra software.
Preventing it
- Protect the device from power cuts. Use a UPS, or a DC supply that runs the device from your battery. See our power supply guide.
- Shut down before removing power. Don't pull the power while the device is running. Shut it down first: go to Configuration > Configure local access, scroll down to the Maintenance section and click Shutdown, then wait for the activity light to stop.
- Use a quality card. Use a branded card such as Samsung EVO or SanDisk. Cheap or no-name cards commonly corrupt over time.
- Back up regularly. There is no automatic backup, so make manual backups with the backup guide.
Shutting down the device
Open the Configuration tab and click Configure local access at the top of the page.

Scroll to the Maintenance section at the bottom of the page and click Shutdown. Wait for the activity light to stop before you remove power.
