[Koha] Database upgrade error from 20.06.00.000 to 20.11.00-1

skaman.tx at gmail.com skaman.tx at gmail.com
Fri Jan 8 08:09:47 NZDT 2021


Thank you, Jonathan.  Yes, that config line was missing.  I had selected "no" when asked to update koha-conf.xml on a prior Debian update and that line was not included.  I created another instance that created an updated koha-conf.xml file and then adjusted all the paths, etc. to the correct library instance.  The apt upgrade of koha-common then finished, but there were still about four database schema update errors during the process.  These errors still break the koha installation.

I am going to dump the database to a file then recreate the instance and import the database and see if that fixes the schema errors.

Scott

-----Original Message-----
From: Jonathan Druart <jonathan.druart at bugs.koha-community.org> 
Sent: Thursday, January 07, 2021 3:44 AM
To: skaman.tx at gmail.com
Cc: koha <koha at lists.katipo.co.nz>
Subject: Re: [Koha] Database upgrade error from 20.06.00.000 to 20.11.00-1

Hello Scott,
The relevant part is:
"Configuration not defined at /usr/share/perl5/Log/Log4perl/Config.pm line 579."

Can you confirm you don't have a "log4perl_conf" entry in the koha-conf.xml file that is defined and pointing to a valid log4perl configuration file?
You should have one to make things work, but the error is saying to don't.

Regards,
Jonathan

Le mer. 6 janv. 2021 à 18:33, <skaman.tx at gmail.com> a écrit :
>
> I am running Koha on Debian 10 X64.  Database is mariadb.  When I 
> attempt to perform the most recent routine update of koha-common via 
> the apt package manager, the upgrade fails during the upgrade of the 
> Koha database schema for my library database.  Below is the verbose 
> output of the installation failure.
>
>
>
> ------------ snip -----------------------------------
>
>
>
> Upgrading database schema for library
>
> Upgrade to 20.06.00.000 done [11:18:06]: All our codebase are belong 
> to everybody
>
> Upgrade to 20.06.00.001 done [11:18:06]: Bug 24986 - Switch borrowers 
> address related fields to TINYTEXT or MEDIUMTEXT
>
> Upgrade to 20.06.00.002 done [11:18:06]: Bug 25184 - Items with a 
> negative notforloan status should not be captured for holds
>
> Upgrade to 20.06.00.003 done [11:18:06]: Bug 24156 - Add new table 
> tables_settings
>
> Upgrade to 20.06.00.004 done [11:18:07]: Bug 25851 - Remove 
> holdallowed rule if value is an empty string
>
> Upgrade to 20.06.00.005 done [11:18:07]: Bug 24379 - Set 
> login_attempts NOT NULL
>
> Upgrade to 20.06.00.006 done [11:18:09]: Bug 24151 - Add 
> pseudonymized_transactions tables and sysprefs for Pseudonymization
>
> Upgrade to 20.06.00.007 done [11:18:09]: Bug 22844 - Add 
> borrower_attribute_types.mandatory
>
> Upgrade to 20.06.00.008 done [11:18:09]: Bug 23148 - Replace Bridge 
> icons with transparent PNG files
>
> Upgrade to 20.06.00.009 done [11:18:10]: Bug 23391 - Hide finished ILL 
> requests
>
> Upgrade to 20.06.00.010 done [11:18:10]: Bug 20815 - Add 
> NoRefundOnLostReturnedItemsAge system preference
>
> Upgrade to 20.06.00.011 done [11:18:10]: Bug  5087 - Add 
> export_format.staff_only
>
> Upgrade to 20.06.00.012 done [11:18:10]: Bug 23795 - Convert 
> OpacCredits system preference to news block
>
> Upgrade to 20.06.00.013 done [11:18:10]: Bug 23795 - Convert 
> OpacCustomSearch system preference to news block
>
> Upgrade to 20.06.00.014 done [11:18:10]: Bug 23797 - Extend the 
> opac_news lang column to accommodate longer values
>
> Upgrade to 20.06.00.015 done [11:18:10]: Bug 23797 - Convert 
> OpacLoginInstructions system preference to news block
>
> Upgrade to 20.06.00.016 done [11:18:11]: Bug 23092 - Add 'daterequested'
> field to transfers table
>
> Upgrade to 20.06.00.017 done [11:18:11]: Bug 25709 - Rename 
> systempreference to NotesToHide
>
> Upgrade to 20.06.00.018 done [11:18:11]: Bug 24157 - Add new 
> permissions reopen_closed_invoices, edit_invoices, delete_invoices, 
> merge_invoices, delete_basket
>
> Upgrade to 20.06.00.019 done [11:18:11]: Bug 22660 - Adds 
> NewsToolEditor system preference
>
> Upgrade to 20.06.00.020 done [11:18:11]: Bug 26070 - Remove references 
> to deprecated Google Transliterate API
>
> Upgrade to 20.06.00.021 done [11:18:11]: Bug 25871 - Add library 
> option to OpacItemLocation
>
> Upgrade to 20.06.00.022 done [11:18:17]: Bug 21946 - Add parent type 
> to itemtypes
>
> Configuration not defined at /usr/share/perl5/Log/Log4perl/Config.pm 
> line 579.
>
> dpkg: error processing package koha-common (--configure):
>
> installed koha-common package post-installation script subprocess 
> returned error exit status 11
>
> Errors were encountered while processing:
>
> koha-common
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
> ---------- snip end -----------------------------
>
>
>
> I have not been able to figure out where this failure is actually 
> occurring, but it seems to be a problem with the database structure.  
> Any help would be greatly appreciated.
>
>
>
> Scott
>
>
>
> _______________________________________________
>
> Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list