Skip to content

Upgrade From Lindat Repository

Ondrej Kosarko edited this page Apr 17, 2026 · 3 revisions

⚠️ This page documents a historical v5→v5+ upgrade and is kept for reference only. For v5→v7 migration, see Migration to DSpace 7.2.1.

How to migrate

  1. backup your databases
  2. move local.conf in source directory root to local.properties, diff and update it to the new local.conf version from 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

Home


Getting Started

Features

Operations

For Users

Development

Reference


Archive (v5 / stale)

Clone this wiki locally