[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Eprints migration
For what it?s worth, this first message can be resolved by deleting perl_lib/URI* and using the system perl?s URI library. (You may have to install it yourself.)
Cheers
--
<http://staff.qut.edu.au/details?id=kerwinm> Matthew Kerwin | ITS-EIS:AS:LS | <https://map.what3words.com/cards.reader.steer> KG-SYN | QUT
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Mitocariu Emilian
Sent: Monday, 3 April 2017 17:05
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Eprints migration
Hello,
I'm trying to migrate the data from an old eprints server (ubuntu 10.04, eprints 3.3.7) to a new one (ubuntu 16.04, eprints 3.3.15). Maybe worth mentioning i had some problems when trying to install eprints and i used the steps from here http://www.eprints.org/tech.php/22140/attachment/message.html to successfully install it.
I moved the repository to the new server, but when i use the import script on the XML I exported from the old server, i get this error:
eprints at myserver:~/bin$ ./import library --verbose --migration archive XML library.xml
\C is deprecated in regex; marked by <-- HERE in m/(\C <-- HERE )/ at /usr/share/eprints3/bin/../perl_lib/URI/Escape.pm line 205.
------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Error in configuration:
Can't use an undefined value as an ARRAY reference at /usr/share/eprints3/lib/cfg.d/eprint_search_staff.pl line 16.
------------------------------------------------------------------
EPrints System Error inducing stack dump
at /usr/share/eprints3/bin/../perl_lib/EPrints.pm line 147.
EPrints::abort("EPrints") called at /usr/share/eprints3/bin/../perl_lib/EPrints/Config.pm line 281
EPrints::Config::load_repository_config_module("library") called at /usr/share/eprints3/bin/../perl_lib/EPrints/Repository.pm line 510
EPrints::Repository::load_config(EPrints::Repository=HASH(0x8d06c0)) called at /usr/share/eprints3/bin/../perl_lib/EPrints/Repository.pm line 153
EPrints::Repository::new("EPrints::Repository", "library", "cgi", 0, "noise", 2) called at /usr/share/eprints3/bin/../perl_lib/EPrints.pm line 555
EPrints::repository(EPrints=HASH(0x8d0498), "library", "noise", 2, "cgi", 0) called at /usr/share/eprints3/bin/../perl_lib/EPrints/BackCompatibility.pm line 447
EPrints::Session::new("EPrints::Session", 1, "library", 2) called at ./import line 208
I also tried the method on your wiki (https://wiki.eprints.org/w/Moving_a_repository) with the mysqldump but when i do "./bin/epadmin upgrade library" i get the same error.
If you have any idea what the problem might be i would be very glad.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170403/c35850ce/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4845 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170403/c35850ce/attachment.bin