[Koha] Library deletes from the list

Michael Kuhn mik at adminkuhn.ch
Thu May 24 00:02:08 NZST 2018


Hi Siddu

 > I have been trying to delete a library from an existing Koha list, but
 > unable to delete, please suggest the ways how should I delete?

1. If you just want to delete a library branch only this should be 
possible in Koha menu "Administration > Libraries and groups" using the 
button "Delete".

2. To delete a Koha INSTANCE you may use the following command.

To show all your Koha instances.

$ sudo koha-list

To delete a particular instance:

$ sudo koha-remove instancename

In the script "koha-remove" you will see what actions are executed.

Take note there are adaptions, files and directories that will not be 
deleted/reconfigured by this action. Maybe you will find the in the 
following places:

/etc/apache2/ports.conf
/etc/init.d/koha-common
/etc/koha
/etc/apt/sources.list.d/koha.list
/etc/bash_completion.d/koha-common
/etc/cron.d/koha-common
/etc/cron.daily/koha-common
/etc/cron.hourly/koha-common
/etc/default/koha-common
/etc/logrotate.d/koha-common
/var/spool/koha

These files/directories (and maybe more) are not to be deleted but maybe 
they will contain now unnecessary adaptions concerning the deleted 
instance (also depending if you just delete only one of several 
instances or if you delete your only instance).

Hope that 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 at adminkuhn.ch · W www.adminkuhn.ch


More information about the Koha mailing list