operasoftware / dns-ui

Opera's LDAP-authenticated PowerDNS user interface
Apache License 2.0
282 stars 57 forks source link

Failure on first page load #204

Open zerwes opened 10 months ago

zerwes commented 10 months ago

This happens on the first initial page load (or again after the pdns zones have been updated for example using a mysql restore). The text displayed on the page is the 500 error "Oops! Something went wrong!". After a reload, all things are fine and shiny and the zones are listed as expected.

Exception: Field pending_updates does not exist in zone table. in /srv/opera-dnsui/model/record.php:97
Stack trace:
#0 /srv/opera-dnsui/model/zone.php(78): Record->__get()
#1 /srv/opera-dnsui/templates/zones.php(71): Zone->__get()
#2 /srv/opera-dnsui/pagesection.php(69): include('...')
#3 /srv/opera-dnsui/pagesection.php(57): PageSection->generate()
#4 /srv/opera-dnsui/templates/base.php(81): PageSection->get()
#5 /srv/opera-dnsui/pagesection.php(69): include('...')
#6 /srv/opera-dnsui/views/zones.php(83): PageSection->generate()
#7 /srv/opera-dnsui/requesthandler.php(62): require('...')
#8 /srv/opera-dnsui/public_html/init.php(18): require('...')
#9 {main}

Version in use: v0.2.7 system: debian 12 w/

apache2 : 2.4.57-2
apache2-bin : 2.4.57-2
apache2-data : 2.4.57-2
apache2-utils : 2.4.57-2
mariadb-backup : 1:10.11.3-1
mariadb-client : 1:10.11.3-1
mariadb-client-core : 1:10.11.3-1
mariadb-common : 1:10.11.3-1
mariadb-plugin-provider-bzip2 : 1:10.11.3-1
mariadb-plugin-provider-lz4 : 1:10.11.3-1
mariadb-plugin-provider-lzma : 1:10.11.3-1
mariadb-plugin-provider-lzo : 1:10.11.3-1
mariadb-plugin-provider-snappy : 1:10.11.3-1
mariadb-server : 1:10.11.3-1
mariadb-server-core : 1:10.11.3-1
pdns-backend-bind : 4.7.3-2
pdns-backend-mysql : 4.7.3-2
pdns-server : 4.7.3-2
php : 2:8.2+93
php-common : 2:93
php-curl : 2:8.2+93
php-fpm : 2:8.2+93
php-intl : 2:8.2+93
php-json : 2:8.2+93
php-ldap : 2:8.2+93
php-mbstring : 2:8.2+93
php-pgsql : 2:8.2+93
php8.2 : 8.2.7-1~deb12u1
php8.2-cli : 8.2.7-1~deb12u1
php8.2-common : 8.2.7-1~deb12u1
php8.2-curl : 8.2.7-1~deb12u1
php8.2-fpm : 8.2.7-1~deb12u1
php8.2-intl : 8.2.7-1~deb12u1
php8.2-ldap : 8.2.7-1~deb12u1
php8.2-mbstring : 8.2.7-1~deb12u1
php8.2-opcache : 8.2.7-1~deb12u1
php8.2-pgsql : 8.2.7-1~deb12u1
php8.2-readline : 8.2.7-1~deb12u1
postgresql : 15+248
postgresql-15 : 15.3-0+deb12u1
postgresql-client-15 : 15.3-0+deb12u1
postgresql-client-common : 248
postgresql-common : 248
postgresql-contrib : 15+248