EPrints Technical Mailing List Archive

Message: #08347


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Eprints migration


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&amp;data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rhDeRD9lCoYk4zGuDoy31CUBQubClm3YhAXXAx90F%2FA%3D&amp;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&amp;data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=6iOo1lx3hEiGBexGPlFjZnq2fB1LJvTutcge8y1QLpY%3D&amp;reserved=0


On 19/10/2020 14:19, cristiant@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&amp;data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rhDeRD9lCoYk4zGuDoy31CUBQubClm3YhAXXAx90F%2FA%3D&amp;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&amp;data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ZJSpeswCAebOHMVOCZE1yqAiaY2RC3f1B3tWJ8%2FKAqs%3D&amp;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&amp;data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180363325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=RRY8jGTCKiF6kAMcf4j7WsWQpldzlVDKfEz53ZPOUZI%3D&amp;reserved=0 *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180373288%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=15oY7AS%2B8q52KBMrT0EvQiUs9w8Q6eKdMNGsKOU15EY%3D&amp;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&amp;data=04%7C01%7C%7C9aa1f59da7c94bf7b35908d8743bbadb%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387147180373288%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=K5DcVowEPVNkd2%2B278fRW8Pnqeu8BxHAxIFjrJBqeYE%3D&amp;reserved=0