Hi - I’ve not used my brewblox rig in while, so I upgraded to what is shown as
2022-10-04T18:02:35.886Z
on the GUI, updated the firmware using USB and all was as it used to be, excellent. I had a backup from before and I wanted to do an backup after just to be sure, to be sure and I get the following issue:
INFO Waiting for the datastore...
INFO Connecting https://localhost:4430/history/datastore/ping, attempt 1/60
INFO Success!
INFO Exporting .env
INFO Exporting datastore
INFO Exporting docker-compose.yml
INFO Exporting Spark blocks from `spark-one`
500 Server Error: Internal Server Error for url: https://localhost:4430/spark-one/blocks/backup/save
The box was already fully up to date with APT, and I rebooted it, but the issue persists. Any thoughts appreciated!
In the log files for the spark, I see the following:
spark-one_1 | 2022-10-24T01:27:50.625809143Z 2022/10/24 14:27:50 INFO ...ox_devcon_spark.block_store <ServiceBlockStore> Read 15 blocks
spark-one_1 | 2022-10-24T01:27:50.679546937Z 2022/10/24 14:27:50 INFO ...evcon_spark.synchronization System uptime: 5s
spark-one_1 | 2022-10-24T01:27:50.679644413Z 2022/10/24 14:27:50 INFO ...evcon_spark.synchronization System updates per second: 68.033
spark-one_1 | 2022-10-24T01:27:50.810885661Z 2022/10/24 14:27:50 INFO ...evcon_spark.synchronization Service synchronized!
spark-one_1 | 2022-10-24T01:27:55.610881693Z 2022/10/24 14:27:55 INFO ..._devcon_spark.service_store <ServiceConfigStore> saved config: {'autoconnecting': True, 'retry_interval': 2}
spark-one_1 | 2022-10-24T01:27:55.635632419Z 2022/10/24 14:27:55 INFO ...ox_devcon_spark.block_store <ServiceBlockStore> Saved 15 block(s)
spark-one_1 | 2022-10-24T03:05:09.049256338Z 2022/10/24 16:05:09 INFO ...ox_devcon_spark.cbox_parser Spark log: LOG(I): Temp sensor connected: 287E285D0700006C
spark-one_1 | 2022-10-24T03:05:14.049556067Z 2022/10/24 16:05:14 INFO ...ox_devcon_spark.block_store <ServiceBlockStore> Saved 16 block(s)
spark-one_1 | 2022-10-24T03:08:27.832740405Z 2022/10/24 16:08:27 INFO ...ox_devcon_spark.block_store <ServiceBlockStore> Saved 16 block(s)
spark-one_1 | 2022-10-24T03:08:52.415576890Z 2022/10/24 16:08:52 INFO ...ox_devcon_spark.block_store <ServiceBlockStore> Saved 16 block(s)
spark-one_1 | 2022-10-24T03:10:43.746206271Z 2022/10/24 16:10:43 ERROR ...on_spark.api.error_response [http://docker.lan:4430/spark-one/blocks/backup/save] => ValidationError(1 validation error for FirmwareBlock
spark-one_1 | 2022-10-24T03:10:43.746360134Z data
spark-one_1 | 2022-10-24T03:10:43.746372850Z none is not an allowed value (type=type_error.none.not_allowed))
spark-one_1 | 2022-10-24T03:10:51.025467093Z 2022/10/24 16:10:51 ERROR ...on_spark.api.error_response [http://docker.lan:4430/spark-one/blocks/backup/save] => ValidationError(1 validation error for FirmwareBlock
spark-one_1 | 2022-10-24T03:10:51.025616963Z data
spark-one_1 | 2022-10-24T03:10:51.025629835Z none is not an allowed value (type=type_error.none.not_allowed))
spark-one_1 | 2022-10-24T03:10:51.465789111Z 2022/10/24 16:10:51 ERROR ...on_spark.api.error_response [http://docker.lan:4430/spark-one/blocks/backup/save] => ValidationError(1 validation error for FirmwareBlock
spark-one_1 | 2022-10-24T03:10:51.465869528Z data
spark-one_1 | 2022-10-24T03:10:51.465933680Z none is not an allowed value (type=type_error.none.not_allowed))
Elco
October 24, 2022, 6:35am
3
@Bob_Steers this is a known bug right? I think we have seen it before.
The fix is now live on edge. After updating, backups should work as normal again.
and indeed they do. Many thanks Bob