Help please, installation or update DSpace 5.1

53 views
Skip to first unread message

FASIPE SUPORTE

unread,
Jun 8, 2022, 10:42:16 AM6/8/22
to DSpace Community
Dear Dspace User Community. I work at a college that uses version 5.1 of DSpace. It was the mission to transfer to another server, as I never know how the system and it is not known at the moment, but there is a lot of research had been used on the Internet that some parts are missing and do not detail. very good. If anyone has any step by step details a little better so that I can orient myself to the database how to install and transfer or if you have any advice on how to proceed much better. Available now.

Tim Donohue

unread,
Jun 8, 2022, 3:03:14 PM6/8/22
to DSpace Community
Hi, the basic steps would be:

1. Install DSpace on the other server by following the install guide: https://wiki.lyrasis.org/display/DSDOC5x/Installing+DSpace  Make sure it's working with no content.
2. Move over the content. This involves moving the [dspace]/assetstore folder (where all the files are) and the entire database contents from the old location to the new location.
     * Moving the [dspace]/assetstore folder would just mean copying all the contents from one location to the other.
     * Moving the database depends on which database you are using. If you are using PostgreSQL, then you can most easily do this by using "pg_dump" (https://www.postgresql.org/docs/current/app-pgdump.html) to dump the database contents to a file, and then import that into the other database using "psql [new_database] > backup.sql".  Here are some examples: https://stackoverflow.com/a/1237806/3750035
3. Run the database migrate script ([dspace]/bin/dspace database migrate) from commandline. This just make sure your database has been fully updated based on the installation you are running.
4. Reindex all content into Solr ([dspace]/bin/dspace index-discovery -b) from commandline.  This makes sure your search/browse works correctly with all the new content you moved over.

At this point, everything should be working.  But, if you hit issues or have more questions, let us know on this list.  I do recommend trying a "test" of this process first to get comfortable with it & make sure you don't hit any issues along the way.

Tim
Reply all
Reply to author
Forward
0 new messages