[Koha] koha-sitemap

Rubeno Fernández enseikou at gmail.com
Tue Mar 20 05:55:21 NZDT 2018


Hello all,

I'm trying to have crawl bots keep off my catalogue. Has anybody ever used the 
command koha-sitemap? On Koha 17.11 for Debian it seems to be broken:

root at biblioteko:~# koha-sitemap --generate biblioteko
Sitemap directory for biblioteko doesn't exist. Creating.
Can't locate Koha/Exceptions/Exception.pm:   ./Koha/Exceptions/Exception.pm: 
Permission denied at /usr/share/perl/5.22/base.pm line 97.
        ...propagated at /usr/share/perl/5.22/base.pm line 106.
BEGIN failed--compilation aborted at (eval 16) line 3.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Exceptions.pm 
line 69.
Compilation failed in require at /usr/share/koha/lib/Koha/DateUtils.pm line 
22.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/DateUtils.pm 
line 22.
Compilation failed in require at /usr/share/koha/lib/C4/Log.pm line 30.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Log.pm line 30.
Compilation failed in require at /usr/share/koha/lib/Koha/Config/SysPref.pm 
line 26.
BEGIN failed--compilation aborted at /usr/share/koha/lib/Koha/Config/
SysPref.pm line 26.
Compilation failed in require at /usr/share/koha/lib/C4/Context.pm line 105.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Context.pm line 
105.
Compilation failed in require at /usr/share/koha/lib/C4/Koha.pm line 26.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Koha.pm line 26.
Compilation failed in require at /usr/share/koha/lib/C4/Biblio.pm line 32.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Biblio.pm line 32.
Compilation failed in require at /usr/share/koha/bin/cronjobs/sitemap.pl line 
26.
BEGIN failed--compilation aborted at /usr/share/koha/bin/cronjobs/sitemap.pl 
line 26.

I tried to run the script sitemap.pl by hand, without success:

perl -I /usr/share/koha/lib /usr/share/koha/bin/cronjobs/sitemap.pl --url 
biblioteko.esperanto.cat
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
Use of uninitialized value in concatenation (.) or string at /usr/share/koha/
lib/C4/Templates.pm line 154.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
Use of uninitialized value in concatenation (.) or string at /usr/share/koha/
lib/C4/Auth_with_cas.pm line 42.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
unable to locate Koha configuration file koha-conf.xml at /usr/share/koha/lib/
C4/Context.pm line 243.
Can't call method "config" on unblessed reference at /usr/share/koha/lib/Koha/
Database.pm line 56.

The config file it doesn't find may be the one located at /etc/koha/sites/
biblioteko/koha-conf.xml.


More information about the Koha mailing list