[Koha] Plack error in koha 19.11.06
Mason James
mtj at kohaaloha.com
Wed Jul 1 13:11:32 NZST 2020
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