[dspace-tech] Re: OAI-PMH showing incorrect Repository Information and contains wrong links

2023-01-20 Thread Mohammad S. AlMutairi
Glad you had your issue sorted out. It's hard to convince an old fashion guy not to go the manual way to avoid rebuilding the backend. On Friday, January 20, 2023 at 5:01:10 PM UTC+3 domi...@wp.pl wrote: > Thanks for advise, but I found (in my opinion) easier solution, just run > this 3

[dspace-tech] Re: OAI-PMH showing incorrect Repository Information and contains wrong links

2023-01-20 Thread ZiGi
Thanks for advise, but I found (in my opinion) easier solution, just run this 3 commands: /dspace/bin/dspace generate-sitemaps /dspace/bin/dspace oai clean-cache /dspace/bin/dspace oai import After that just restart tomcat and everything should works. I hope this solution will help someone with

[dspace-tech] Re: OAI-PMH showing incorrect Repository Information and contains wrong links

2023-01-20 Thread Mohammad S. AlMutairi
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

[dspace-tech] OAI-PMH showing incorrect Repository Information and contains wrong links

2023-01-20 Thread ZiGi
Hello everyone, Yesterday I decided to change dspace url for example: from *bb.ds.edu.com* to *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