I have an instance running 3.8.7 off the official packages. I take the
.sql.gz file produced by the backup-script in that installation and
move it to another server where I have installed 3.10, again from the
official packages. Then I create a new 3.10 instance on the new server
with the same name as the instance on the old server ("esme"), gunzip
the sql dump file and load it into the new installation, with this:sudo koha-mysql myinstance < dump.sql Then I do: sudo koha-upgrade-schema esme sudo koha-rebuild-zebra -f esme Everything looks good (the output from koha-upgrade-schema is here: http://paste.koha-community.org/304), but I can't search in the new installation. I get a search results page that has: 1. "You did not specify any search criteria." in the title of the page 2. "Error: Can't call method "raw" on an undefined value at /usr/share/koha/lib/C4/Search.pm line 461." in the body of the page. The only thing that happens in /var/log/koha/esme/opac-error.log is this, which seems benign: [Mon Dec 10 13:29:35 2012] [error] [client x.x.x.x] [Mon Dec 10 13:29:35 2012] opac-search.pl: Use of uninitialized value $error in concatenation (.) or string at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 509., referer: http://esme.testing.bibkat.no/cgi-bin/koha/opac-main.pl If I create another instance on the new server, run through the web installer manually then export the records from the old server and stage/import them into the new server then searching works just fine (after I run koha-rebuild-zebra -f). As far as I can tell, the contents of /etc/koha/sites/esme/zebra-biblios.cfg are identical for the two instances. Reindexing looks like this: $ sudo koha-rebuild-zebra -f -v esme Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/esme/biblios Zebra authorities directory = /var/lib/koha/esme/authorities Koha directory = /usr/share/koha/intranet/cgi-bin BIBLIONUMBER in : 999$c BIBLIOITEMNUMBER in : 999$d ================================ skipping authorities ==================== exporting biblio ==================== 101.................................................................................................. Records exported: 150 ==================== REINDEXING zebra ==================== ==================== CLEANING ==================== Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/esme/biblios Zebra authorities directory = /var/lib/koha/esme/authorities Koha directory = /usr/share/koha/intranet/cgi-bin BIBLIONUMBER in : 999$c BIBLIOITEMNUMBER in : 999$d ================================ ==================== exporting authority ==================== Records exported: 0 ==================== REINDEXING zebra ==================== skipping biblios ==================== CLEANING ==================== Anyone got any clues about what could be happening here? Best regards, Magnus Enger libriotech.no _______________________________________________ Koha-devel mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
