Koha/Script.pm Installation Needed
Good morning, all! A few minutes ago I tried to run ... /migration_tools/ remove_unused_authorities.pl . Alas, Perl aborted at line 25 and reported that complained that Koha/Script.pm could not be found; and subsequently recommended that Koha/Script.pm be installed. Well, I hate to disagree with my esteemed colleague Perl, but it is installed. It's in /usr/share/koha/bin/Koha/Script.pm . How do I fix this? Running Koha 20.05 on Debian Stretch. Thanks, everyone! -- 気を付けて。 /ki wo tukete/ = Take care. -- Charles. Charles Kelley, MLS PSC 704 Box 1029 APO AP 96338 Charles Kelley Tsukimino 1-Chome 5-2 Tsukimino Gaadenia #210 Yamato-shi, Kanagawa-ken 〒242-0002 JAPAN +1-301-741-7122 [US cell] +81-80-4356-2178 [JPN cell] mnogojazyk@aol.com [h] cmkelleymls@gmail.com [p] linkedin.com/in/cmkelleymls <http://www.linkedin.com/in/cmkelleymls> Meeting Your Information Needs. Virtually.
Hello charles, Did you check permission? El lun., 19 de octubre de 2020 7:07 p. m., Charles Kelley < cmkelleymls@gmail.com> escribió:
Good morning, all!
A few minutes ago I tried to run ... /migration_tools/ remove_unused_authorities.pl . Alas, Perl aborted at line 25 and reported that complained that Koha/Script.pm could not be found; and subsequently recommended that Koha/Script.pm be installed.
Well, I hate to disagree with my esteemed colleague Perl, but it is installed. It's in /usr/share/koha/bin/Koha/Script.pm .
How do I fix this?
Running Koha 20.05 on Debian Stretch.
Thanks, everyone!
--
気を付けて。 /ki wo tukete/ = Take care.
-- Charles.
Charles Kelley, MLS PSC 704 Box 1029 APO AP 96338
Charles Kelley Tsukimino 1-Chome 5-2 Tsukimino Gaadenia #210 Yamato-shi, Kanagawa-ken 〒242-0002 JAPAN
+1-301-741-7122 [US cell] +81-80-4356-2178 [JPN cell]
mnogojazyk@aol.com [h] cmkelleymls@gmail.com [p]
linkedin.com/in/cmkelleymls <http://www.linkedin.com/in/cmkelleymls> Meeting Your Information Needs. Virtually. _______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hello, Luis! In our latest exchange, on 20 Oct. 2020 at 8:11 AM, you Luis Moises Rojas <lmoisesrojas@gmail.com> wrote: Did you check permission?
In an earlier exchange, on 20 Oct. 2020 at 8:06 AM, I wrote: A few minutes ago I tried to run ... /migration_tools/
remove_unused_authorities.pl . Alas, Perl aborted at line 25 and reported that complained that Koha/Script.pm could not be found; and subsequently recommended that Koha/Script.pm be installed.
Well, I hate to disagree with my esteemed colleague Perl, but it is installed. It's in /usr/share/koha/bin/Koha/Script.pm .
How do I fix this?
Running Koha 20.05 on Debian Stretch.
I don't understand. I logged in as root. Please explain. -- 気を付けて。 /ki wo tukete/ = Take care. -- Charles. Charles Kelley, MLS PSC 704 Box 1029 APO AP 96338 Charles Kelley Tsukimino 1-Chome 5-2 Tsukimino Gaadenia #210 Yamato-shi, Kanagawa-ken 〒242-0002 JAPAN +1-301-741-7122 [US cell] +81-80-4356-2178 [JPN cell] mnogojazyk@aol.com [h] cmkelleymls@gmail.com [p] linkedin.com/in/cmkelleymls <http://www.linkedin.com/in/cmkelleymls> Meeting Your Information Needs. Virtually.
Hi Charles
Did you check permission? ... I don't understand. I logged in as root. Please explain.
File "Script.pm" needs to belong to root and have 0644 permission. # cd /usr/share/koha/lib/Koha # ls -al Script.pm -rw-r--r-- 1 root root 1829 Dez 30 2019 Script.pm If it doesn't you would have to change it accordingly. Hope this helps. Best wishes: Michael -- Geschäftsführer · Diplombibliothekar BBS, Informatiker eidg. Fachausweis Admin Kuhn GmbH · Pappelstrasse 20 · 4123 Allschwil · Schweiz T 0041 (0)61 261 55 61 · E mik@adminkuhn.ch · W www.adminkuhn.ch
hi Charles the best way to run any koha script is to use koha-shell $ sudo koha-shell -c '/usr/share/koha/bin/migration_tools/remove_unused_authorities.pl --help ' mykoha On 20/10/20 12:06 pm, Charles Kelley wrote:
Good morning, all!
A few minutes ago I tried to run ... /migration_tools/ remove_unused_authorities.pl . Alas, Perl aborted at line 25 and reported that complained that Koha/Script.pm could not be found; and subsequently recommended that Koha/Script.pm be installed.
Well, I hate to disagree with my esteemed colleague Perl, but it is installed. It's in /usr/share/koha/bin/Koha/Script.pm .
How do I fix this?
Running Koha 20.05 on Debian Stretch.
Thanks, everyone!
participants (4)
-
Charles Kelley -
Luis Moises Rojas -
Mason James -
Michael Kuhn