Icingadb-web breaks UI

Hi,
i installed icinga2 and icingaweb2 from scratch, and after configuring the UI looks like this:

System info:

root@icinga-1:~# icingacli version
Icinga Web 2  2.10.1    
Git Commit    974729a6421c17fdb8bb1931623107cf6a90fc7e 
PHP Version   7.4.3     
MODULE    VERSION   
icingadb  1.0.0-rc2 

root@icinga-1:~# icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.2-1)

Copyright (c) 2012-2022 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
  Platform: Ubuntu
  Platform version: 20.04.4 LTS (Focal Fossa)
  Kernel: Linux
  Kernel version: 5.4.0-107-generic
  Architecture: x86_64

Build information:
  Compiler: GNU 9.3.0
  Build host: runner-hh8q3bz2-project-298-concurrent-0
  OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020

Application information:

General paths:
  Config directory: /etc/icinga2
  Data directory: /var/lib/icinga2
  Log directory: /var/log/icinga2
  Cache directory: /var/cache/icinga2
  Spool directory: /var/spool/icinga2
  Run directory: /run/icinga2

Old paths (deprecated):
  Installation root: /usr
  Sysconf directory: /etc
  Run directory (base): /run
  Local state directory: /var

Internal paths:
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

During the setup the UI looks normal, when im done configuring icingadb-web module, the UI is broken and i get the following error in my browser console:

2:56:35 AM.511  Someone messed up our responsiveness hacks, html font-family is serif icinga.min.js:442:537
    writeToConsole https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:442
    error https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:442
    layoutHasBeenChanged https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:512
    onWindowResize https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:509
    triggerWindowResize https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:509
    initialize https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:501
    initialize https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:438
    Icinga https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:437
    l https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    c https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    (Async: setTimeout handler)
    a https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    u https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    fireWith https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    fire https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    u https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    fireWith https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    ready https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    z https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    (Async: EventListener.handleEvent)
    <anonymous> https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    <anonymous> https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
    <anonymous> https://icinga-1.myserver.com.com/icingaweb2/js/icinga.min.js:14
Source map error: Error: request failed with status 404
Resource URL: https://icinga-1.myserver.com/icingaweb2/js/icinga.min.js
Source Map URL: jquery-3.4.1.min.map

Besides that i cant find any error in logs, icinga itself seems to perform checks against it self.

I have the exact same problem.
Even more disturbing is the fact that the icingadb-web page now lists the following dependencies which can not be satisfied, because the respecting versions don’t exist:

Icinga PHP Library (ipl) (>= 0.9)
Icinga PHP Thirdparty (>= 0.11)

The latest available versions are 0.8 and 0.10…

I know icingadb-web is just an RC so far, but i couldn’t find any warning about this before installing the 2.10 update, also everthing works fine again after a downgrade of icingaweb2 to 2.9.x.

The RC2 is only compatible with Icinga Web 2.9. The current master of Icinga DB Web is only compatible with the current master of Icinga Web 2 and all related libraries.

If you want to test the current master of Icinga DB Web, this means you need:

  • Icinga Web 2 (master)
  • icinga-php-library (snapshot/nightly)
  • icinga-php-thirdparty (snapshot/nightly)
1 Like

@nilmerg
Thank you for your explanation.

It should be mentioned in the installation manual which currently states:

Icinga Web 2 (>= 2.9)

which implies it should work with icingaweb2 v2.10…

1 Like