[Koha] Upgrading to 16.01 - Database errors

Sander898 scrittore at hotmail.it
Sat Jul 5 23:38:00 NZST 2014


Sorry, here you can see the errors in upgrading the database from 14.0.5 to
16.0.1:

[Sat Jul 5 13:45:10 2014] Context.pm: could not find ParserDetails.ini in
/usr/local/share/perl5/XML/SAX

    [Sat Jul 5 13:45:11 2014] updatedatabase.pl: DBD::mysql::db do failed:
Duplicate key name 'surname_idx' at
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line
7841.

    [Sat Jul 5 13:45:20 2014] updatedatabase.pl: DBD::mysql::db do failed:
Unknown column 'ctId' in 'collections_tracking' at
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line
7863.

    [Sat Jul 5 13:45:20 2014] updatedatabase.pl: DBD::mysql::db do failed:
Can't DROP 'marc'; check that column/key exists at
/usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl line
7881.

................

I have solved the first, doing this:
Hi,

I have solved the first problem:
[Sat Jul 5 13:45:10 2014] Context.pm: could not find ParserDetails.ini in
/usr/local/share/perl5/XML/SAX
(a
href="http://perl-xml.sourceforge.net/faq/#parserdetails.ini">http://perl-xml.sourceforge.net/faq/#parserdetails.ini)

doing this (http://lists.katipo.co.nz/public/koha/2012-July/033456.html):

1. create the "ParserDetail.ini" file in /usr/local/share/perl5/XML/SAX

2. add the following lines:

[XML::LibXML::SAX::Parser]
http://xml.org/sax/features/namespaces = 1

And now this seems ok:
# cd  koha-3.16.01
# misc/sax_parser_print.pl
Koha wants something like:
    XML::LibXML::SAX::Parser=HASH(0x81fe220)
You have:
    XML::LibXML::SAX::Parser=HASH(0x96b8a98)
Looks good. 

Can anyone help with the others?
Thanks for your help.
Sander



--
View this message in context: http://koha.1045719.n5.nabble.com/Upgrading-to-16-01-Database-errors-tp5803335p5803338.html
Sent from the Koha-general mailing list archive at Nabble.com.


More information about the Koha mailing list