Change of URL from abc.com to xyz.com in dspace7.6.1

62 views
Skip to first unread message

suresh patil

unread,
Nov 6, 2024, 5:46:23 AM11/6/24
to DSpace Technical Support
Hi Team,

what is the step by step procedure to change the URL from abc.com to xyz.com in dspace7.6.1


-Thanks

suresh patil

unread,
Nov 6, 2024, 5:56:50 AM11/6/24
to DSpace Technical Support
apart from local.cfg & config.prod.yml do we have to update the new URL anywhere else? do we need to update the new URL in database also?


Note: we have used repository with abc.com as URL for few months and now we want to change the URL to xyz.com

Anand chavan

unread,
Nov 14, 2024, 11:38:49 PM11/14/24
to DSpace Technical Support
Yes, You will have to update in database as well.

UPDATE metadatavalue
SET text_value = REPLACE(text_value, 'http://abc.com', 'http://xyz.com')
WHERE metadata_field_id = (
    SELECT metadata_field_id
    FROM metadatafieldregistry
    WHERE element = 'identifier' AND qualifier = 'uri'
);

and then

./dspace index-discovery      (in [dspace]/bin )
Reply all
Reply to author
Forward
0 new messages