Difference between revisions of "Koha:Upgrade"

From TSAS Library
Jump to: navigation, search
(Created page with "# 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...")
 
Line 6: Line 6:
# Follow directions here<ref>
# Follow directions here<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
## <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>
deb http://debian.koha-community.org/koha stable main</code>
## <code>sudo apt-get update</code>
## <code>sudo apt-get update</code>
## <code>sudo apt-get install koha-common</code>
## <code>sudo apt-get install koha-common</code>

Revision as of 11:29, 2 April 2017

  1. Backup instance
    1. I do two: once through libstaff Tools -> Export Data for all records
    2. Then in terminal: koha-dump [instancename]
      1. This yields: DB to /var/spool/koha/[instancename]/[instancename-date].sql.gz
      2. And: configs, logs to /var/spool/koha/[instancename]/[instancename-date].tar.gz
  2. Follow directions here<ref>
    1. wget -q -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
    2. 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
    3. sudo apt-get update
    4. sudo apt-get install koha-common
    5. Keep .conf file. If comparing versions ("D"), use "q" to get out of menu
    6. If W: Operation was interrupted before it could finish, apt-get -f install might clear it up.
  3. Ensure indexer is running: sudo koha-indexer --start [instancename]

References