Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
apt-get upgrade does not upgrade database from 2.1 to 2.2 #100
To my greatest surprise, apt-get upgrade broke the netmagis web frontend :
apache still working
I discovered that the database is not updated by apt, as there is no postinst script in package netmagis-database. It may be on purpose, but I tend to think the script was forgotten.
I uncompressed and ran the SQL upgrade script by hand (
web frontend was ok after this change.
This message is a bug: the 2.2.* release notes tell us:
This check uses the global.config table ("schemaversion" key). However, the test against the schemaversion is using the "key" column name, which does not exist in pre-2.2 databases (it was a french column name). So, this new check is failing miserably...
We don't think that decision to upgrade database may be left to an automated installation procedure.
Now, close this issue.