Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing IPL 0.9.0 renders icingaweb2 useless (text only) #13

Closed
stultitiophobia opened this issue Jun 15, 2022 · 14 comments
Closed

installing IPL 0.9.0 renders icingaweb2 useless (text only) #13

stultitiophobia opened this issue Jun 15, 2022 · 14 comments

Comments

@stultitiophobia
Copy link

when using INSTALL_VERSION="v0.8.1" icingaweb2 looks great with graphics and all (how it should)

image

when using INSTALL_VERSION="v0.9.0"iicngaweb2 lost all graphics and is text only

image

my system should be up to date ...
image

does anyone have some idea on hoot "unbreak" this - installing the 0.8.1 renders cube and graphite in the latest versions useless...

@lippserd
Copy link
Member

Hi,

Can you please visit the Icinga Web 2 URL css/icinga.css which should yield an error and share the output?

All the best,
Eric

@stultitiophobia
Copy link
Author

Hi, Eric !
This is with 0.9.0

Operation on an invalid type
#0 /usr/share/icingaweb2/library/vendor/lessphp/lib/Less/Tree/Expression.php(51): Less_Tree_Operation->compile()
#1 /usr/share/icingaweb2/library/vendor/lessphp/lib/Less/Tree/Call.php(44): Less_Tree_Expression->compile()
#2 /usr/share/icingaweb2/library/vendor/lessphp/lib/Less/Tree/Expression.php(51): Less_Tree_Call->compile()
#3 /usr/share/icingaweb2/library/vendor/lessphp/lib/Less/Tree/Value.php(26): Less_Tree_Expression->compile()
#4 /usr/share/icingaweb2/library/vendor/lessphp/lib/Less/Tree/Rule.php(73): Less_Tree_Value->compile()
#5 /usr/share/icingaweb2/library/vendor/lessphp/lib/Less/Tree/Ruleset.php(91): Less_Tree_Rule->compile()
#6 /usr/share/icingaweb2/library/vendor/lessphp/lib/Less/Tree/Ruleset.php(91): Less_Tree_Ruleset->compile()
#7 /usr/share/icingaweb2/library/vendor/lessphp/lib/Less/Parser.php(185): Less_Tree_Ruleset->compile()
#8 /usr/share/icingaweb2/library/vendor/lessphp/lessc.inc.php(130): Less_Parser->getCss()
#9 /usr/share/php/Icinga/Web/LessCompiler.php(230): lessc->compile()
#10 /usr/share/php/Icinga/Web/StyleSheet.php(218): Icinga\Web\LessCompiler->render()
#11 /usr/share/php/Icinga/Web/StyleSheet.php(258): Icinga\Web\StyleSheet->render()
#12 /usr/share/php/Icinga/Application/webrouter.php(60): Icinga\Web\StyleSheet::send()
#13 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...')
#14 {main}

.. 07143em;
vertical-align: 0.05357em; }

.fa-lg {
font-size: 1.25em;
line-height: 0.05em;
vertical-align: -0.075em; }

.fa-xl {
font-size: 1.5em;
line-height: 0.04167em;
vertical-align: -0.125em; }

.fa-2xl {
font-size: 2em;
line-height: 0.03125em;
vertical-align: -0.1875em; }

.fa-fw {
text-align: center;
width: 1.25em; }

.fa-ul {
list-style-type: none;
margin-left: var(--fa-li-margin, 2.5em);
padding-left: 0; }
.fa-ul > li {
position: relative; }

.fa-li {
!! left: calc(var(--fa-li-width, 2em) * -1);
position: absolute;
text-align: center;
width: var(--fa-li-width, 2em);
line-height: inherit; }

.fa-border {
border-color: var(--fa-border-color, #eee);
border-radius: var(--fa-border-radius, 0.1em);
border-style: var(--fa-border-style, solid);
border-width: var(--fa-border-width, 0.08em);
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); }

.fa-pull-left {
float: left;
margin-right: var(--fa-pull-margin, 0.3em); }

.fa-pull-
..

@stultitiophobia
Copy link
Author

no error with 0.8.1 but lots of content ;-)

@lippserd
Copy link
Member

Seems like the font awesome upgrade breaks our CSS parser. I’ll have a look at this asap. You could try to decrease the font awesome version to 5 in the composer.json file and run composer install.

@lippserd
Copy link
Member

I missed one important thing: You need Icinga Web 2.10.2!

@stultitiophobia
Copy link
Author

stultitiophobia commented Jun 16, 2022

Ah, I see.
So I'll have to wait until the Ubuntu repository für icingaweb2 is updated, i think ?

But wait - is .2 even released ?

@fireba11
Copy link

ah. please note things like "requires icinga web 2.10.2" in the release notes ;-)
FYI: for my centos8 stream latest is 2.9.5

@herman-the-worm
Copy link

@fireba11 for centos8 stream latest (2.9.5) IPL for 0.8.1 worked just fine

Thanks

@nilmerg
Copy link
Member

nilmerg commented Jun 27, 2022

Updated the release notes.

Hint: If you're installing icingaweb2 by package, install icinga-php-library this way as well. Then things don't break this easily.

@nilmerg nilmerg closed this as completed Jun 27, 2022
@fireba11
Copy link

@nilmerg i'm not aware of any repo for centos8 stream that contains a ipl package i could use.
@herman-the-worm i know, was just too fast in updating :-)

@herman-the-worm
Copy link

@fireba11 any issues with building icinga dashboard with "bundle"?

@kosli
Copy link

kosli commented Jun 30, 2022

@fireba11
same issues happened to me today with the Debian (bullseye) packages. icinga-php-library is now on version 0.9.0-1-bullseye, whereas there is no icingaweb 2.10.2 debian package available yet :-(
downgrading the debian package to 0.8.0 resolves the issue, but still not good practice to not have a "require" for that icingaweb version in the icinga-php-library package :-(

@maggu
Copy link

maggu commented Jun 30, 2022

Yep. Me too on CentOS 7. Got icinga-php-library upgraded to 0.9.0, but no 2.10.2 package yet.

@kochd
Copy link

kochd commented Jun 30, 2022

Updating on
https://packages.icinga.com/debian/dists/icinga-bullseye/
breaks icingaweb2 because
icingaweb2 is 2.10.1
icinga-php-library is 0.9.0

If you are affected:
Downgrade to 0.8.0
apt install icinga-php-library=0.8.0-1.bullseye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants