Can't run auth_show_hidden_data.pl script

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't run auth_show_hidden_data.pl script

Prof. Lisandro Laura
Hi everyone!
I was upgrading from 17.05.04 to 17.05.06 and the following showed up:
"Bug 18811 fixed an inconsistency in the visibility settings for
authority frameworks. It is recommended that you run script
misc/maintenance/auth_show_hidden_data.pl to check if you have data in
hidden fields and adjust your frameworks accordingly to prevent data
loss when editing such records"

I was traying to run the script:
perl ./usr/share/koha/bin/maintenance/auth_show_hidden_data.pl

But I get the following error:

"Can't locate Koha/Authorities.pm in @INC (you may need to install the
Koha::Authorities module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.20.2
/usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20
/usr/share/perl/5.20 /usr/local/lib/site_perl .) at
./usr/share/koha/bin/maintenance/auth_show_hidden_data.pl line 28.
BEGIN failed--compilation aborted at
./usr/share/koha/bin/maintenance/auth_show_hidden_data.pl line 28."

What can I do?

Thank you in advance,
Lisandro
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Can't run auth_show_hidden_data.pl script

Mark Alexander
Excerpts from Prof. Lisandro Laura's message of 2017-12-06 11:41:57 -0300:
> perl ./usr/share/koha/bin/maintenance/auth_show_hidden_data.pl
>
> But I get the following error:
>
> "Can't locate Koha/Authorities.pm in @INC (you may need to install the
> Koha::Authorities module) (@INC contains: /etc/perl

This sounds familiar.  Try running the following command first:

  koha-shell LIBRARY

where LIBRARY is your Koha instance name.  After that, the various
Koha shell scripts should work.
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Can't run auth_show_hidden_data.pl script

Prof. Lisandro Laura
Perfect!
That works
Thank you,
Lisandro

2017-12-06 11:51 GMT-03:00 Mark Alexander <[hidden email]>:

> Excerpts from Prof. Lisandro Laura's message of 2017-12-06 11:41:57 -0300:
>> perl ./usr/share/koha/bin/maintenance/auth_show_hidden_data.pl
>>
>> But I get the following error:
>>
>> "Can't locate Koha/Authorities.pm in @INC (you may need to install the
>> Koha::Authorities module) (@INC contains: /etc/perl
>
> This sounds familiar.  Try running the following command first:
>
>   koha-shell LIBRARY
>
> where LIBRARY is your Koha instance name.  After that, the various
> Koha shell scripts should work.
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha