Skip to content

Upgrade From Lindat Repository

Jozef Misutka edited this page May 15, 2015 · 2 revisions

How to migrate

  1. backup your databases
  2. move local.conf directly to source directory to local.properties, diff and update it to the new local.conf version in utilities/project_helpers/config/local.conf.dist
  3. starting/stopping is handled by {start,stop}_stack_example.sh which can be changed by renaming than to {start,stop}_stack.sh
  4. stop tomcat (if using the same version)
  5. deploy
  6. check your database version by running dspace command
sudo -u tomcat6 [dspace]/bin/dspace database info

with the following result

Your database looks to be compatible with DSpace version 1.8.117.102.97.108
All upgrades *after* version 1.8.117.102.97.108 will be run during the next migration.

7 . upgrade

sudo -u tomcat6 [dspace]/bin/dspace database migrate
psql -p 5433 [name of utilities table] < [source]/utilities/utilities.upgrade.from.1.8.2.sql

8 . Upgrade statistics

sudo -u tomcat6 [dspace]/bin/dspace solr-reindex-statistics
sudo -u tomcat6 [dspace]/bin/dspace stats-util -b -r

9 . remove old bi* tables See https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace.

10 . copy logs to new installation/log directory

11 . update cronjobs

Clone this wiki locally