As i suspected, the problem was with the database. I had to use pg_restore tool to import the database (using the -v flag). Now I'm facing another problem that I did not encounter the first time i migrated (but not upgraded) DSpace. Everything is replaced with numbers (usernames, titles, descriptions etc.). I checked the database and it's fine (no numbers, has the right values). What could be causing this? [image: 3.png][image: 1.png][image: 2.png]
On Monday, October 14, 2024 at 7:02:33 PM UTC+7 J.A wrote: > Hello > > After migrating to another server and installing the latest stable > DSpace-CRIS (upgraded from 2022.01.01 to 2023.02.05), everything went well > except when I imported the database, then I started getting this error: > > There was an unexpected error (type=Bad Request, status=400). > Request is invalid or incorrect > java.lang.IllegalArgumentException: Configuration ' > https://my-domain/server' or request 'undefined' is malformed > > Looking at the console, i saw a bunch of 400 requests. Looking at the > request parameters, I saw that the 'uri' parameter is always 'undefined', > for example: > /server/api/authz/authorizations/search/object?uri=undefined&feature=administratorOf&embed=feature > This repeats for all requests/values of 'feature' parameter > > I verified config files, dropped DB/re-imported and re-indexed, nothing > worked. > > One thing I noticed is that this error only happened after I imported the > database which leads me to suspect it's somehow related to the imported > data but I can't say for sure > > Not sure if the information I provided is sufficient but if you need > further information please tell me > -- 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/be8eb21e-aff4-40ee-9047-4d7ea9e4d03cn%40googlegroups.com.
