On 1/07/21 6:49 pm, Michael Kuhn wrote:
Hi David
You wrote:
Thank you for your quick reply. I looked up the page you referred to, and also found the command .... just where it was supposed to be, but when I tried to run it, this is what happened:
/usr/share/koha/bin*$ link_bibs_to_authorities.pl -bash: link_bibs_to_authorities.pl > *command not found*
As you can tell I am no linux expert ... so I'm not sure what to do next to get this to work.
Thank you for any help you can give,
Please always anser to the mailinglist!
You first need to set the correct environment.
# INSTANCE=yourinstance # export KOHA_CONF=/etc/koha/sites/${INSTANCE}/koha-conf.xml # export PERL5LIB=/usr/share/koha/lib
Then as Linux user "root" run
# /usr/share/koha/bin/link_bibs_to_authorities.pl
you can also run any script using the 'koha-shell' command, which set the environment for you... sudo koha-shell -c '/usr/share/koha/bin/link_bibs_to_authorities.pl' lib123