EPrints Technical Mailing List Archive

Message: #08346


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

Yes, the file is located on "/usr/share/eprints/archives/library/cfg/cfg.d", and the permissions are "-rwxr-xrwx  1 eprints eprints    23 Oct 19 13:18 00_flavour.pl"

On 19/10/2020 16:57, Ajunk Pracetio wrote:
Hi,

Are you already give access to user and group eprints for that directory? CMIIW

Regards,
Agung PW

On Mon, Oct 19, 2020 at 8:19 PM cristiant--- via Eprints-tech <eprints-tech@ecs.soton.ac.uk> 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=""> 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="">,
>> 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="">
>> *** EPrints community wiki:
>>
https://eur03.safelinks.protection.outlook.com/?url="">
>

*** Options:
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/