Difference between revisions of "Koha:Upgrade"
From TSAS Library
JStallings (talk | contribs) |
JStallings (talk | contribs) |
||
Line 4: | Line 4: | ||
### This yields: DB to /var/spool/koha/[instancename]/[instancename-date].sql.gz | ### This yields: DB to /var/spool/koha/[instancename]/[instancename-date].sql.gz | ||
### And: configs, logs to /var/spool/koha/[instancename]/[instancename-date].tar.gz | ### And: configs, logs to /var/spool/koha/[instancename]/[instancename-date].tar.gz | ||
# Follow directions here<ref> | # Follow directions here<ref>"Koha upgrade." [http://kohageek.blogspot.com/2013/05/how-to-upgrade-to-koha-312-in-koha-live.html ''Koha Geek''].</ref> | ||
## <code>wget -q -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -</code> | ## <code>wget -q -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -</code> | ||
## <code>echo 'deb http://debian.koha-community.org/koha stable main' | sudo tee /etc/apt/sources.list.d/koha.list deb http://debian.koha-community.org/koha stable main</code> | ## <code>echo 'deb http://debian.koha-community.org/koha stable main' | sudo tee /etc/apt/sources.list.d/koha.list deb http://debian.koha-community.org/koha stable main</code> | ||
Line 10: | Line 10: | ||
## <code>sudo apt-get install koha-common</code> | ## <code>sudo apt-get install koha-common</code> | ||
## Keep .conf file. If comparing versions ("D"), use "q" to get out of menu | ## Keep .conf file. If comparing versions ("D"), use "q" to get out of menu | ||
## If <code>W: Operation was interrupted before it could finish</code>, <code>apt-get -f install</code> might clear it up. | ## If <code>W: Operation was interrupted before it could finish</code>, <code>apt-get -f install</code> might<ref>"dist-upgrade interrupted, now what?" [https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=127587 ''RaspberryPi.org''].</ref> clear it up. | ||
# Ensure indexer is running: <code>sudo koha-indexer --start [instancename]</code> | # Ensure indexer is running: <code>sudo koha-indexer --start [instancename]</code> | ||
Latest revision as of 11:32, 2 April 2017
- Backup instance
- I do two: once through libstaff Tools -> Export Data for all records
- Then in terminal: koha-dump [instancename]
- This yields: DB to /var/spool/koha/[instancename]/[instancename-date].sql.gz
- And: configs, logs to /var/spool/koha/[instancename]/[instancename-date].tar.gz
- Follow directions here[1]
wget -q -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
echo 'deb http://debian.koha-community.org/koha stable main' | sudo tee /etc/apt/sources.list.d/koha.list deb http://debian.koha-community.org/koha stable main
sudo apt-get update
sudo apt-get install koha-common
- Keep .conf file. If comparing versions ("D"), use "q" to get out of menu
- If
W: Operation was interrupted before it could finish
,apt-get -f install
might[2] clear it up.
- Ensure indexer is running:
sudo koha-indexer --start [instancename]
References
- ↑ "Koha upgrade." Koha Geek.
- ↑ "dist-upgrade interrupted, now what?" RaspberryPi.org.