Open maeh86 opened 3 years ago
Hello together,
with the upgrade from powerdns 4.1 to 4.2, there are two schema-updates for the mysql-database (https://github.com/PowerDNS/pdns/blob/master/modules/gmysqlbackend/4.1.0_to_4.2.0_schema.mysql.sql).
The drop of the column "change_date" leads to several PHP-Errors in the records.php-File:
AH01071: Got error 'PHP message: Slim Application Error:\nType: PDOException\nCode: 42S22\nMessage: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'change_date' in 'field list'\nFile: /var/www/pdnsmanager2/backend/operations/Records.php\nLine: 180\nTrace: #0 /var/www/pdnsmanager2/backend/operations/Records.php(180): [...]
I bypassed this errors by manually inserting this column again, but I think, pdnsmanager should be edited to get along with the acutal schema of powerdns 👍
thanks and best regards, Markus
I had the same issue. Ended up adding change_data column back just like you did, but I agree that this should be updated in pdnsmanager.
Hello together,
with the upgrade from powerdns 4.1 to 4.2, there are two schema-updates for the mysql-database (https://github.com/PowerDNS/pdns/blob/master/modules/gmysqlbackend/4.1.0_to_4.2.0_schema.mysql.sql).
The drop of the column "change_date" leads to several PHP-Errors in the records.php-File:
AH01071: Got error 'PHP message: Slim Application Error:\nType: PDOException\nCode: 42S22\nMessage: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'change_date' in 'field list'\nFile: /var/www/pdnsmanager2/backend/operations/Records.php\nLine: 180\nTrace: #0 /var/www/pdnsmanager2/backend/operations/Records.php(180): [...]
I bypassed this errors by manually inserting this column again, but I think, pdnsmanager should be edited to get along with the acutal schema of powerdns 👍
thanks and best regards, Markus