EPrints Technical Mailing List Archive

Message: #08343


< 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,

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%7C9c423b4e7f2b41a9f2ba08d8742e4458%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387089345264253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=T9XvQMwKD2k9mQEi4jRjabRuWHQLljHuUr1KkHg68o0%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%7C9c423b4e7f2b41a9f2ba08d8742e4458%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387089345264253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=AFTRRkLdz4pVIr8kXaH10OV9awuPq%2BrQ08PoX5OooGU%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%7C9c423b4e7f2b41a9f2ba08d8742e4458%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387089345264253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=BHsdH0OZZ1MHcz6KahadrXMpKHsy7unOxFMFpcsAcw4%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%7C9c423b4e7f2b41a9f2ba08d8742e4458%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387089345264253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=WAut7w3B96l77r71UY8UZR7Cd5TllKeIzSHi091sB8s%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%7C9c423b4e7f2b41a9f2ba08d8742e4458%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637387089345264253%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=u2TvTmjPTrRQUzB1Lt0rKTBSXaYkUXrlCaJ58h6f9C0%3D&amp;reserved=0