Hi,
I have the following error when I try to upgrade centreon 20.10 to 22.10.
Here the following error:
I already inserted the following request on centreon database:
ALTER TABLE centreon.cfg_nagios ROW_FORMAT=DYNAMIC;
ALTER TABLE centreon.contact ROW_FORMAT=DYNAMIC;
I try to drop manually the column but the error is stil here. I try to change to the SQL request
/usr/share/centreon/www/install/php/Update-20.10.12.php because the synthax seemed incorrect
$pearDB->query("ALTER TABLE `contact` DROP IF EXISTS COLUMN `contact_platform_data_sending`");
Below the upgrade.log content:
UPGRADE - 20.10.12: Impossible to drop column 'contact_platform_data_sending' from 'contact' table - Code : 42000 - Error : SQLSTATEQ42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'COLUMN contact_platform_data_sending' at line 1 - Trace : #0 /usr/share/centreon/www/class/centreonDB.class.php(309): PDO->query()
#1 /usr/share/centreon/www/install/php/Update-20.10.12.php(55): CentreonDB->query()
#2 /usr/share/centreon/src/Core/Platform/Infrastructure/Repository/DbWriteUpdateRepository.php(144): include_once('...')
#3 /usr/share/centreon/src/Core/Platform/Infrastructure/Repository/DbWriteUpdateRepository.php(61): Core\Platform\Infrastructure\Repository\DbWriteUpdateRepository->runScript()
#4 /usr/share/centreon/www/install/step_upgrade/process/process_step4.php(46): Core\Platform\Infrastructure\Repository\DbWriteUpdateRepository->runUpdate()
Can you help me to resolve this error please?
Best regards!