On 1/07/20 3:32 pm, Mason James wrote:

On 1/07/20 2:39 pm, [email protected] wrote:

Hi all,

As some people have noticed, http://swagger.io/v2/schema.json is currently 
unavailable, and this is causing new instances of Plack workers to crash. (New 
instances can be created by starting Plack or by long-running workers to reach 
their end of life number of requests.)

The issue is detailed at length in 
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653.

I think the solution will be for Mason to a libjson-validator-perl package 
which contains a cached version of that file.


hi Folks
i've updated the 'libjson-validator-perl' package to include the cache dir

to update the package...
$ sudo apt update
$ sudo apt install libjson-validator-perl

run the following command, and confirm the result...
$ apt-cache policy  libjson-validator-perl
libjson-validator-perl:
  Installed: 3.06+dfsg-1+koha1
  Candidate: 3.06+dfsg-1+koha1
...

cheers, Mason

i've updated a newer libjson-validator-perl package, to work up to 
debian/ubuntu 'unstable'

$ sudo apt-get -y update
$ sudo apt-get -y install  libjson-validator-perl 
libmojolicious-plugin-openapi-perl


you should now have similar versions as below
$ apt-cache policy libjson-validator-perl libmojolicious-plugin-openapi-perl

libjson-validator-perl:
  Installed: 3.25+dfsg-1+koha3
  Candidate: 3.25+dfsg-1+koha3
  Version table:
 *** 3.25+dfsg-1+koha3 500
        500 http://debian.koha-community.org/koha stable/main amd64 Packages
        100 /var/lib/dpkg/status
     ..

libmojolicious-plugin-openapi-perl:
  Installed: 2.16-1+koha1
  Candidate: 2.16-1+koha1
  Version table:
 *** 2.16-1+koha1 500
        500 http://debian.koha-community.org/koha stable/main amd64 Packages
        100 /var/lib/dpkg/status


_______________________________________________

Koha mailing list  http://koha-community.org
[email protected]
Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to