Assistance Required: Migrating DSpace 6 to DSpace-CRIS 7

29 views
Skip to first unread message

Jayachristrayar S

unread,
Nov 21, 2024, 1:42:36 AM11/21/24
to DSpace Technical Support

Dear all

I am in the process of migrating our current DSpace 6 installation to DSpace-CRIS 7. While I have made progress with some steps, I am encountering challenges with re-indexing the old files into DSpace-CRIS. I followed the standard DSpace backup and restore procedure, but it did not work as expected.

Below are the steps I have followed so far:

  1. Database Backup:

    • Assumed the old version of DSpace is running.
    • Took a PostgreSQL database backup using the following commands:
      sudo su - postgres pg_dump dspace > dspace.backup
    • Stored the backup in /var/lib/postgresql/ and moved it to a secure location.
  2. Backup of Assetstore and Log Folders:

    • Created backups of the assetstore and log folders using these commands:
      cd /media/<your_pc_name>/<External_Hard_Disk>
    •  sudo zip -r assetstore.zip /dspace/assetstore sudo zip -r log.zip /dspace/log
  3. Restoration Steps to DSpace-CRIS 7:

    • Installed the latest DSpace version.
    • Restored the assetstore, log folders, and dspace.backup file to the home folder.
    • Stopped the Tomcat server:
      sudo service tomcat stop
    • Replaced the new assetstore and log folders with the old ones:
      sudo mv /home/assetstore /dspace sudo mv /home/log /dspace
    • Restored the database:
      sudo -u postgres psql DROP DATABASE dspace; CREATE DATABASE dspace; \quit sudo su postgres psql -f dspace.backup dspace exit
    • Enabled the pgcrypto extension:
      sudo su postgres psql --username=postgres dspace -c "CREATE EXTENSION pgcrypto;" exit
    • Upgraded the database:
      sudo /dspace/bin/dspace database migrate
    • Indexed the discovery:
      sudo /dspace/bin/dspace index-discovery -b sudo /dspace/bin/dspace filter-media sudo /dspace/bin/dspace index-discovery sudo /dspace/bin/dspace index-discovery -o
    • Restarted the Tomcat server:
      sudo service tomcat start

Despite following these steps, the migration process is incomplete, particularly regarding re-indexing. I would appreciate it if someone could guide me on migrating DSpace 6 to DSpace-CRIS 7 successfully, including addressing the re-indexing issue.

Thank you in advance for your support.

Reply all
Reply to author
Forward
0 new messages