Serial console reveals it’s still on 02_03_07 and the data log is now corrupt:
8/22/18 23:30:21z dataLog: service started.
Datalog inconsistent: size:
filesize:347590912
1528189680(0)-
A short while after, more serial output:
1528408640(43792)
1534979300(1357761)-1534979375(1357776)
91725(91714)-91725(91714)
1528408730(43810)-
HTTP seems unresponsive so I cannot use the deletelog
commands. Disk Utility on the SD card said:
size of /IOTAWATT/IOTALOG.LOG is 347590912, should at most be 347590656
Same error message so I manually deleted IOTALOG.LOG
and IOTALOG.NDX
. That got it going again and now it’s attempting the update again.
I feel like this is at least the 3rd time an update has resulted in SD card corruption. The previous times this happened I erased the SD card. Looks like I might have to do that again as this is the last message from the serial console:
8/22/18 23:39:32z Updater: Release downloaded 84493ms, size 599096
5 minutes later still solid green LED, no HTTP, ping still works. Powercycled and got a “Datalog inconsistent” error again. This time fsck says HISTLOG got corrupted. I’m going to now format the SD card (with a full erase for good measure), restore 02_03_07
files, my config.txt
, and try again.
Some time later I have managed to create a 2 GB FAT16 partition on the SD card. I thought I had an 8 GB FAT32 partition before but this was giving an mkdir failed: /IotaWatt
error.
ALPHA update from 02_03_07 to 02_03_13 failed again:
8/23/18 00:32:45z Updater: Release downloaded 78841ms, size 599608
8/23/18 00:32:54z Updater: Signature does not verify.
Switched it to MINOR and restarted:
8/23/18 00:34:46z Updater: Release downloaded 77780ms, size 599096
8/23/18 00:34:54z Update file format error.
Switched back to ALPHA and download failed again:
8/23/18 00:39:15z Updater: Update from 02_03_07 to 02_03_13
8/23/18 00:39:15z Updater: download 02_03_13
8/23/18 00:39:17z influxDB: started.
Max samples exceeded.
Max samples exceeded.
Max samples exceeded.
Max samples exceeded.
Max samples exceeded.
Max samples exceeded.
8/23/18 00:40:35z Updater: Release downloaded 80310ms, size 598072
8/23/18 00:40:44z Update file format error.
Downloads have always been this slow. Tried again a couple of times with no success so I broke out esptool and flashed the firmware and replaced the SD card contents with the 02_03_13
files. It’s all up and running again. I guess we’ll see what happens next time there’s an update.