IcingaWeb2 only displays error after icingadb-web + icinga-php-library update

Hey Icinga Community,

after updating to icingadb-web 1.0.1 (and icinga-php-library 0.10) IcingaWeb2 only shows this error:

fatal error: trait ‘ipl\i18n\translation’ not found in /usr/share/php/icinga/web/view.php

After some research I did

composer require ipl/web
composer require ipl/i18n

but that didn’t change anything.
Also the 2 new packages needed a vendor change because the vendor is seemingly missing (instead of Icinga.com)

System is SUSE 15.3, all packages are up to date.

  • Icinga Web 2.11.1-1
  • Icinga 2.13.5-1
  • Modules enabled:
    • grafana 1.4.3
    • icingadb 1.0.0
    • incubator 0.17.0
    • migrate 2.11.1
    • reactbundle 0.9.0
    • vspheredb 1.4.0
    • x509 1.1.2
  • PHP 7.4.6

I had to downgrade both packages again. Also as a side note, it’s getting really confusing with those modules that were installed/updated through git, but are packages now (ipl → icinga-php-library). This part is not the confusing one, but why are there now parts that have to be installed through composer like ipl/web? Or is this even necessary?

  1. you don’t have to install anything via composer
  2. remove reactbundle and install it again as a package (icinga-php-thirdparty)
  3. as you notices ipl is also a package called icinga-php-library
  4. there is a update for incubator, make sure you download a release not the master-build
1 Like