Posts

Changing Dspace logo and adding library name

   1. sudo gedit /home/dspace/dspace-angular-dspace-8.0/src/themes/dspace/app/home-page/home-news/home-news.component.html    2. root@lib:~# cd /home/dspace/dspace-angular-dspace-8.0/ root@lib:/home/dspace/dspace-angular-dspace-8.0# yarn run build:prod 3. root@lib:/home/dspace/dspace-angular-dspace-8.0# pm2 start /home/dspace/dspace-angular-dspace-8.0/dspace-ui.json    

Taking backup from old server

 systemctl stop tomcat9 find / -name update-sequences.sql su dspace psql -U dspace -f /dspace/etc/postgres/update-sequences.sql dspace mkdir /home/koha/hk pg_dump -U dspace -h localhost dspace > /home/koha/hk/dspace.sql zip -r /home/koha/hk/assetstore.zip assetstore/ /dspace/bin/dspace solr-export-statistics -i authority /dspace/bin/dspace solr-export-statistics -i statisticscd .ds     cd /dspace zip -r /home/koha/hk/solr-export.zip solr-export/

Dspace migration steps

 Restore and migrate Dspace 6.3 to 8 Because DSpace 7+ introduced a completely re-engineered architecture—splitting into an Angular UI frontend and a REST API backend —you cannot simply "overwrite" an old installation. Instead, the standard process is to perform a fresh installation of DSpace 8 or 9 backend , restore your DSpace 6.3 data onto it, and let DSpace’s built-in migration tools auto-upgrade your database schema. Here is the step-by-step guide to accomplishing this migration. Phase 1: Prepare the New Server Environment DSpace 8/9 has stricter environment prerequisites than version 6.3. Set up your new server with the following: Java: OpenJDK 17 (for DSpace 8) or OpenJDK 21 (recommended for DSpace 9). Database: PostgreSQL (Versions 12 to 15 are ideal). Build Tools: Apache Maven 3.8+ and Apache Ant 1.10+. Servlet Container: Apache Tomcat 9. Solr: Apache Solr 9.x (DSpace 7+ no longer runs Solr embedded inside Tomcat; it must run as a standalone service). Phase 2: ...