Description
I tried to upgrade our installation from 1.9.10.2 to 1.10.2. This failed with errors and other issues.
After restoration of 1.9.10.2, database included, we tried to upgrade directly from 1.9.10.2 to 1.11.0,
by unpacking 1.11 over 1.9.10.2 and running the web based installer, selecting 'Upgrade'.
This failed as well with the fatal error message below, indicating a missing column in the db.
Any ideas on what we can be do now would be very much appreciated.
`
VERSION: 20160808110200
----------------------------------------------
UPDATE c_forum_post SET post_parent_id = NULL WHERE post_parent_id = 0
DONE!
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054
Unknown column 'session_id' in 'where clause''
in /var/www/chamilo-lms-1.9.10.2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104
Stack trace:
#0 /var/www/chamilo-lms-1.9.10.2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(104): PDO->query('UPDATE c_item_p...')
#1 /var/www/chamilo-lms-1.9.10.2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(833): Doctrine\DBAL\Driver\PDOConnection->query('UPDATE c_item_p...')
#2 /var/www/chamilo-lms-1.9.10.2/main/install/install.lib.php(2192): Doctrine\DBAL\Connection->executeQuery('UPDATE c_item_p...')
#3 /var/www/chamilo-lms-1.9.10.2/main/install/install.lib.php(2962): fixIds(Object(Doctrine\ORM\EntityManager))
#4 /var/www/chamilo-lms-1.9.10.2/main/install/index.php(756): migrateSwitch('1.9.10', Object(Doctrine\ORM\EntityManager))
#5 {main}
Next exception 'Doctrine\DBAL\Driver\PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054
Un in /var/www/chamilo-lms-1.9.10.2/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 71
`
System info: chamilo-lms-1.9.10.2 php-5.4.16 mariadb-5.5.50 httpd-2.4.6 centos-release-7 Linux 3.10.0-327.36.1.el7.x86_64
Url when failing:
http://localhost/main/install/index.php?running=1&installType=update&updateFromConfigFile=main%2Finc%2Fconf%2Fconfiguration.php