Postgres 18 support? #1529
-
Hello! Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I don't know if this will be relevant for you, but if you're starting your new Postgres 18 container when you start the Netbox container, it will initialize the DB and you will get errors like these: The fix for me was to create a new Postgres:18 container that wasn't associated to Netbox at all, then use psql to restore the backup. Then I was able to move the volume from this container to the existing compose that runs Netbox and then set the Postgres version to 18. Idk the Synology-isms for this but just running docker compose on Debian this worked for me. |
Beta Was this translation helpful? Give feedback.
I don't know if this will be relevant for you, but if you're starting your new Postgres 18 container when you start the Netbox container, it will initialize the DB and you will get errors like these:
ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ERROR: column "_location_id" referenced in foreign key constraint does not exist ERROR: column "_region_id" referenced in foreign key constraint does not exist ERROR: column "_site_group_id" referenced in foreign key constraint does not exist ERROR: column "_site_id" referenced in foreign key constraint does not exist ERROR: constraint "wireless_wirelesslan_group_id_d9e3d67f_fk_wireless_" for relation "wireless_wirelesslan" already e…