How to Fix Lockdir in koha Warning
Problem statement occurred when your upgrade koha version or install a new Koha .
The following line does not add to koha-conf.xml when upgrading. I noticed it happened when we upgraded to the Koha version to 22.11.7 and higher. It results in the upgrade process terminating on the way, and Koha crashes.
Warning is below Message
Solutions.
Open the following file and check if the line is there
sudo mousepad /etc/koha/sites/library/koha-conf.xml
Find the location of the lines from the screenshot. Check the line number.
I
am still seeing some issues with the variable "lockdir" in the koha-conf.xml
file. I'm getting the message:
The configured <lockdir> entry in your koha-conf.xml file points to a non-writable directory var/lock/koha).lockdir should have the instance name (e.g. library) at the end of the path.<lockdir>/var/lock/koha/library</lockdir>
This directory should be writeable for the koha instance user.
If the line is there, you only need to add the lock dir. apply the following command in the terminal
<lockdir>/var/lock/koha/library</lockdir>
Restart memcached and apache2.
sudo service apache2 restart
sudo service memcached restart
sudo service memcached restart
No comments:
Post a Comment