How to Update and Upgrade Koha
Hi, all! I think I have asked about this before, but I don't recall getting a definitive answer. But it's awhile, so here goes. I have seen announcements about updates and upgrades to Koha. ("Come and get it!") Alas, I don't find instructions for installing updates and upgrades. There are initial installation instructions aplenty, but alas, if there are ones for updates and upgrades, I don't see them. So I ask: How does one update or upgrades Koha? Thanks for your help, everyone. -- 気を付けて。 /ki wo tukete/ = Take care. -- Charles. Charles Kelley, MLS PSC 704 Box 1029 APO AP 96338 Charles Kelley Tsukimino 1-Chome 5-2 Tsukimino Gaadenia #210 Yamato-shi, Kanagawa-ken 〒242-0002 JAPAN +1-301-741-7122 [US cell] +81-80-4356-2178 [JPN cell] mnogojazyk@aol.com [h] cmkelleymls@gmail.com [p] linkedin.com/in/cmkelleymls <http://www.linkedin.com/in/cmkelleymls> Meeting Your Information Needs. Virtually.
Hi, as with anything else, you should first have a good (tested) backup of everything. Koha, server software, and database. Then, if you used the debian packages, you should check which version you are "tracking", something like: grep -Ri koha /etc/apt/* would return something like: /etc/apt/sources.list.d/koha.list:deb http://debian.koha-community.org/koha 19.11 main That means there is a file /etc/apt/sources.list.d/koha.list which you should edit and change to the version you want to track now. The content of the file would be: deb http://debian.koha-community.org/koha 21.05 main if you want to track koha 21.05 Then you would: apt-get update apt-get upgrade and it should do the upgrade. With the following exception, if apt-get upgrade says it would need to update mariadb-server or mysql-server, then you should upgrade that first and separately, like this: apt-get update apt-get install mariadb-server-10.3 apt-get upgrade If you don't upgrade mariadb first, it will be DOWN when koha wants to upgrade the database, leaving you with a half upgraded system. (And using that backup). Hope this helps. On 9/15/21 6:04 PM, Charles Kelley wrote:
Hi, all!
I think I have asked about this before, but I don't recall getting a definitive answer. But it's awhile, so here goes.
I have seen announcements about updates and upgrades to Koha. ("Come and get it!") Alas, I don't find instructions for installing updates and upgrades. There are initial installation instructions aplenty, but alas, if there are ones for updates and upgrades, I don't see them. So I ask:
How does one update or upgrades Koha?
Thanks for your help, everyone.
-- Hector Gonzalez cacho@genac.org
I forgot something, if koha requires additional software to be installed, when you run apt-get upgrade it will say something like this: The following packages have been kept back: koha-common In this case, you will need to do: apt-get dist-upgrade which will install the needed packages and then it will upgrade koha. On 9/15/21 6:25 PM, Hector Gonzalez Jaime wrote:
Hi, as with anything else, you should first have a good (tested) backup of everything. Koha, server software, and database.
Then, if you used the debian packages, you should check which version you are "tracking", something like:
grep -Ri koha /etc/apt/*
would return something like:
/etc/apt/sources.list.d/koha.list:deb http://debian.koha-community.org/koha 19.11 main
That means there is a file /etc/apt/sources.list.d/koha.list which you should edit and change to the version you want to track now. The content of the file would be:
deb http://debian.koha-community.org/koha 21.05 main
if you want to track koha 21.05
Then you would:
apt-get update apt-get upgrade
and it should do the upgrade. With the following exception, if apt-get upgrade says it would need to update mariadb-server or mysql-server, then you should upgrade that first and separately, like this:
apt-get update apt-get install mariadb-server-10.3 apt-get upgrade
If you don't upgrade mariadb first, it will be DOWN when koha wants to upgrade the database, leaving you with a half upgraded system. (And using that backup).
Hope this helps.
On 9/15/21 6:04 PM, Charles Kelley wrote:
Hi, all!
I think I have asked about this before, but I don't recall getting a definitive answer. But it's awhile, so here goes.
I have seen announcements about updates and upgrades to Koha. ("Come and get it!") Alas, I don't find instructions for installing updates and upgrades. There are initial installation instructions aplenty, but alas, if there are ones for updates and upgrades, I don't see them. So I ask:
How does one update or upgrades Koha?
Thanks for your help, everyone.
-- Hector Gonzalez cacho@genac.org
Hi Hector, Well detailed instructions, it would help to have them on the wiki page :) Would you mind updating the existing section? https://wiki.koha-community.org/wiki/Koha_on_Debian#Upgrade Le jeu. 16 sept. 2021 à 01:44, Hector Gonzalez Jaime <cacho@genac.org> a écrit :
I forgot something, if koha requires additional software to be installed, when you run apt-get upgrade it will say something like this:
The following packages have been kept back: koha-common
In this case, you will need to do:
apt-get dist-upgrade
which will install the needed packages and then it will upgrade koha.
On 9/15/21 6:25 PM, Hector Gonzalez Jaime wrote:
Hi, as with anything else, you should first have a good (tested) backup of everything. Koha, server software, and database.
Then, if you used the debian packages, you should check which version you are "tracking", something like:
grep -Ri koha /etc/apt/*
would return something like:
/etc/apt/sources.list.d/koha.list:deb http://debian.koha-community.org/koha 19.11 main
That means there is a file /etc/apt/sources.list.d/koha.list which you should edit and change to the version you want to track now. The content of the file would be:
deb http://debian.koha-community.org/koha 21.05 main
if you want to track koha 21.05
Then you would:
apt-get update apt-get upgrade
and it should do the upgrade. With the following exception, if apt-get upgrade says it would need to update mariadb-server or mysql-server, then you should upgrade that first and separately, like this:
apt-get update apt-get install mariadb-server-10.3 apt-get upgrade
If you don't upgrade mariadb first, it will be DOWN when koha wants to upgrade the database, leaving you with a half upgraded system. (And using that backup).
Hope this helps.
On 9/15/21 6:04 PM, Charles Kelley wrote:
Hi, all!
I think I have asked about this before, but I don't recall getting a definitive answer. But it's awhile, so here goes.
I have seen announcements about updates and upgrades to Koha. ("Come and get it!") Alas, I don't find instructions for installing updates and upgrades. There are initial installation instructions aplenty, but alas, if there are ones for updates and upgrades, I don't see them. So I ask:
How does one update or upgrades Koha?
Thanks for your help, everyone.
-- Hector Gonzalez cacho@genac.org
_______________________________________________
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Hi, I'd like to, but I didn't have an account for the wiki, so I'm waiting for it to be enabled. On 9/20/21 4:47 AM, Jonathan Druart wrote:
Hi Hector, Well detailed instructions, it would help to have them on the wiki page :) Would you mind updating the existing section? https://wiki.koha-community.org/wiki/Koha_on_Debian#Upgrade
-- Hector Gonzalez cacho@genac.org
Hi Hector, I've confirmed your wiki account request. Happy editing! :) Katrin On 22.09.21 18:23, Hector Gonzalez Jaime wrote:
Hi, I'd like to, but I didn't have an account for the wiki, so I'm waiting for it to be enabled.
On 9/20/21 4:47 AM, Jonathan Druart wrote:
Hi Hector, Well detailed instructions, it would help to have them on the wiki page :) Would you mind updating the existing section? https://wiki.koha-community.org/wiki/Koha_on_Debian#Upgrade
participants (4)
-
Charles Kelley -
Hector Gonzalez Jaime -
Jonathan Druart -
Katrin Fischer