[Koha-bugs] [Bug 7857] database upgrade fails with plack
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 1 19:35:40 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7857
Paul Poulain <paul.poulain at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #8729|0 |1
is obsolete| |
--- Comment #8 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 9888
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9888&action=edit
Bug 7857 - database upgrade fails with plack
Updating database structure
Update errors :
Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 .) at
/srv/koha/installer/data/mysql/updatedatabase.pl line 37.
BEGIN failed--compilation aborted at
/srv/koha/installer/data/mysql/updatedatabase.pl line 37.
It seems that plack cleans enviroment, so we have to re-instart PERL5LIB
so script invocation won't fail.
It also fixes exit 1 which fail with plack.
Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list