sebbacon / home-automation

5 stars 0 forks source link

Disk filled up #10

Closed sebbacon closed 5 years ago

sebbacon commented 5 years ago
018-10-18 02:43:49.367 [ERROR] [me.storage.json.internal.JsonStorage] - Error writing JsonDB to /var/lib/openhab2/jsondb/org.eclipse.smarthome.config.discovery.DiscoveryResult.json. Cause No space left on device.

2018-10-18 02:43:52.346 [ERROR] [me.storage.json.internal.JsonStorage] - Error writing JsonDB to /var/lib/openhab2/jsondb/backup/1539827031730--org.eclipse.smarthome.config.discovery.DiscoveryResult.json. Cause No space left on device.
sebbacon commented 5 years ago

This appeared to break the entire configuration. It first happened on 11 October, and I fixed by restoring an old backup configuration.

It's not clear why it filled up, though as a guess I have changed /var/lib/openhab2/backups/ to be symlink to something on my external HD.

I should have some kind of alert on my system regarding low disk space, however.

sebbacon commented 5 years ago

As a quick fix, because I don't want to set up nagios, I'm running this script hourly (which is probably not frequent enough...)