[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Change from eprints core to pub
- Subject: [EP-tech] Change from eprints core to pub
- From: drn at ecs.soton.ac.uk (David R Newman)
- Date: Sun, 8 Jan 2023 17:48:07 +0000
- In-reply-to: <CACOEPmP6mFPwgeFPY2uMwVSzOMe2VD4Se05uHhHVTH=EayjVAw@mail.gmail.com>
- References: <CACOEPmP6mFPwgeFPY2uMwVSzOMe2VD4Se05uHhHVTH=EayjVAw@mail.gmail.com> <CACOEPmP6mFPwgeFPY2uMwVSzOMe2VD4Se05uHhHVTH=EayjVAw@mail.gmail.com> <ef30ac83-6ddc-0402-6f18-464593a5a8c0@ecs.soton.ac.uk>
Hi Agung,
I have not specifically tested switching from zero to pub(lication) but
fundamentally the only difference is that the pub_lib library is in
use.? There are several steps to do this:
1. Make sure the pub_lib directory is presents under
EPRINTS_PATH/flavours/ and make sure it has a contents similar to:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Ftree%2Fmaster%2Fflavours%2Fpub_lib&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03d7fba2fa4b4465f3f708daf1a0818b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638087968936844072%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZaSlH%2FGa1ZrkqWwbWWTUkVcIgscf9qUwT6YF%2FewGzzA%3D&reserved=0
2. If necessary, edit EPRINTS_PATH/flavours/pub_lib/inc to make sure it
contains any additional ingredients you may have added under the zero
flavour index in EPRINTS_PATH/perl_lib/EPrints/SystemSettings.pm.
3. Edit EPRINTS_PATH/archives/ARCHIVE_ID/cfg/cfg.d/00_flavour.pl and set
$c->{flavour} to 'pub' rather than 'zero'.
4. Run "EPRINTS_PATH/bin/epadmin test" and fix any issue that this
raises.? There is a good chance you may have duplicate fields that you
haver added to your zero archive that are present by default in a
publication archive.
5. Run "EPRINTS_PATH/bin/epadmin update ARCHIVE_ID"
6. Reload Apache and restart the EPrints indexer.
I think that is all that is needed but as I said, I have not actually
tested this, so I would not try this on a production EPrints repository
without testing it first on an equivalent test EPrints repository.
Regards
David Newman
On 08/01/2023 12:48 am, Agung Prasetyo W. via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Hi,
>
> Is there a way to change from eprints core to publication? or do I
> have to reinstall eprints?
>
> Thank you.
>
> Regards,
> Agung PW
>
> *** Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03d7fba2fa4b4465f3f708daf1a0818b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638087968936844072%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MlL8mAGOBQvsdh8kSjOO%2BGY0Stk5AQ5ocuJOE87ljaQ%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C03d7fba2fa4b4465f3f708daf1a0818b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638087968936844072%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hTkmHw40pHI5dPvdj3%2BwbHAXhxHrJKl%2BObbxWZNnwqU%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20230108/72d8891c/attachment.html