[Koha-bugs] [Bug 7857] database upgrade fails with plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Mar 31 00:56:19 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7857

Dobrica Pavlinusic <dpavlin at rot13.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8726|0                           |1
        is obsolete|                            |

--- Comment #2 from Dobrica Pavlinusic <dpavlin at rot13.org> ---
Created attachment 8729
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8729&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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list