Running net-mgmt/icingaweb2 on FreeBSD 14.3-RELENG (FreeBSD 14.3-RELEASE-p5 releng/14.3-n271450-382f54740ee4 amd64) after a recent update of packages login on the web page results in a dashboard-less screen, big red barr at the bottom stating: Class "Icinga\Module\Icingadb\Common\Model" not found No left hand menu entries available. switching php into "development" mode by linking php.ini with the appropriate php.ini-development file (as shipped) does not reveal any notices - they vanish immediately. The log is also rather short and states exactly the same as seen on the screen: Class "Icinga\Module\Icingadb\Common\Model" not found [...] icinga-php-library-php83-0.17.1 net-mgmt/icinga-php-library icinga-php-thirdparty-php83-0.13.1 net-mgmt/icinga-php-thirdparty icingadb-1.4.0_5 net-mgmt/icingadb icingaweb2-module-director-php83-1.11.5 net-mgmt/icingaweb2-module-director icingaweb2-module-elasticsearch-php83-0.9.0_4 net-mgmt/icingaweb2-module-elasticsearch icingaweb2-module-grafana-php83-3.1.1 net-mgmt/icingaweb2-module-grafana icingaweb2-module-icingadb-php83-1.2.3,1 net-mgmt/icingaweb2-module-icingadb icingaweb2-module-incubator-php83-0.22.0 net-mgmt/icingaweb2-module-incubator icingaweb2-module-map-php83-2.0.0_4 net-mgmt/icingaweb2-module-map icingaweb2-module-reactbundle-php83-0.9.0_1 net-mgmt/icingaweb2-module-reactbundle icingaweb2-module-x509-php83-1.3.1 net-mgmt/icingaweb2-module-x509 icingaweb2-php83-2.12.5 net-mgmt/icingaweb2
(In reply to O. Hartmann from comment #0) I don't think that this is related to the icingaweb2 port. It hasn't been touched in a while. icingadb was updated recently and the error message references that. I guess it might be related to that upgrade. @Dan do you have any insights?
Created attachment 265195 [details] 0001-net-mgmt-icingaweb2-module-icingadb-fix-pkg-plist.patch Does it work if you apply this?
Created attachment 265196 [details] 0001-net-mgmt-icingaweb2-module-icingadb-fix-pkg-plist.patch + PORTREVISION
Sorry, indeed it seems more related to icingadb. I took the liberty to change the subject accordingly. Thank you for taking care so fast. I have not the chance to test, the environment is within a "closed circle" and I get hand on it earliest tomorrow. I'll report back! Kind regards, oh
(In reply to Florian Smeets from comment #1) Sorry, no, this is not familiar to me.
Correction.
That class was added in 1.2.3 https://github.com/Icinga/icingadb-web/compare/v1.2.2...v1.2.3 Dan, run testport for this without the patch.
Applying the patch provided to the latest ports tree (git pull, yesterday, 2025-11-07) reverts Icingaweb2 into a working GUI again! Thanks for the quick fix.
(In reply to Paavo-Einari Kaipila from comment #7) On this lovely Saturday morning, I am running a testport as I look out over the sun-drenched trees.
(In reply to Dan Langille from comment #9) testport works: https://services.unixathome.org/poudriere/build.html?mastername=143amd64-dvl-testing&build=2025-11-08_13h12m48s
(In reply to O. Hartmann from comment #8) Are we all agreed this patch fixes the problem? It seems so, but I wanted to check.
One person did a runtime test and this should obvious even without a runtime test. A recently added file is missing from the produced package and that file contains Icinga\Module\Icingadb\Common\Model class. https://github.com/Icinga/icingadb-web/commit/5e982dad40ec379075307ab1693580138e675b18
testport Q/A without the patch: ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: %%WWWDIR%%/library/Icingadb/Common/Model.php ===> Checking for items in pkg-plist which are not in STAGEDIR ===> Error: Plist issues found. *** Error code 1 testport Q/A with the patch: ====> Running Q/A tests (stage-qa) ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) =>> Checking for staging violations... done
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=05ee108d2553199470739e68b7c5421768d2d4fd commit 05ee108d2553199470739e68b7c5421768d2d4fd Author: Paavo-Einari Kaipila <pkaipila@gmail.com> AuthorDate: 2025-11-05 21:40:36 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2025-11-12 12:23:08 +0000 net-mgmt/icingaweb2-module-icingadb: fix pkg-plist PR: 290786 net-mgmt/icingaweb2-module-icingadb/Makefile | 1 + net-mgmt/icingaweb2-module-icingadb/pkg-plist | 1 + 2 files changed, 2 insertions(+)
This commit was sitting waiting to be pushed. Sorry it took so long.