[EP-tech] Eprints migration

David R Newman drn at ecs.soton.ac.uk
Mon Oct 19 15:31:56 BST 2020


Hi Cristiant,

I would suggest following the instructions for [1] through from start to 
finish.  Do you have a /usr/share/eprints/flavours/pub_lib/ directory.  
If not you will need to add this from the tarball at [2].

Regards

David Newman

[1] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FUpgrading_3.3.12%252B_to_3.4&data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rhDeRD9lCoYk4zGuDoy31CUBQubClm3YhAXXAx90F%2FA%3D&reserved=0

[2] https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffiles.eprints.org%2F2500%2F8%2Feprints-3.4.2-flavours.tar.gz&data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6iOo1lx3hEiGBexGPlFjZnq2fB1LJvTutcge8y1QLpY%3D&reserved=0


On 19/10/2020 14:19, cristiant at newro.co wrote:
> Hello David,
>
>
> Thank you for answering. I've already created this file (with wrong 
> ownership) because apache was refusing to start.
>
> But I get the same error, Is there something else I have to do?
>
>
> Regards
>
> Cristian Todosi
>
> On 19/10/2020 15:55, David R Newman wrote:
>> Hi Cristiant,
>>
>> One of the major changes between EPrints 3.3.x and EPrints 3.4.x is 
>> the introduction of flavours so that EPrints can specialise to be a 
>> publications repoistory, data repository, Open Education repository 
>> or potentially something else.  If you are upgrading a publications 
>> repoistory this requires adding a file to your archive's cfg/cfg.d/ 
>> directory called 00_flavour.pl with the following contents:
>>
>> $c->{flavour} = 'pub';
>>
>> Please follow the instructions at 
>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FUpgrading_3.3.12%252B_to_3.4&data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rhDeRD9lCoYk4zGuDoy31CUBQubClm3YhAXXAx90F%2FA%3D&reserved=0 
>> as the instructions you are following are really just designed for 
>> moving and/or a minor upgrade of an EPrints repository whereas an 
>> upgrade to 3.4.x requires a bit more effort due to some 
>> re-organisation of the codebase.
>>
>> Regards
>>
>> David Newman
>>
>> On 19/10/2020 13:34, cristiant--- via Eprints-tech wrote:
>>> Hello,
>>>
>>>
>>> I am trying to migrate from an old eprints server (ubuntu 16.04, 
>>> eprints
>>> 3.3.15) to a new one (ubuntu 18.04, eprints 3.4.2).
>>>
>>> I've followed the steps from this article
>>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FMoving_a_repository&data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZJSpeswCAebOHMVOCZE1yqAiaY2RC3f1B3tWJ8%2FKAqs%3D&reserved=0, 
>>> but if I try to run any
>>> command I get this error:
>>>
>>> "Can't use an undefined value as an ARRAY reference at
>>> /usr/share/eprints/bin/../perl_lib/EPrints/Repository.pm line 1358."
>>>
>>>
>>> If you have any idea what the problem might be i would be very glad.
>>>
>>> Thank you.
>>>
>>> *** 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=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=RRY8jGTCKiF6kAMcf4j7WsWQpldzlVDKfEz53ZPOUZI%3D&reserved=0
>>> *** EPrints community wiki: 
>>> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180373288%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=15oY7AS%2B8q52KBMrT0EvQiUs9w8Q6eKdMNGsKOU15EY%3D&reserved=0
>>

-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180373288%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=K5DcVowEPVNkd2%2B278fRW8Pnqeu8BxHAxIFjrJBqeYE%3D&reserved=0




More information about the Eprints-tech mailing list