apt-get upgrade does not upgrade database from 2.1 to 2.2
Created by: schplurtz
To my greatest surprise, apt-get upgrade broke the netmagis web frontend :
apache still working pgauth still working as expected but the cgi "index" fails with
Internal Server Error
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 (
/usr/share/doc/netmagis/examples/upgrade/21-22/upgrade.sql.gz). Also it was necessary to set owner of the new p_l2only table, as I ran the updrade script under the postgresql super user account (silly me!)
web frontend was ok after this change.