Solved

Probéme install centreon 21.04

  • 27 September 2022
  • 5 replies
  • 154 views

Badge +6
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: SQLSTATE[42S02]: 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
icon

Best answer by idinar 3 October 2022, 13:07

View original

5 replies

Userlevel 6
Badge +19

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,

Badge +6
Hello,Problem solvedthank you
Userlevel 5
Badge +11
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, 

Badge +6

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

 

Badge +4

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