[Koha] Plack error in koha 19.11.06
Alvaro Cornejo
cornejo.alvaro at gmail.com
Wed Jul 1 14:19:11 NZST 2020
Hi Mason,
Yes, I{ve just read the bug mentioned and follow comment 11 (git
json-validator) fixed the issue.
Note that I tried before the cpan route but get prerequisites versions
errors;
...
Running make for J/JH/JHTHORSEN/Mojolicious-Plugin-OpenAPI-3.33.tar.gz
Warning: Prerequisite 'JSON::Validator => 4.00' for
'JHTHORSEN/Mojolicious-Plugin-OpenAPI-3.33.tar.gz' failed when processing
'JHTHORSEN/JSON-Validator-4.01.tar.gz' with 'make => NO'. Continuing, but
chances to succeed are limited.
Warning: Prerequisite 'Mojolicious => 8.00' for
'JHTHORSEN/Mojolicious-Plugin-OpenAPI-3.33.tar.gz' failed when processing
'SRI/Mojolicious-8.56.tar.gz' with 'make => NO'. Continuing, but chances to
succeed are limited.
Warning: Prerequisite 'YAML::XS => 0.80' for
'JHTHORSEN/Mojolicious-Plugin-OpenAPI-3.33.tar.gz' failed when processing
'TINITA/YAML-LibYAML-0.82.tar.gz' with 'make => NO'. Continuing, but
chances to succeed are limited.
JHTHORSEN/Mojolicious-Plugin-OpenAPI-3.33.tar.gz
make -- NOT OK
No such file or directory
acornejo at Biblio:~$
Thanks!
Alvaro
|----------------------------------------------------------------------------------------|
Stay safe / Cuídate/ Reste sécurisé
*7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à
mesure.
*q *Recycle always / Recicla siempre / Recyclez toujours
P Print only if absolutely necessary / Imprime solo si es necesario /
Imprimez seulement si nécessaire
Le mar. 30 juin 2020 à 20:11, Mason James <mtj at kohaaloha.com> a écrit :
> hi Alvaro
>
> you have probably hit this bug...
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653
>
> a temporary workaround is described in comment 11
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653#c11
>
> $ git clone https://github.com/mojolicious/json-validator
> $ cd json-validator
> $ git reset --hard 3.06
> HEAD is now at 8b19ba0 Released version 3.06
>
> $ sudo cp -a ./lib/JSON/Validator/cache /usr/share/perl5/JSON/Validator/
>
> cheers, Mason
>
>
> On 1/07/20 10:34 am, Alvaro Cornejo wrote:
> > Hi
> >
> > Since this morning we start to have this errors in plack:
> >
> > Error while loading /etc/koha/plack.psgi: Can't load application from
> file
> > "/usr/share/koha/api/v1/app.pl": [JSON::Validator] GET
> > http://swagger.io/v2/schema.json == Connect timeout at
> > /usr/share/perl5/JSON/Validator.pm line 274.
> > Compilation failed in require at (eval 397) line 1.
> > Child process 6058 exited with status 115
> > Error while loading /etc/koha/plack.psgi: Can't load application from
> file
> > "/usr/share/koha/api/v1/app.pl": [JSON::Validator] GET
> > http://swagger.io/v2/schema.json == Connect timeout at
> > /usr/share/perl5/JSON/Validator.pm line 274.
> > Compilation failed in require at (eval 397) line 1.
> > Child process 6063 exited with status 115
> > Error while loading /etc/koha/plack.psgi: Can't load application from
> file
> > "/usr/share/koha/api/v1/app.pl": [JSON::Validator] GET
> > http://swagger.io/v2/schema.json == Connect timeout at
> > /usr/share/perl5/JSON/Validator.pm line 274.
> > Compilation failed in require at (eval 397) line 1.
> > Child process 6074 exited with status 115
> > Error while loading /etc/koha/plack.psgi: Can't load application from
> file
> > "/usr/share/koha/api/v1/app.pl": [JSON::Validator] GET
> > http://swagger.io/v2/schema.json == Connect timeout at
> > /usr/share/perl5/JSON/Validator.pm line 274.
> > Compilation failed in require at (eval 397) line 1.
> > Child process 6077 exited with status 115
> > Error while loading /etc/koha/plack.psgi: Can't load application from
> file
> > "/usr/share/koha/api/v1/app.pl": [JSON::Validator] GET
> > http://swagger.io/v2/schema.json == Connect timeout at
> > /usr/share/perl5/JSON/Validator.pm line 274.
> > Compilation failed in require at (eval 397) line 1.
> > Child process 6081 exited with status 115
> > Error while loading /etc/koha/plack.psgi: Can't load application from
> file
> > "/usr/share/koha/api/v1/app.pl": [JSON::Validator] GET
> > http://swagger.io/v2/schema.json == Connect timeout at
> > /usr/share/perl5/JSON/Validator.pm line 274.
> > Compilation failed in require at (eval 397) line 1.
> > Child process 6084 exited with status 115
> >
> > We tried to disable/enable stop/start plack and restarted apache2 but
> > errors continue.
> >
> > We have temporarily disable plack so work can continue with koha
> >
> > What can be the cause?
> >
> > Regards,
> >
> > Alvaro
> >
> >
> >
> >
> |----------------------------------------------------------------------------------------|
> > Stay safe / Cuídate/ Reste sécurisé
> > *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à
> > mesure.
> > *q *Recycle always / Recicla siempre / Recyclez toujours
> > P Print only if absolutely necessary / Imprime solo si es necesario /
> > Imprimez seulement si nécessaire
> > _______________________________________________
> >
> > Koha mailing list http://koha-community.org
> > Koha at lists.katipo.co.nz
> > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
>
More information about the Koha
mailing list