| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Dokkio Sidebar (from the makers of PBworks) is a Chrome extension that eliminates the need for endless browser tabs. You can search all your online stuff without any extra effort. And Sidebar was #1 on Product Hunt! Check out what people are saying by clicking here.

View
 

upgrade

Page history last edited by Vimal Kumar 10 years ago

Take backup of Koha database,

 

Download latest 3.x.x from http://download.koha-community.org/

 

Extract the package in home folder and enter inside the folder,

E.g.

 

sudo su

cd /home/koha/3.8.2

 

Execute following commands

 

./koha_perl_deps.pl -u -m

 

Identify new Perl dependencies and install them.

 

INSTALLATION OF NEW PERL MODULES

Open a terminal from Applications > Accessories > Terminal,

Enter the following command, it will give a CPAN command prompt.

sudo cpan

Accept all default settings. 

Following is the example of CPAN command for installing a module. 

 

install modulename

 

e.g.

install Business::ISBN

 

It ask for many confirmation on the way. Press Enter button for all questions.

In the same way install remaining perl modules.

 

Type quit to Exit from the CPAN mode.

 

UPGRADE PROCESS

Open  Terminal and apply following commands,

 

 perl Makefile.PL --prev-install-log /usr/share/koha/misc/koha-install-log

 make
 make test
 sudo make upgrade

 

Open following files in  a terminal one by one and change the USER and GROUP parameters. And save the files.

 

sudo gedit /usr/share/koha/bin/koha-zebra-ctl.sh

sudo gedit /usr/share/koha/bin/koha-zebraqueue-ctl.sh

 

Change USER and GROUP to root.

#!/bin/bash
USER=root
GROUP=root

 

sudo /etc/koha/koha-httpd.conf

 

Edit the port IP number and port number.

 

Rebuild Zebra Index

 

sudo su
sudo /etc/init.d/koha-zebra-daemon start

sudo KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -r -v

 

Comments (0)

You don't have permission to comment on this page.