Open adamparker opened 2 months ago
Hi @adamparker, thans for reporting!
Any suggestions on why this was needed? I am using this inside a docker environment if that helps.
Actually, when installing Icinga Web 2 from packages the icingaweb2/library/Icinga
is installed into the /usr/share/php/Icinga
directory and since /usr/share/php
is already set as an include path (include_path='.:/usr/share/php:
), this works without any issues. However, our Icinga Web 2 Docker images do not seem to follow this package installation path, which leads to this kind of include path errors for you, so you may want to open an issue there so that it automatically creates a symlink or something in that include path without you having to set the this /usr/share/icingaweb2/library
manually.
I had some difficulties with the documentation for installing Nagvis with IcingaDB.
In the step where you add the EmbeddedWeb to the core.php file, it was unable to find the classes for EmbeddedWeb.
I had to add icingaweb2 library to the path to resolve this.
Any suggestions on why this was needed? I am using this inside a docker environment if that helps.