<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:"Wingdings 3";
        panose-1:5 4 1 2 1 8 7 7 7 7;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi Alvaro,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I think that I actually had a similar experience on Bionic. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>For the time being, it might just be best to follow the workaround at <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653#c11">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653#c11</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Although <a href="http://swagger.io/v2/schema.json">http://swagger.io/v2/schema.json</a> is back up so you shouldn’t experience the program again (while it’s still up).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>David Cook<o:p></o:p></p><p class=MsoNormal>Systems Librarian<o:p></o:p></p><p class=MsoNormal>Prosentient Systems<o:p></o:p></p><p class=MsoNormal>72/330 Wattle St<o:p></o:p></p><p class=MsoNormal>Ultimo, NSW 2007<o:p></o:p></p><p class=MsoNormal>Australia<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Office: 02 9212 0899<o:p></o:p></p><p class=MsoNormal>Online: 02 8005 0595<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Alvaro Cornejo <cornejo.alvaro@gmail.com> <br><b>Sent:</b> Thursday, 2 July 2020 7:17 AM<br><b>To:</b> dcook@prosentient.com.au<br><b>Cc:</b> Mason James <mtj@kohaaloha.com>; Koha Devel <koha-devel@lists.koha-community.org><br><b>Subject:</b> Re: [Koha] [Koha-devel] Plack down due to "GET http://swagger.io/v2/schema.json == Connect timeout"<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hi<o:p></o:p></p></div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I tried to install the json validator and get packages kept back<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>acornejo@Biblio:~$ sudo apt upgrade<br>Reading package lists... Done<br>Building dependency tree<br>Reading state information... Done<br>Calculating upgrade... Done<br>The following packages have been kept back:<br>  libjson-validator-perl libmojolicious-perl libmojolicious-plugin-openapi-perl<br>0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>So I tried to install them manually<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>acornejo@Biblio:~$ sudo apt install libjson-validator-perl libmojolicious-perl libmojolicious-plugin-openapi-perl<br>Reading package lists... Done<br>Building dependency tree<br>Reading state information... Done<br>Some packages could not be installed. This may mean that you have<br>requested an impossible situation or if you are using the unstable<br>distribution that some required packages have not yet been created<br>or been moved out of Incoming.<br>The following information may help to resolve the situation:<br><br>The following packages have unmet dependencies:<br> libmojolicious-plugin-openapi-perl : Depends: libyaml-libyaml-perl (>= 0.75) but it is not going to be installed<br>E: Unable to correct problems, you have held broken packages.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>So I removed  libmojolicious-plugin-openapi-perl  from install and upgrade went ok<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>acornejo@Biblio:~$ sudo apt install libjson-validator-perl libmojolicious-perl<br>Reading package lists... Done<br>Building dependency tree<br>Reading state information... Done<br>The following packages were automatically installed and are no longer required:<br>  linux-headers-4.15.0-106 linux-headers-4.15.0-106-generic linux-image-4.15.0-106-generic linux-modules-4.15.0-106-generic<br>  linux-modules-extra-4.15.0-106-generic<br>Use 'sudo apt autoremove' to remove them.<br>The following additional packages will be installed:<br>  libdata-validate-domain-perl libdata-validate-ip-perl libnet-ipv6addr-perl libnetaddr-ip-perl libnetwork-ipv4addr-perl<br>Recommended packages:<br>  libyaml-libyaml-perl<br>The following NEW packages will be installed:<br>  libdata-validate-domain-perl libdata-validate-ip-perl libnet-ipv6addr-perl libnetaddr-ip-perl libnetwork-ipv4addr-perl<br>The following packages will be upgraded:<br>  libjson-validator-perl libmojolicious-perl<br>2 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.<br>Need to get 975 kB of archives.<br>After this operation, 563 kB of additional disk space will be used.<br>Do you want to continue? [Y/n] y<br>Get:1 <a href="http://mirrors.linode.com/ubuntu" target="_blank">http://mirrors.linode.com/ubuntu</a> bionic/universe amd64 libdata-validate-domain-perl all 0.10-1 [11.0 kB]<br>Get:2 <a href="http://mirrors.linode.com/ubuntu" target="_blank">http://mirrors.linode.com/ubuntu</a> bionic/universe amd64 libnetwork-ipv4addr-perl all 0.10.ds-2 [14.0 kB]<br>Get:3 <a href="http://mirrors.linode.com/ubuntu" target="_blank">http://mirrors.linode.com/ubuntu</a> bionic/universe amd64 libnet-ipv6addr-perl all 0.2.dfsg.1-3 [10.2 kB]<br>Get:4 <a href="http://mirrors.linode.com/ubuntu" target="_blank">http://mirrors.linode.com/ubuntu</a> bionic/main amd64 libnetaddr-ip-perl amd64 4.079+dfsg-1build2 [81.2 kB]<br>Get:5 <a href="http://mirrors.linode.com/ubuntu" target="_blank">http://mirrors.linode.com/ubuntu</a> bionic/universe amd64 libdata-validate-ip-perl all 0.27-1 [14.9 kB]<br>Get:6 <a href="http://debian.koha-community.org/koha" target="_blank">http://debian.koha-community.org/koha</a> 19.11/main amd64 libmojolicious-perl all 8.12+dfsg-1.2~koha1 [794 kB]<br>Get:7 <a href="http://debian.koha-community.org/koha" target="_blank">http://debian.koha-community.org/koha</a> 19.11/main amd64 libjson-validator-perl all 3.06+dfsg-1+koha1 [50.5 kB]<br>Fetched 975 kB in 0s (2,021 kB/s)<br>Selecting previously unselected package libdata-validate-domain-perl.<br>(Reading database ... 182279 files and directories currently installed.)<br>Preparing to unpack .../0-libdata-validate-domain-perl_0.10-1_all.deb ...<br>Unpacking libdata-validate-domain-perl (0.10-1) ...<br>Selecting previously unselected package libnetwork-ipv4addr-perl.<br>Preparing to unpack .../1-libnetwork-ipv4addr-perl_0.10.ds-2_all.deb ...<br>Unpacking libnetwork-ipv4addr-perl (0.10.ds-2) ...<br>Selecting previously unselected package libnet-ipv6addr-perl.<br>Preparing to unpack .../2-libnet-ipv6addr-perl_0.2.dfsg.1-3_all.deb ...<br>Unpacking libnet-ipv6addr-perl (0.2.dfsg.1-3) ...<br>Selecting previously unselected package libnetaddr-ip-perl.<br>Preparing to unpack .../3-libnetaddr-ip-perl_4.079+dfsg-1build2_amd64.deb ...<br>Unpacking libnetaddr-ip-perl (4.079+dfsg-1build2) ...<br>Selecting previously unselected package libdata-validate-ip-perl.<br>Preparing to unpack .../4-libdata-validate-ip-perl_0.27-1_all.deb ...<br>Unpacking libdata-validate-ip-perl (0.27-1) ...<br>Preparing to unpack .../5-libmojolicious-perl_8.12+dfsg-1.2~koha1_all.deb ...<br>Unpacking libmojolicious-perl (8.12+dfsg-1.2~koha1) over (7.59+dfsg-1ubuntu1) ...<br>Preparing to unpack .../6-libjson-validator-perl_3.06+dfsg-1+koha1_all.deb ...<br>Unpacking libjson-validator-perl (3.06+dfsg-1+koha1) over (1.08+dfsg-1) ...<br>Setting up libmojolicious-perl (8.12+dfsg-1.2~koha1) ...<br>Setting up libnetwork-ipv4addr-perl (0.10.ds-2) ...<br>Setting up libnetaddr-ip-perl (4.079+dfsg-1build2) ...<br>Setting up libjson-validator-perl (3.06+dfsg-1+koha1) ...<br>Setting up libdata-validate-domain-perl (0.10-1) ...<br>Setting up libnet-ipv6addr-perl (0.2.dfsg.1-3) ...<br>Setting up libdata-validate-ip-perl (0.27-1) ...<br>Processing triggers for man-db (2.8.3-2ubuntu0.1) ...<br>acornejo@Biblio:~$<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>However, plack crashed again with the following error:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Error while loading /etc/koha/plack.psgi: Can't load application from file "/usr/share/koha/api/v1/<a href="http://app.pl" target="_blank">app.pl</a>": Can't locate JSON/Validator/OpenAPI/Mojolicious.pm in @INC (you may need to install the JSON::Validator::OpenAPI::Mojolicious 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.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base /var/lib/koha/biblioteca/plugins) at /usr/share/koha/lib/Koha/REST/V1.pm line 23.<br>BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/REST/V1.pm line 23.<br>Compilation failed in require at (eval 399) line 1.<br>Compilation failed in require at (eval 398) line 1.<br>Child process 11108 exited with status 255<br>Error while loading /etc/koha/plack.psgi: Can't load application from file "/usr/share/koha/api/v1/<a href="http://app.pl" target="_blank">app.pl</a>": Can't locate JSON/Validator/OpenAPI/Mojolicious.pm in @INC (you may need to install the JSON::Validator::OpenAPI::Mojolicious 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.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base /var/lib/koha/biblioteca/plugins) at /usr/share/koha/lib/Koha/REST/V1.pm line 23.<br>BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/REST/V1.pm line 23.<br>Compilation failed in require at (eval 399) line 1.<br>Compilation failed in require at (eval 398) line 1.<br>Child process 11109 exited with status 255<br>Error while loading /etc/koha/plack.psgi: Can't load application from file "/usr/share/koha/api/v1/<a href="http://app.pl" target="_blank">app.pl</a>": Can't locate JSON/Validator/OpenAPI/Mojolicious.pm in @INC (you may need to install the JSON::Validator::OpenAPI::Mojolicious 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.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base /var/lib/koha/biblioteca/plugins) at /usr/share/koha/lib/Koha/REST/V1.pm line 23.<br>BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/REST/V1.pm line 23.<br>Compilation failed in require at (eval 399) line 1.<br>Compilation failed in require at (eval 398) line 1.<br>Child process 11111 exited with status 255<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>By now, I´ve to dissabled plack<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Any ideas?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Alvaro<o:p></o:p></p></div><div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><div><div><div><div><p class=MsoNormal><span style='font-size:14.0pt;color:black'>|----------------------------------------------------------------------------------------|</span><o:p></o:p></p></div><div><p class=MsoNormal><img border=0 width=20 height=15 style='width:.2083in;height:.1562in' id="_x0000_i1025" src="https://drive.google.com/uc?id=1lpgSKUunPpKrvmS1rja7umnEgiqBa_vD&export=download"> <span style='font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#500050'>Stay safe / Cuídate/  Reste sécurisé</span><o:p></o:p></p></div><div><p class=MsoNormal><b><i><span style='font-size:14.0pt;font-family:"Wingdings 3";color:#C00000'>7</span></i></b><span style='font-size:14.0pt;font-family:Consolas;color:#C00000'> </span><span style='font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#500050'>Switch off as you go / Apaga lo que no usas /  Débranchez au fur et à mesure.</span><o:p></o:p></p><div><p class=MsoNormal><span style='color:#17365D'> </span><b><span style='font-size:14.0pt;font-family:Webdings;color:#00B0F0'>q </span></b><span style='font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#500050'>Recycle always / Recicla siempre / Recyclez toujours</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='color:#17365D'> </span><span style='font-size:14.0pt;font-family:Webdings;color:#00B050'>P</span><span style='font-family:Consolas;color:#17365D'> </span><span style='font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#500050'>Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire</span><o:p></o:p></p></div></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Le mer. 1 juil. 2020 à 02:24, <<a href="mailto:dcook@prosentient.com.au" target="_blank">dcook@prosentient.com.au</a>> a écrit :<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal>Thanks, Mason!<br><br>I think Mason has released a newer version now 3.23+dfsg-1+koha1, which was needed for newer versions of Ubuntu, which used newer versions of libjson-validator-perl than 3.06.<br><br>So the fix now should just be:<br><br>apt-get update<br>apt-get install libjson-validator-perl<br><br>David Cook<br>Systems Librarian<br>Prosentient Systems<br>72/330 Wattle St<br>Ultimo, NSW 2007<br>Australia<br><br>Office: 02 9212 0899<br>Online: 02 8005 0595<br><br>-----Original Message-----<br>From: Koha-devel <<a href="mailto:koha-devel-bounces@lists.koha-community.org" target="_blank">koha-devel-bounces@lists.koha-community.org</a>> On Behalf Of Mason James<br>Sent: Wednesday, 1 July 2020 1:32 PM<br>To: 'Koha Devel' <<a href="mailto:koha-devel@lists.koha-community.org" target="_blank">koha-devel@lists.koha-community.org</a>>; <a href="mailto:koha@lists.katipo.co.nz" target="_blank">koha@lists.katipo.co.nz</a><br>Subject: Re: [Koha-devel] Plack down due to "GET <a href="http://swagger.io/v2/schema.json" target="_blank">http://swagger.io/v2/schema.json</a> == Connect timeout"<br><br><br>On 1/07/20 2:39 pm, <a href="mailto:dcook@prosentient.com.au" target="_blank">dcook@prosentient.com.au</a> wrote:<br>><br>> Hi all,<br>><br>> As some people have noticed, <a href="http://swagger.io/v2/schema.json" target="_blank">http://swagger.io/v2/schema.json</a> is <br>> currently unavailable, and this is causing new instances of Plack <br>> workers to crash. (New instances can be created by starting Plack or <br>> by long-running workers to reach their end of life number of <br>> requests.)<br>><br>> The issue is detailed at length in <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653" target="_blank">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23653</a>.<br>><br>> I think the solution will be for Mason to a libjson-validator-perl package which contains a cached version of that file.<br>><br><br>hi Folks<br>i've updated the 'libjson-validator-perl' package to include the cache dir<br><br>to update the package...<br>$ sudo apt update<br>$ sudo apt install libjson-validator-perl<br><br>run the following command, and confirm the result...<br>$ apt-cache policy  libjson-validator-perl<br>libjson-validator-perl:<br>   Installed: 3.06+dfsg-1+koha1<br>   Candidate: 3.06+dfsg-1+koha1<br>...<br><br>cheers, Mason<br>_______________________________________________<br>Koha-devel mailing list<br><a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br><a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a> git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a> bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br><br>_______________________________________________<br><br>Koha mailing list  <a href="http://koha-community.org" target="_blank">http://koha-community.org</a><br><a href="mailto:Koha@lists.katipo.co.nz" target="_blank">Koha@lists.katipo.co.nz</a><br>Unsubscribe: <a href="https://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">https://lists.katipo.co.nz/mailman/listinfo/koha</a><o:p></o:p></p></blockquote></div></blockquote></div></div></div></body></html>