Hi People I have completed the 'koha-upgrade-to-3.4' script. If I now go to the 'Web Installation' section in a web browser, I get the attached error... "Software error: Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/DBI.pm line 2054." I have checked the Koha log, which shows this... [Wed Aug 28 14:44:27 2013] [error] [client 192.168.1.153] [Wed Aug 28 14:44:27 2013] opac-main.pl: OPAC: Database update needed, redirecting to maintenance. Database is 3.0001007 and Koha is 3.1203000 at /usr/share/koha/lib/C4/Auth.pm line 580. [Wed Aug 28 14:44:28 2013] [error] [client 192.168.1.153] [Wed Aug 28 14:44:28 2013] maintenance.pl: DBD::mysql::st execute failed: Unknown column 'c.show_in_pulldown' in 'where clause' at /usr/share/koha/lib/C4/Branch.pm line 366. [Wed Aug 28 14:44:28 2013] [error] [client 192.168.1.153] [Wed Aug 28 14:44:28 2013] maintenance.pl: Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/DBI.pm line 2054. [Wed Aug 28 14:44:28 2013] [error] [client 192.168.1.153] File does not exist: /usr/share/koha/opac/htdocs/favicon.ico [Wed Aug 28 14:44:29 2013] [error] [client 192.168.1.153] [Wed Aug 28 14:44:29 2013] 404.pl: OPAC: Database update needed, redirecting to maintenance. Database is 3.0001007 and Koha is 3.1203000 at /usr/share/koha/lib/C4/Auth.pm line 580. [Wed Aug 28 14:44:30 2013] [error] [client 192.168.1.153] [Wed Aug 28 14:44:30 2013] maintenance.pl: DBD::mysql::st execute failed: Unknown column 'c.show_in_pulldown' in 'where clause' at /usr/share/koha/lib/C4/Branch.pm line 366. [Wed Aug 28 14:44:30 2013] [error] [client 192.168.1.153] [Wed Aug 28 14:44:30 2013] maintenance.pl: Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/DBI.pm line 2054. ...can you help? -- Paul Littlefield
Paul Littlefield schreef op wo 11-09-2013 om 15:49 [+0100]:
I have completed the 'koha-upgrade-to-3.4' script.
If I now go to the 'Web Installation' section in a web browser, I get the attached error...
It looks like that page can't handle the outdated datebase structure. It should be able to, the column it's complaining about only came in in 3.12, so that's a bug. Anyway, you might have more success updating from the command line. You can do this with the "koha-upgrade-schema" script: $ sudo koha-upgrade-schema libraryname That should cause that column to be created. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
participants (2)
-
Paul Littlefield -
Robin Sheat