Incubator disabled error does not give a dependency

  • Director version (System - About): not installed
  • Icinga Web 2 version and modules (System - About): Icinga Web 2.12.1, incubator 0.22.0, ipl 0.5.0, reactbundle 0.9.0
  • Icinga 2 version (icinga2 --version):
  • Operating System and version: Red Hat 7
  • Webserver, PHP versions: Apache 2.4, PHP 7.3.33

I’m trying to install the vsphere plugin but incubator is showing up as:

When I try to re-enable it, I do not get a message:
image

Even weirder, when I click the module in Icinga Web I see this:

On the about page, its showing all my modules are being version 0.0.0:

Where can I check for errors?

Also, sometimes I get this error when trying to re-enable incubator:

Launching the run script /usr/share/icingaweb2/modules/vspheredb/run.php for module vspheredb failed with the following exception: Missing dependencies, please check

your incubator is broken, redownload the module

you can also delete ipl and reactbundle these two are deprecated.

Hello, did anything replace ipl and reactbundle?

I keep following the instructions here:

But even with version 0.21.0 I see this error:

Launching the run script /usr/share/icingaweb2/modules/vspheredb/run.php for module vspheredb failed with the following exception: Missing dependencies, please check

ipl and react bundle are replaced icinga-php-library and icinga-php-thridparty and these two are packages

can you do

ls -la /usr/share/icingaweb2/modules/incubator

Here you go:

[root@icingadevapp02 ~]# ls -la /usr/share/icingaweb2/modules/incubator
total 104
drwxr-x—. 6 root root 4096 Jun 24 09:49 .
drwxr-xr-x. 10 root root 4096 Jun 24 09:49 …
drwxr-x—. 2 root root 4096 Jun 24 09:49 bin
-rw-r-----. 1 root root 1547 Jun 24 09:49 composer.json
-rw-r-----. 1 root root 46579 Jun 24 09:49 composer.lock
-rw-r-----. 1 root root 79 Jun 24 09:49 configuration.php
-rw-r-----. 1 root root 548 Jun 24 09:49 extendStyles.php
drwxr-x—. 8 root root 4096 Jun 24 09:49 .git
-rw-r-----. 1 root root 88 Jun 24 09:49 .gitignore
-rw-r-----. 1 root root 1095 Jun 24 09:49 LICENSE
-rw-r-----. 1 root root 274 Jun 24 09:49 module.info
drwxr-x—. 4 root root 4096 Jun 24 09:49 public
-rw-r-----. 1 root root 1985 Jun 24 09:49 README.md
-rw-r-----. 1 root root 384 Jun 24 09:49 run.php
drwxr-x—. 5 root root 4096 Jun 24 09:49 vendor

it seams that your webserver user has no read permissions on this folder.

what’s the output of

ls -la /usr/share/icingaweb2/modules

ls -la /usr/share/icingaweb2

[root@icingadevapp02 ~]# ls -la /usr/share/icingaweb2/modules
total 40
drwxr-xr-x. 10 root root 4096 Jun 24 09:49 .
drwxr-xr-x.  7 root root 4096 Apr 11 09:51 ..
drwxr-xr-x.  6 root root 4096 Apr 11 09:51 doc
drwxr-xr-x.  7 root root 4096 Apr 15 10:31 icingadb
drwxr-x---.  6 root root 4096 Jun 24 11:52 incubator
drwxr-xr-x.  4 root root 4096 Apr 11 09:51 migrate
drwxr-xr-x.  6 root root 4096 Apr 11 09:51 monitoring
drwxr-xr-x.  4 root root 4096 Apr 11 09:51 setup
drwxr-xr-x.  5 root root 4096 Apr 11 09:51 translation
drwxr-xr-x. 10 root root 4096 Jun 21 14:38 vspheredb
[root@icingadevapp02 ~]# ls -la /usr/share/icingaweb2
total 28
drwxr-xr-x.   7 root root 4096 Apr 11 09:51 .
drwxr-xr-x. 142 root root 4096 Apr 11 14:25 ..
drwxr-xr-x.   8 root root 4096 Apr 11 09:51 application
drwxr-xr-x.   5 root root 4096 Apr 11 09:51 doc
drwxr-xr-x.  10 root root 4096 Jun 24 09:49 modules
drwxr-xr-x.   6 root root 4096 Apr 11 09:51 public
drwxr-xr-x.   4 root root 4096 Apr 11 09:51 schema

in order for your webserver to read the content of the incubator folder, you need to

chmod -R 755 /usr/share/icingaweb2/modules/incubator