[Koha-devel] Can't search after loading a 3.8 sql dump into 3.10

Fridolyn SOMERS fridolyn.somers at biblibre.com
Mon Dec 10 14:59:37 CET 2012


I think about BZ3087 :
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3087

Le 10/12/2012 14:00, Magnus Enger a écrit :
> 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
> Koha-devel at lists.koha-community.org
> 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/


-- 
Fridolyn SOMERS
Biblibre - Pôle Support
fridolyn.somers at biblibre.com <mailto:fridolyn.somers at biblibre.com>
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20121210/71d7c90d/attachment.html>


More information about the Koha-devel mailing list