[Koha] Update Debian and Koha ceases to work...

Joe Atzberger ohiocore at gmail.com
Fri May 23 08:30:26 NZST 2008


You could reinstall any perl pre-requisites now that you have perl 5.10 or
add 5.8's path to the baseline @INC for your Koha user.  There are likely to
some bugs with 5.10 changes that aren't yet discovered.  So you could also
revert back to 5.8 altogether (uninstall 5.10).
--Joe

On Thu, May 22, 2008 at 1:48 PM, atrus123 <atrus123 at gmail.com> wrote:

>
> So I did a full dist-upgrade of Debian Lenny the other day (following the
> whole SSL debacle) and now Koha will no longer open.  This is just a test
> machine, but I like to have everything working so we can continue testing.
>
> Anyway at first the Apache error log looked like this:
> ---------
> BEGIN failed--compilation aborted at
> /home/myuser/kohaclone/opac/opac-main.pl line 22.
> Can't locate CGI/Session.pm in @INC (@INC contains: /home/myuser/kohaclone
> /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0
> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl .) at /home/myuser/kohaclone/C4/Auth.pm line 26.
> BEGIN failed--compilation aborted at /home/myuser/kohaclone/C4/Auth.pm line
> 26.
> Compilation failed in require at /home/myuser/kohaclone/opac/errors/500.pl
> line 21.
> BEGIN failed--compilation aborted at
> /home/myuser/kohaclone/opac/errors/500.pl line 21.
> ----------
> I found that my Perl modules were actually located under 5.8.0.  I fixed
> that just using a symbolic link, and most errors went away.
>
> Now I just get several lines of this:
> ------------
> Can't locate object method "preference" via package "C4::Context" at
> /home/myuser/kohaclone/C4/Context.pm line 30.
> Can't locate object method "preference" via package "C4::Context" at
> /home/myuser/kohaclone/C4/Context.pm line 30.
> Can't locate object method "preference" via package "C4::Context" at
> /home/myuser/kohaclone/C4/Context.pm line 30.
> -------------
> Any thoughts?  I also tried synching Koha with the latest git tree and
> updating Debian again, but nothing seems to have fixed the problem.
> KOHA_CONF and PERL5LIB are pointing to the correct locations.
> --
> View this message in context:
> http://www.nabble.com/Update-Debian-and-Koha-ceases-to-work...-tp17409773p17409773.html
> Sent from the Koha - Discuss mailing list archive at Nabble.com.
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080522/fb92b827/attachment-0001.htm 


More information about the Koha mailing list