Hello Dominik, Try this it should take care of the issue you have.
a) su - postgres b) Dump the databse in text format ( pg_dump -c dspace > dspace-migrated.sql ) c) cp dspace-migrated.sql dspace-orig.sql <--- Always keep a backup of the original version of the database to revert to if you have to. c) Edit dspace-migrated.sql and search for bb.ds.edu.com and replace it with aa.ds.edu.com using ( sed, awk, perl, vi or any text editor you feel comfortable with "notepad++ <https://notepad-plus-plus.org/downloads/> for instance in Windows" ). d) Restore it ( cat dspace-migrated.sql | psql -d dspace ) https://groups.google.com/g/dspace-tech/c/KLJ3moDpVp4/m/q2U_-h36BgAJ Hope it help you. On Friday, January 20, 2023 at 2:28:41 PM UTC+3 [email protected] wrote: > Hello everyone, > Yesterday I decided to change dspace url for example: from *bb.ds.edu.com > <http://bb.ds.edu.com>* to *aa.ds.edu.com <http://aa.ds.edu.com>. *For > now I changed url in local.cfg, apache dspace.conf and config.prod.yml, > after that I run mvn package, ant update and yarn build:prod. Everything > works fine except OAI-PMH, I changed repository name in local.cfg but it's > not updated also repository identifier is wrong (shows old link) and every > link in this page redirect to to old url, except that everything works if I > manualy change link for example: from *bb.ds.edu.com > <http://bb.ds.edu.com>* :8080/server/oai/openaire?verb=ListSets to > *aa.ds.edu.com > <http://aa.ds.edu.com>* :8080/server/oai/openaire?verb=ListSets > Does anyone know how to fix it? > Best regards, > Dominik -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/0616bd75-1b81-4c03-9820-b43cac0687aen%40googlegroups.com.
