My Chirpstack instance decided to auto upgrade yesterday and now all my gateways are offline.
This is most likely due to version 4.6 change of the chirpstack gateway bridge, however when i add the “v4_migrate=true” to the config file it still doesn’t work.
I’m uncertain if i added it right in the config file.
# MQTT configuration.
[regions.gateway.backend.mqtt]
v4_migrate=true
# Topic prefix.
#
# The topic prefix can be used to define the region of the gateway.
# Note, there is no need to add a trailing '/' to the prefix. The trailing
# '/' is automatically added to the prefix if it is configured.
topic_prefix="eu868"
To migrate the device session keys from redis to postgres.
I’m not familiar with using the v4_migrate though so unfortunately I can’t help if that is the issue, although it looks like it should be placed in your servers regional .toml file and not the main file. Is that where you put it?
By auto update i meant that some sysadmin did an “apt upgrade”.
I’m on 4.7 but i was on 4.4 before the auto update.
All my gateways use chirpstack gateway bridge 3.14.x and all gateways are offline so this must be the issue?
I’ve added the line in the regional section.
Huh strange, if they are in postgres you should see them UI. Did you check that all the keys are missing (or atleast enough to confirm this is the issue). You could also do some manual PSQL to check the database yourself and see if the keys have been moved. Listing the tables would be enough as a new table should be created for the session keys after the command is executed.
Last shot from me, did you configure the MQTT topic prefixes in the gateway bridge? I also don’t understand why any of this would have been a problem if you simply upgraded from 4.4 to 4.7, and in the original post you say you tried adding v4_migrate=true but didn’t you need the v4_migrate=true even for 4.4 if you are using 3.10.x gateway bridges?