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
#0 /usr/share/centreon/www/install/step_upgrade/step3.php(52): CentreonDB->query('SELECT `value` ...')
thrown in /usr/share/centreon/www/class/centreonDB.class.php on line
Thanks in advance
Best answer by idinarView original
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.
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.
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.
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?