EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05584
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Move repository
- To: "Eprints-tech@ecs.soton.ac.uk" <Eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Move repository
- From: "Morrissey, Kahena" <K.Morrissey@bolton.ac.uk>
- Date: Thu, 21 Apr 2016 14:22:08 +0000
Hi Ian, I am not sure if you have had any success yet, but you can try the following which I think should work on eprints versions >=3.3.11. Ideally, you should test on a non-production system and/or ensure you have a backup in place to fully restore if this does not work. Please also note that $EPRINTS_HOME refers to wherever your eprints installation resides eg. /usr/share/eprints3/ I hope this helps; please let us know how you get on. ------------------------------------------------------------------------------------------------------------------------- 1 ------------------------------------------------------------------------------------------------------------------------- INFO More info can be found by running ./epadmin help from your eprints bin directory $EPRINTS_HOME/bin/epadmin help CMDS $EPRINTS_HOME/bin/epadmin config_core *repository_id* ->where *repository_id* = your repository id -> make the changes to the eprints hostname here. The old ones will be presented as the defaults ------------------------------------------------------------------------------------------------------------------------- 2 ------------------------------------------------------------------------------------------------------------------------- INFO More info can be found by running ./generate_apacheconf --man from your eprints bin directory $EPRINTS_HOME/bin/generate_apacheconf –man If you manually edited myrepo.conf you will lose those changes here. Regenerate your apache cpnfig $EPRINTS_HOME/bin/generate_apacheconf --replace ------------------------------------------------------------------------------------------------------------------------- 3 ------------------------------------------------------------------------------------------------------------------------- Restart apache service apache2 restart #ubuntu service httpd restart #centos <6.7 systemctl restart httpd # centos 7 ------------------------------------------------------------------------------------------------------------------------- 4 ------------------------------------------------------------------------------------------------------------------------- Regenerate the relevant pages $EPRINTS_HOME/bin/generate_static *repository_id* $EPRINTS_HOME/bin/generate_abstracts *repository_id* $EPRINTS_HOME/bin/generate_views *repository_id* $EPRINTS_HOME/bin/epadmin reload *repository_id* ------------------------------------------------------------------------------------------------------------------------- 3 ------------------------------------------------------------------------------------------------------------------------- Restart apache service apache2 restart #ubuntu service httpd restart #centos <6.7 systemctl restart httpd # centos 7 ------------------------------------------------------------------------------------------------------------------------- 4 ------------------------------------------------------------------------------------------------------------------------- Test Best regards, Kahena |
- Prev by Date: Re: [EP-tech] Adding a pin to a subject line using User->Mail
- Next by Date: Re: [EP-tech] Move repository
- Previous by thread: Re: [EP-tech] Move repository
- Next by thread: Re: [EP-tech] Move repository
- Index(es):