Newbie question concerning system maintenance
Hello, I´ve tried to find some information in koha´s documentation, but I failed to find anything usable. Sorry for my question: Does Koha have a common way (script?) to update it to newer versions or do I have to make a new installation of it, configure it and reinstall the previous dumped database? BTW: I´ve just tried to install the version 2020.11 on a new raspberry pi 4. It works with the normal procedure without any hassle. I want to use this as a test system only. The SD cards may be restored very easy, if I´ve made some silly things with Koha on it. Nice, good work! Thanks, Andreas Tomiak Library head at HZB -- Dr. Andreas Tomiak Bibliotheksleiter ORCID https://orcid.org/0000-0002-3952-5416 SCOPUS Author ID 16450079500 ResearcherID M-5165-2015 SSR DEA900130625 GND 1132720850 VIAF ID 166149616483803750669 http://viaf.org/viaf/166149616483803750669 Tel.: +49 30 8062 42593, +49 160 9360 2804, Fax: +49 30 8062 42953 ________________________________________________________________________________________________ Helmholtz-Zentrum Berlin für Materialien und Energie GmbH Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V. Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher Geschäftsführung: Prof. Dr. Bernd Rech (Sprecher), Prof. Dr. Jan Lüning, Thomas Frederking Sitz Berlin, AG Charlottenburg, 89 HRB 5583 Postadresse: Hahn-Meitner-Platz 1 D-14109 Berlin https://www.helmholtz-berlin.de Ringgold ID (RIN) 28340 ISNI http:/isni.org/isni/0000000110903682 ROR https://ror.org/02aj13c28 GRID https://grid.ac/institutes/grid.424048.e
Hi! Den 19.01.2021 09:26, skrev Andreas Tomiak:
Hello,
I´ve tried to find some information in koha´s documentation, but I failed to find anything usable. Sorry for my question:
Does Koha have a common way (script?) to update it to newer versions or do I have to make a new installation of it, configure it and reinstall the previous dumped database?
It depends on how you installed Koha in the first place. Did you install using the Debian packages (sudo apt-get install koha-common)? If you did, an upgrade is as easy as this: sudo apt-get update sudo apt-get upgrade This will upgrade to the latest minor version, e.g. from 19.11.10 til 19.11.13. If you want to upgrade to a newer major version (e.g. from 19.11.x to 20.05.x) you need to adjust the file /etc/apt/sources.list.d/koha.list before you do "sudo apt-get update". See "Pick which Koha version to follow" on the following wiki page for an idea of what you need to do. https://wiki.koha-community.org/wiki/Koha_on_Debian#Pick_which_Koha_version_... Then, after adjusting /etc/apt/sources.list.d/koha.list you should be able to upgrade with the same commands: sudo apt-get update sudo apt-get upgrade Sometimes this will not upgrade Koha, because it is "held back" (I think this happens when the upgrade means you have to install new packages on the server, e.g. new Perl modules). In that case you have to try again with this command: sudo apt-get dist-upgrade Remember to always scan the output of these commands for any error messages related to the upgrading of the Koha database. Good luck! Magnus
participants (2)
-
Andreas Tomiak -
Magnus Enger