Koha Test Wiki MW Canasta on Koha Portainer

Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.

For the current Koha Wiki, visit https://wiki.koha-community.org .

How was my Koha installed

From Koha Test Wiki MW Canasta on Koha Portainer
Jump to navigation Jump to search

So you inhereted a server running Koha, and now you want to upgrade it? Good! The first thing you need to figure out is how Koha was installed on that server, as the details of the upgrade will depend on how it was done. This page intends to

  1. help you figure out how the install was done
  2. point you to the correct upgrade instructions for your installation method

Please note! This page is a work in progress and needs input from more people!

Packages

Diagnostics

Try to run this command:

 sudo koha-list

If you get a list of one or more instance names like this, you have a package installation:

 $ sudo koha-list
 koha

If instead you get an error like this, you do not have a package installation:

$ sudo koha-list
sudo: koha-list: command not found

Please proceed to check if you have a tarball or Git installation. You can try this script, you will have to change /path/to/koha-conf.xml to the actual path on your system. [TODO: automatize in the script :)]

 kohapath=$(sudo xmlstarlet sel -t -v 'yazgfs/config/intranetdir' /path/to/koha-conf.xml); if [ -d $kohapath/.git ]; then echo "Looks like a git installation."; else echo "Looks like a tarball installation.";fi

Upgrade instructions

See: Koha on ubuntu - packages -- Upgrade Instructions

Tarball

Diagnostics

Upgrade instructions

See the appropriate INSTALL.* file that comes with Koha.

Git

Diagnostics

Upgrade instructions

See the appropriate INSTALL.* file that comes with Koha.

Converting to a package installation

Package-installations running on Debian or Ubuntu are currently the recommended installation method for Koha. If you have a tarball or Git installation you might want to convert it to a package installation at the same time you do the upgrade. See Moving an installation from a regular install to the Debian packages for details on this.