forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 18
Upgrade From Lindat Repository
ljo edited this page Nov 11, 2022
·
2 revisions
- backup your databases
- move local.conf in source directory root to
local.properties
, diff and update it to the new local.conf version fromutilities/project_helpers/config/local.conf.dist
- starting/stopping is handled by {start,stop}_stack_example.sh which can be changed by renaming than to {start,stop}_stack.sh
- stop tomcat (if using the same version)
- deploy
- 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