[Koha-devel] Major surprise - "automatic" upgrade

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Tue Apr 30 11:14:03 CEST 2013


> The only automatic thing is it telling you you need to upgrade your database
cleanup_database.pl will not tell you to.. 

>> I ran: './cleanup_database.pl --zebraqueue -v' 
>> and Koha *updated* from 3.8.5 to some variant of 3.8.10. Note the '-v' -- but it sat there running with 
>> nothing "verbose."

Major surprise? This seems to be impossible.
cleanup_database.pl is a commandline script that gets a db handle from Context.pm but this works without a version check. It apparently only checks existence of system preferences. Maybe it should check more..

If you increase or decrease the Koha version in the codebase, you can still run cleanup_database. Please try. Tested this on master and 3.8.X by editing kohaversion.pl.

Your "automatic" upgrade really is a mystery :)

Marcel


More information about the Koha-devel mailing list