nl-portal / nl-portal-docker-compose

1 stars 0 forks source link

Openzaak import is no longer working and fails on SQL errors #9

Closed nielserkamp-ritense closed 3 weeks ago

nielserkamp-ritense commented 1 month ago

When starting the docker container the import of openzaak entries fails due to changes in the database.

ERROR:  column "_admin_name" of relation "catalogi_catalogus" does not exist at character 35
2024-10-18 15:42:25 2024-10-18 13:42:25.575 UTC [171] STATEMENT:  INSERT INTO catalogi_catalogus (
2024-10-18 15:42:25             _admin_name
2024-10-18 15:42:25             ,uuid
2024-10-18 15:42:25             ,domein
2024-10-18 15:42:25             ,rsin
2024-10-18 15:42:25             ,contactpersoon_beheer_naam
2024-10-18 15:42:25             ,contactpersoon_beheer_telefoonnummer
2024-10-18 15:42:05 Open Zaak is not running yet
anna-ritense commented 1 month ago

Cause:
openzaak image was upgraded to 1.12.4 but the accompanying imports sql dumps were not.

Workaround:

Resolution:
SQL Dumps need to be updated to be compatible with newer openzaak database layout.