Wrong URI on Collection/Community Pages

121 views
Skip to first unread message

Cameron, Jacob

unread,
Feb 27, 2023, 11:44:35 AM2/27/23
to DSpace Technical Support
Hello Everyone,

When I migrated the server to production, for some reason the old IP address is displaying as part of the collection and community URI. I've attached a screenshot.

Everything is pointing to https://opus.uleth.ca in the yaml file, local.cfg, pm2 files, etc.. I'm not sure what's going on here and I've tried clearing the cache on my PC. I've attached my files. I don't see anything in the logs that is pointing anywhere near the old development server IP.

Any thoughts or suggestions would be appreciated.

Jake

--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756
This e-mail, including any and all attachments, is only for the use of the intended recipient(s) and may contain information that is confidential or privileged. If you are not the intended recipient, you are advised that any dissemination, copying or other use of this e-mail is prohibited. Please notify the sender of the error in communication by return e-mail and destroy all copies of this e-mail. Thank you.

wrong_uri.png
dspace-ui.json
config.production.yml

DSpace Technical Support

unread,
Feb 27, 2023, 12:01:44 PM2/27/23
to DSpace Technical Support
Hi Jake,

More than likely, that's the value in the "dc.identifier.uri" metadata field for that object.   You could update that for Items  using the Batch Metadata Editing tools... https://wiki.lyrasis.org/display/DSDOC7x/Batch+Metadata+Editing

However, if you are comfortable with SQL, the easiest fix might be to replace all these values at the database level in the "metadatavalue" table.   There's some examples of doing that in this old question to dspace-tech: https://groups.google.com/g/dspace-tech/c/o_sTXCJon24/m/hbAYPuvUBgAJ   (WARNING: While this is the easiest approach, I would recommend testing this first or backing up the database first.  You don't want to make a typo that results in the wrong changes to your database.)

Tim

Cameron, Jacob

unread,
Feb 27, 2023, 4:08:50 PM2/27/23
to DSpace Technical Support

Thanks Tim!  I ran the SQL command, it took care of the problem.

 

--

Jake Cameron, BCS(UNB)

Systems Support Specialist III

Information Systems and Technical Services University of Lethbridge Library

Phone:(403)329-2756

This e-mail, including any and all attachments, is only for the use of the intended recipient(s) and may contain information that is confidential or privileged. If you are not the intended recipient, you are advised that any dissemination, copying or other use of this e-mail is prohibited. Please notify the sender of the error in communication by return e-mail and destroy all copies of this e-mail. Thank you.

 

From: DSpace Technical Support <dspac...@googlegroups.com>
Sent: February 27, 2023 10:02 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] Re: Wrong URI on Collection/Community Pages

 

Caution: This email was sent from someone outside of the University of Lethbridge. Do not click on links or open attachments unless you know they are safe. Suspicious emails should be forwarded to phis...@uleth.ca.

 

--
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 dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/b6b4e1d3-c816-4372-98d1-3957d03a6066n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages