.rotate is undefined

Hi,

I upgraded my Icinga2 host from Debian 8 to Debian 9. During the process I upgraded icinga 2 from r2.10.5-1 to r2.11.3-1 and icingaweb2 from 2.6.3 to 2.7.3. Everything looked fine until I logged out from icingaweb2 and refreshed the site. I seems like the stylesheet can not be loaded anymore.

When I try to open the css in the browser I get the following error message:
(/icingaweb2/css/icinga.min.css)

```Fatal error: Uncaught exception ‘Exception’ with message ‘.rotate is undefined: failed at .rotate(360deg); line: 5585’ in /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php:3553 Stack trace: #0 /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php(2097): lessc_parser->throwError(’.rotate is unde…’, 189323) #1 /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php(720): lessc->throwError(’.rotate is unde…’) #2 /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php(283): lessc->compileProp(Array, Object(stdClass), Object(stdClass)) #3 /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php(221): lessc->compileProps(Object(stdClass), Object(stdClass)) #4 /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php(195): lessc->compileCSSBlock(Object(stdClass)) #5 /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php(691): lessc->compileBlock(Object(stdClass)) #6 /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php(283): lessc->compileProp(Array, Object(stdClass), Object(stdClass)) #7 /u in /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php on line 3553´´´

These are my enabled features:
api checker command graphite ido-mysql mainlog notification

Has anyone seen that before and can give me a hint? If you need more information just let me know.

Thanks

Regards,
rba

Try disabling your installed modules one by one and retry reloading the page each time.

v2.7 upgraded the library used to parse LESS and now spits out error messages for undefined mixin usages and variables which were previously ignored. A module may still be affected by this.

If you found the one causing the issue, try upgrading it as well.

1 Like

Hi Johannes,

fantastic!!! :slight_smile: Thanks for your your help.
Problem was caused by an old version of the business process module.

Many thanks

Regards,
rba

1 Like