[Koha] Help Installing Plack on Koha 17.11
Piotr Wejman
ropuch at bagno.be
Wed May 2 08:40:10 NZST 2018
Hi,
I've just finished setting Plack, so few tips which you may find helpfull:
- you probably need to install libcgi-emulate-psgi-perl
libcgi-compile-perl (not sure if packaged for Ubuntu 16.04, I'm using
Debian 9.4)
- If you;re missing any perl modules, try to google them first and check if
they have been packaged for your OS, sometimes package name is tricky to
find with apt
- if you're enabling Plack for existing instance, check if you have
plack-related Include lines in your
/etc/apache2/sites-available/$INSTANCE.conf
(I've just filled a bug for this:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20692)
- after Plack is tarted, you should see entries
in /var/log/koha/$instance/plack.log when any page is accessed
Hope this will help.
Piotr
2018-05-01 21:30 GMT+02:00 ksorbo <keith at thesorbos.com>:
> I followed those koha-plack steps.
>
> When I do that I get the following error in my
> /var/log/koha/plack-error.log
>
> -------------------------------------
> Error while loading /etc/koha/plack.psgi: Can't locate CGI/Emulate/PSGI.pm
> in @INC (you may need to install the CGI::Emulate::PSGI module) (@INC
> contains: /usr/share/koha/lib /usr/share/koha/installer
> /usr/share/koha/lib/installer /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1
> /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5
> /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22
> /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at
> /usr/share/perl5/Plack/App/WrapCGI.pm line 7.
> BEGIN failed--compilation aborted at /usr/share/perl5/Plack/App/WrapCGI.pm
> line 7.
> Compilation failed in require at /usr/share/perl5/Plack/App/CGIBin.pm line
> 6.
> BEGIN failed--compilation aborted at /usr/share/perl5/Plack/App/CGIBin.pm
> line 6.
> Compilation failed in require at /etc/koha/plack.psgi line 21.
> BEGIN failed--compilation aborted at /etc/koha/plack.psgi line 21.
> ---------------------------------------------------------
>
> I should note that since the first posting in this thread, I did a full
> reinstall on a blank Ubuntu 16.04 server. I got no errors in any part of
> the
> install process, but plack is definitely not working. Could it be that the
> install process is failing somewhere. (I am not sure the cron jobs are set
> up correctly either.)
>
>
>
> --
> Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
More information about the Koha
mailing list