Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Upgrade from 2.6.1 to 2.6.3 kill Centreon Frontend #3821

Closed
florian-asche opened this issue Oct 9, 2015 · 7 comments
Closed

Upgrade from 2.6.1 to 2.6.3 kill Centreon Frontend #3821

florian-asche opened this issue Oct 9, 2015 · 7 comments

Comments

@florian-asche
Copy link

Hi Guys,

i upgraded from 2.6.1 to 2.6.3. The Statusbar is not working anymore. There are only "?" instead of numbers. And the graph are not working too.

I get an error message... Error type: LoadXML Discription: Incorrect XML

Any idea whats wrong?

@leoncx
Copy link
Contributor

leoncx commented Oct 9, 2015

Hello,

Can you look in error_log of apache and copy paste if there are an error ?

Thanks

@florian-asche
Copy link
Author

Yes. I did in this moment and see...

[Fri Oct 09 16:50:19 2015] [error] [client 10.1.3.190] PHP Fatal error: require_once(): Failed opening required 'www/class/centreonXMLBGRequest.class.php' (include_path='.:/DBA/centreon-pear/PEAR:/DBA/apache/PHP/5.4.40/php/includes') in /DBA/centreon/2.6.3/share/www/include/monitoring/status/TopCounter/xml/broker/statusCounter.php on line 45, referer: ...

@julienmathis
Copy link
Contributor

Hello Florian,

Do you have the following file ?

/DBA/centreon/2.6.3/share/www/class/centreonXMLBGRequest.class.php

@florian-asche
Copy link
Author

centreon/centreon@4195c64#diff-abd15ce8858ab252223d2fe82dd6e893

This commit is the problem. There is a change from @CENTREON_ETC@ to /etc/centreon. For all people who build their own packages with another path, centreon is not working anymore.

@florian-asche
Copy link
Author

There are this 4 files with the problem:

centreon-2.6.3\www\include\monitoring\objectDetails\xml\hostSendCommand.php (1 hit)
Line 39: require_once "/etc/centreon/centreon.conf.php";
centreon-2.6.3\www\include\monitoring\status\Hosts\xml\broker\hostXML.php (1 hit)
Line 36: include_once "/etc/centreon/centreon.conf.php";
centreon-2.6.3\www\include\monitoring\status\TopCounter\xml\broker\statusCounter.php (1 hit)
Line 43: include_once "/etc/centreon/centreon.conf.php";
centreon-2.6.3\www\include\monitoring\status\Hosts\xml\broker\hostXML.php (1 hit)
Line 36: include_once "/etc/centreon/centreon.conf.php";

julienmathis added a commit that referenced this issue Oct 9, 2015
@julienmathis
Copy link
Contributor

Sorry for this issue.

I fix it for the next version (I think 2.6.5).

@leoncx leoncx added this to the Centreon 2.6.5 milestone Oct 12, 2015
@florian-asche
Copy link
Author

Thanks

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

No branches or pull requests

4 participants