Not able to import the new IPL-Module for Director

Hey there,

For the Go-Live of my Icinga2-Environment I needed to re-install Icinga2 completely new. I’m now on my way to install the Director, and stepped over error-messages when installing the module ipl (due to the old one being deprecated).

When following the guide on GitHub - Icinga/icinga-php-library: Bundle for all Icinga PHP libraries while importing the Tarball-version:

INSTALL_PATH="/usr/share/icingaweb2/ipl"
INSTALL_VERSION="v1.0.0"
mkdir "$INSTALL_PATH"
&& wget -q "https://github.com/Icinga/icinga-php-library/archive/$INSTALL_VERSION.tar.gz" -O - \
   | tar xfz - -C "$INSTALL_PATH" --strip-components 1

I got the error

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

A mutual error occurs when trying to download it with git. Do I have some kind of error in it? With the old ipl module everything worked fine, and the other modules work fine as well.

Any suggestions for me?

Greetings

The Director still requires the module. What you’re trying to install is not a module and not (yet) required for the Director.

Just keep using the module for now, albeit it being deprecated. This only means it won’t be updated/maintained anymore, it’s still fully functional.

Thanks for the fast reply. Do you know if this is going to be update at any point? If I have to manually replace it later on, due to the module now being deprecated.

The module won’t be updated anymore. The Director though will eventually depend on GitHub - Icinga/icinga-php-library: Bundle for all Icinga PHP libraries instead.

1 Like