EPrints Technical Mailing List Archive

Message: #07292

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

Re: [EP-tech] Upgrading from 3.0

There's a specific upgrade guide frmo 2.3 to 3.0 in eprints.org:


did you try it?

BTW, you should before migrate the data with the toolkit and then customize the various search and configs.

Il 07/05/2018 11:13, Gianluca Sforna ha scritto:
Hi all,
I am attempting to upgrade a very old eprints instance and would need some help.

Basically, what I've done is:
1. run the configure and install procedure (CentOS 7 server, 3.3.15 tarball)
2. copy over the old archive directory to /opt/eprints3/archive
3. run bin/epadmin upgrade sifp

But I get this error back:

$ bin/epadmin upgrade sifp

---------------- EPrints System Error ----------------------------
Error in configuration:
Can't use an undefined value as an ARRAY reference at
/opt/eprints3/lib/cfg.d/eprint_search_staff.pl line 16.

EPrints System Error inducing stack dump
  at /opt/eprints3/bin/../perl_lib/EPrints.pm line 147.
EPrints::abort('EPrints') called at
/opt/eprints3/bin/../perl_lib/EPrints/Config.pm line 281
EPrints::Config::load_repository_config_module('sifp') called at
/opt/eprints3/bin/../perl_lib/EPrints/Repository.pm line 510
called at /opt/eprints3/bin/../perl_lib/EPrints/Repository.pm line 153
EPrints::Repository::new('EPrints::Repository', 'sifp', 'check_db', 0,
'noise', 1) called at /opt/eprints3/bin/../perl_lib/EPrints.pm line
EPrints::repository('EPrints=HASH(0x3ddcb80)', 'sifp', 'noise', 1,
'check_db', 0) called at bin/epadmin line 376
main::repository('sifp', 'check_db', 0) called at bin/epadmin line 2848
main::upgrade('sifp') called at bin/epadmin line 320

Anyone can help me diagnose the issue?