Invalid Length error in gateway menu after backup/restore..

Viewed 16

Hi,

today i managed to backup and restore my chirpstack docker environment.

After testing i saw an error, which i can not identify - i dont know even, if this does impact anything by the way.

Tenant -> Gateways -> Overview page

Error message: "Error invalid length: expected length 32 for simple format, found 0"

Any ideas?
thx

2 Answers

Various columns are stored in the database in a specific (binary) format in the database and are on read from the database decoded. It looks like during the restore one (or more) of these columns or one (or more) of these records were not restored properly.

@Brocaar -> thx for your information

okay -> i had missed the SAVE in Backup process.

Maybe some want to know how to backup docker compose chirpstack enviroment:

docker compose exec -t postgres pg_dumpall -c -U postgres > db.sql

docker compose exec -t redis redis-cli SAVE

cp /var/lib/docker/volumes/chirpstack-docker_redisdata/_data/dump.rdb ./redis.db

tar -cvf backup.tar chirpstack-docker