Skip to main content
Hola, recientemente instalé el centreon 20.04 todo termina correctamente, al ingresar a la url todo el proceso se hace bien, me conecto con admin y la contraseña y entra el problema mucho después de esto ya que la pantalla de carga de centreon no termina y espero por hasta 1 hora y nunca deja de cargarse.

Hola @cristianandres9,

Centreon 20.04 is no longer supported (more information here: https://docs.centreon.com/current/en/releases/lifecycle.html#maintenance-table-for-earlier-products) but I’ll try to help ^^ 
Was it a fresh install or an update/migration ?
Did you try with another browser or in private mode?


Hello @itoussies If we had a 19.04 version that was failing so it was decided to perform a clean installation where all the centreon 19.04 components were uninstalled, the cengine cenbroker centcore and mysql, it was validated that there would not be any component related to centreon and a new installation was carried out. which ended correctly, and I tried entering other browsers such as firefox and incognito mode and the problem persists and I noticed that when entering development mode in google chormen and put the tablet mode this if it shows something

 


Hello @cristianandres9,

Did you check your apache configuration file (/opt/rh/httpd24/root/etc/httpd/conf.d/10-centreon.conf)? You can find out what the configuration is supposed to look like here: https://docs.centreon.com/20.04/en/upgrade/upgrade-from-19-04.html#configure-apache-api-access


Hola @itoussies Revisa el archivo /opt/rh/httpd24/root/etc/httpd/conf.d/10-centreon.conf y se encuentra correctamente según la documentación que me muestras te comparto una copia:

#
# Section added by Centreon Install Setup
#
Header set X-Frame-Options: "sameorigin"
Header always edit Set-Cookie ^(.*)$ $1;HttpOnly
ServerSignature Off
ServerTokens Prod
TraceEnable Off

Alias /centreon/api /usr/share/centreon
Alias /centreon /usr/share/centreon/www/

<LocationMatch ^/centreon/(?!api/latest/|api/beta/|api/vi0-9]+/|api/vi0-9]+\.+0-9]+/)(.*\.php(/.*)?)$>
ProxyPassMatch fcgi://127.0.0.1:9042/usr/share/centreon/www/$1
</LocationMatch>

<LocationMatch ^/centreon/api/(latest/|beta/|v/0-9]+/|v/0-9]+\.+0-9]+/)(.*)$>
ProxyPassMatch fcgi://127.0.0.1:9042/usr/share/centreon/api/index.php/$1
</LocationMatch>

ProxyTimeout 300

<Directory "/usr/share/centreon/www">
DirectoryIndex index.php
Options Indexes
AllowOverride all
Order allow,deny
Allow from all
Require all granted
<IfModule mod_php5.c>
php_admin_value engine Off
</IfModule>

FallbackResource /centreon/index.html

AddType text/plain hbs
</Directory>

<Directory "/usr/share/centreon/api">
Options Indexes
AllowOverride all
Order allow,deny
Allow from all
Require all granted
<IfModule mod_php5.c>
php_admin_value engine Off
</IfModule>

AddType text/plain hbs
</Directory>

RedirectMatch ^/$ /centreon

 


Hola @cristianandres9,

Any errors in /var/opt/rh/rh-php72/log/php-fpm/centreon-error.log ?


Hello, I apologize for the time, the file error shows me these logs

[23-Feb-2023 00:51:30 Etc/GMT-5] PHP Notice: Undefined index: x-centreon-token in /usr/share/centreon/www/lib/HTML/QuickForm/HTML_QuickFormCustom.php on line 118
[23-Feb-2023 00:51:30 Etc/GMT-5] PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/share/centreon/www/lib/HTML/QuickForm/HTML_QuickFormCustom. php online 118
[23-Feb-2023 00:51:30 Etc/GMT-5] PHP Notice: Undefined index: x-centreon-token-generated-at in /usr/share/centreon/www/lib/HTML/QuickForm/HTML_QuickFormCustom. php online 151

 

 


Reply