Skip to main content
Hello,I'm installing centreon 21.04 and I'm stuck at step 2 (step 2)error message log/php-fpm/centreon-error.logthe installation is on a shared server

Error log  centreon.log

 

PHP Fatal error:  Uncaught PDOException: SQLSTATEA42S02]: Base table or view not found: 1146 Table 'centreon.informations' doesn't exist in /usr/share/centreon/www/class/centreonDB.class.php:2
Stack trace:
#0 /usr/share/centreon/www/install/step_upgrade/step3.php(52): CentreonDB->query('SELECT `value` ...')
#1 {main}
  thrown in /usr/share/centreon/www/class/centreonDB.class.php on line

Thanks in advance

Hi, 

 

It seems that something gone wrong with your install and that the centreon database hasn’t been correctly installed. 


What the reason for using such an old version? It will be unsupported quite soon.

 

Best,


Hello,Problem solvedthank you

Hello,Problem solvedthank you

Hi @idinar,
 

Glad to hear you were able to solve your problem. It would be nice if you could share with the community how you solved it. You never know, this might help someone with the same problem.

Cheers, 


You are right 😊

 

I installed it on a test server and after checking an old version of centreon was already installed via taz, so I cleaned it up and after the installation it went normally.

The objective of my test was to roll out a Centreon version upgrade from 21.04 to 22.04.

thanks again

 


Basically, 

1- clean? I’m assuming you did a “dnf remove centreon centreon-database’ ???

2- used ‘curl ….’ from a package  to do a fresh install of a newer version of Centreon???

 

Could you provide more details?

 

thanks,

 

Jacques

 


Reply