Hey Everyone, I posted earlier about trying to upgrade from 19.05 to 20.11 but was unable to solve all the issues after making the move. I decided to just go back to 19.05. I had updated to Debian Buster from Stretch. I installed 19.05 on Buster but ran into a problem with mojolicious not being the right version. A little investigation made me conclude that Buster/19.05 and the version of mojolicious weren't going to work together, but Buster/19.11 might. I installed 19.11 and passed the required prerequisites to do the upgrade. There was one error listed at the bottom of the install info when I hit the staff client during the upgrade: "Update errors : [Tue Feb 23 11:43:34 2021] updatedatabase.pl: Use of uninitialized value $INC[-1] in string eq at /usr/share/koha/lib/Koha/Plugins.pm line 37." I am also getting this error when I rebuild zebra on two of the three instances I am running: "Use of uninitialized value in subroutine entry at /usr/share/perl5/Module/Find.pm line 190." Find.pm line 190 includes the value @INC which makes me wonder if these are related, and perhaps I am missing something in a config file. I had some other strange things with Plack but was able to track them down, all instances do seem to be working. Any insights to the above error messages are appreciated. Thanks, Doug Dearden Director / Information Technology School for Advanced Research (SAR) PO Box 2188 / Santa Fe / NM / 87504-2188 505-954-7220 (work) / 505-690-1535 (cell) www.sarweb.org<http://www.sarweb.org/> EXPLORING HUMANITY. UNDERSTANDING OUR WORLD. Receive the SAR monthly E-News: SIGN UP HERE <https://sarweb.org/about/e-news-signup/>
Hi Doug Those kinds of errors usually are "safe" to ignore.They usually come from a function that is expecting a value in a variable/parameter, but there is no value. For example, a function that passes barcode as reference or to a next process but the item you are working with does not have a barcode defined. Sometimes those are minor bugs that, due to a variable/parameter not "cleaned/evaluated" correctly before using it, gives those kinds of errors. In the example above, function shall check if barcode is defined before trying to use it somewhere after. If you have checked the last version 20 update notice, there are several similar errors where an operation is tried to perform on an empty value. https://koha-community.org/koha-20-11-03-released/ in other bugs -> circulation In any case, it is a good idea to check what you are doing when that happens to try to pinpoint the problem. 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 Le mer. 24 févr. 2021 à 18:25, Doug Dearden <dearden@sarsf.org> a écrit :
Hey Everyone,
I posted earlier about trying to upgrade from 19.05 to 20.11 but was unable to solve all the issues after making the move. I decided to just go back to 19.05. I had updated to Debian Buster from Stretch. I installed 19.05 on Buster but ran into a problem with mojolicious not being the right version. A little investigation made me conclude that Buster/19.05 and the version of mojolicious weren't going to work together, but Buster/19.11 might. I installed 19.11 and passed the required prerequisites to do the upgrade.
There was one error listed at the bottom of the install info when I hit the staff client during the upgrade: "Update errors : [Tue Feb 23 11:43:34 2021] updatedatabase.pl: Use of uninitialized value $INC[-1] in string eq at /usr/share/koha/lib/Koha/Plugins.pm line 37."
I am also getting this error when I rebuild zebra on two of the three instances I am running: "Use of uninitialized value in subroutine entry at /usr/share/perl5/Module/Find.pm line 190."
Find.pm line 190 includes the value @INC which makes me wonder if these are related, and perhaps I am missing something in a config file.
I had some other strange things with Plack but was able to track them down, all instances do seem to be working.
Any insights to the above error messages are appreciated.
Thanks,
Doug Dearden Director / Information Technology School for Advanced Research (SAR) PO Box 2188 / Santa Fe / NM / 87504-2188 505-954-7220 (work) / 505-690-1535 (cell) www.sarweb.org<http://www.sarweb.org/>
EXPLORING HUMANITY. UNDERSTANDING OUR WORLD.
Receive the SAR monthly E-News: SIGN UP HERE < https://sarweb.org/about/e-news-signup/>
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
On 25/02/21 12:23 pm, Doug Dearden wrote:
Hey Everyone,
I posted earlier about trying to upgrade from 19.05 to 20.11 but was unable to solve all the issues after making the move. I decided to just go back to 19.05. I had updated to Debian Buster from Stretch. I installed 19.05 on Buster but ran into a problem with mojolicious not being the right version. A little investigation made me conclude that Buster/19.05 and the version of mojolicious weren't going to work together, but Buster/19.11 might. I installed 19.11 and passed the required prerequisites to do the upgrade.
hi Doug all current Koha 19.05, 19.11 and 20.11 packages should install on Debian 9 and 10, (and Ubuntu 16, 18 and 20) you can see more details below... ---------------- stable-deb10 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515221 oldstable-deb10 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515231 old2stable-deb10 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515240 ---------------- stable-deb9 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515222 oldstable-deb9 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515232 old2stable-deb9 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515241 cheers, Mason
Hey Mason, I got 19.05 to install on Buster and ran koha-restore successfully, but when I hit the staff client got a message that Mojolicious::Plugin::OpenAPI wasn't installed, but when I checked it was. I found this post where Fred King had the same problem: https://lists.katipo.co.nz/public/koha/2019-November/053883.html . His possible solutions didn't work for me so I decided to try 19.11 and the Mojolicious problem disappeared. I had read something about the version installed with Stretch being different than Buster and that 19.05 was looking for the version that Stretch installs. Your examples on gitlab show 19.11 (old2stable) but not 19.05. I did get 20.11 installed, but could not get the database to update correctly. See my earlier thread titled "Help debugging internal server error". I'm not alone, Scott replied to me that he is having the same issue moving from 20.05 to 20.11. I have a working system now so am not going to mess with it, I will try and upgrade when I can reconfigure some hardware as a test bed. If you have any insight regarding the database upgrade problem I welcome it. I can file a bug but could not find anything in the logs to indicate where the database update went wrong, and don't want to file a bug that just says it didn't work without any details. Thanks, Doug -----Original Message----- From: Mason James [mailto:mtj@kohaaloha.com] Sent: Thursday, February 25, 2021 3:11 AM To: Doug Dearden <dearden@sarsf.org>; koha@lists.katipo.co.nz Subject: Re: [Koha] Need help with a couple of errors On 25/02/21 12:23 pm, Doug Dearden wrote:
Hey Everyone,
I posted earlier about trying to upgrade from 19.05 to 20.11 but was unable to solve all the issues after making the move. I decided to just go back to 19.05. I had updated to Debian Buster from Stretch. I installed 19.05 on Buster but ran into a problem with mojolicious not being the right version. A little investigation made me conclude that Buster/19.05 and the version of mojolicious weren't going to work together, but Buster/19.11 might. I installed 19.11 and passed the required prerequisites to do the upgrade.
hi Doug all current Koha 19.05, 19.11 and 20.11 packages should install on Debian 9 and 10, (and Ubuntu 16, 18 and 20) you can see more details below... ---------------- stable-deb10 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515221 oldstable-deb10 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515231 old2stable-deb10 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515240 ---------------- stable-deb9 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515222 oldstable-deb9 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515232 old2stable-deb9 https://gitlab.com/mjames/ktd-test-pkgs/-/jobs/1054515241 cheers, Mason
participants (3)
-
Alvaro Cornejo -
Doug Dearden -
Mason James