[Koha] Some issues related to KOHA 3.0

Abhishek Amberkar [अभिषेक] abhishek.amberkar at gmail.com
Fri Jan 1 22:54:30 NZDT 2010


2010/1/1 nitesh rijal <rijal.it at gmail.com>:
> Hello all.
> Happy New Year to all.

<snip>

> I have added few functionalities by modifying the codes. I have added biblio
> search option, direct biblio edit and also fulltext integration in a newer
> way.

I have some queries about full text integration. Can I contact you off-list?

> I am now testing the barcode system to be used with our system. I hope it

<snip>

> The other thing I wanted to ask is that is it possible to run the
> rebuild_zebra.pl in my server through a button click in the web interface by
> the client.
> We have 12 libraries hosted in a single KOHA install using the multiple
> zebra multiple database facility. Each library's database needs to be
> selected first using "use library1" and then we need to export the KOHA_CONF
> as  "export KOHA_CONF=/etc/koha/library1-conf.xml" and then only we can
> execute the rebuild script. I was thinking to make another sh script to
> store all the commands that needs to be executed and then execute the
> script.
> I just wanted to know that is it possible to execute a script in the server
> by clicking a button in the web interface.

Exporting variables and executing rebuild scripts is nothing but
Bash's functionality.
But perl does provide a way to execute bash commands. So I think you
don't need separate .sh files but just modify the existing Koha code.
Another advantage is Koha runs as a CGI application. So what you are
saying is possible.

The only problem I see here is, rebuilding a zebra index requires
superuser privileges. So I think it's not a good idea to provide a
user with such a "button". If you read Koha Installation Doc, they
have provided a CRON script which runs every 5 minutes to rebuild
zebra index. Of course you can adjust that interval anytime.

(I hope you are using Debian or equivalent GNU/Linux distribution to
run Koha on)



-- 
With Regards
Abhishek Amberkar

http://www.kohaindia.org/
RDG Library Services
Mumbai, India.


More information about the Koha mailing list