EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09363
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Change of EPrints machine name
- To: "'David R Newman'" <drn@ecs.soton.ac.uk>, "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Change of EPrints machine name
- From: "Adams, Thomas" <tadams@cshl.edu>
- Date: Fri, 4 Aug 2023 19:29:35 +0000
CAUTION: This e-mail originated outside the University of Southampton.
David, On my machine, I also needed to issue the following command as root, to enable the bin/generate_* commands to work… cpan Unicode::String Thanks for your spot on assistance. Will attempt the 3.4.1 to 3.4.5 migration next week. -Tom From: David R Newman <drn@ecs.soton.ac.uk> Hi Tom, The main place that the hostname (e.g. repository, newrepository, etc.) is set is in
EPRINTS_PATH/archives/ARCHIVE_ID/cfg/cfg.d/10_core.pl However, once you have done this you should run the following commands to regenerate things and clear caches: EPRINTS_PATH/bin/generate_apacheconf --system --replace The only other place I tend to find that the hostname might be hardcoded is if you archive has an ssl/securehost.conf file. Where you will need to change the ServerName attribute and maybe generate a temporary Let's Encrypt certificate
for the new hostname. At that point you will need to update the SSLCertificate... attributes as well. Beyond this, if you have an existing EPrints repository you have not always maintained your predecessor may have hardcoded the hostname in the code or configuration at an archive level. Usually a grep for the hostname in the archives's
cfg directory (EPRINTS_PATH/archives/ARCHIVE_ID/cfg/) will find these. You are best trying to fix the fact that they are hardcoded, so this does not cause a problem in future. Regards David Newman On 04/08/2023 17:34, Adams, Thomas via Eprints-tech wrote:
|
- Follow-Ups:
- Re: [EP-tech] Change of EPrints machine name
- From: "Adams, Thomas" <tadams@cshl.edu>
- Re: [EP-tech] Change of EPrints machine name
- References:
- [EP-tech] Change of EPrints machine name
- From: "Adams, Thomas" <tadams@cshl.edu>
- Re: [EP-tech] Change of EPrints machine name
- From: "Adams, Thomas" <tadams@cshl.edu>
- [EP-tech] Change of EPrints machine name
- Prev by Date: Re: [EP-tech] Change of EPrints machine name
- Next by Date: [EP-tech] LDAP and New Users
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):