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 )

On Wednesday, 6 November 2024 at 16:26:50 UTC+5:30 suresh patil wrote:

> 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
>
> On Wednesday, November 6, 2024 at 4:16:23 PM UTC+5:30 suresh patil wrote:
>
>> Hi Team,
>>
>> what is the step by step procedure to change the URL from *abc.com 
>> <http://abc.com>* to *xyz.com <http://xyz.com>* in dspace7.6.1
>>
>>
>> -Thanks
>>
>

-- 
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 visit 
https://groups.google.com/d/msgid/dspace-tech/1bcddb10-1938-44d2-8493-a592017b3006n%40googlegroups.com.

Reply via email to