EPrints Technical Mailing List Archive

Message: #07981


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

Re: [EP-tech] Eprints not working after migration to a new server


'dare' is not a valid repository identifier:

you've to run it with the correct user, usually eprints. How did you
"migrated" it? Did you create the eprints user and group on the new server?

Il 28/09/19 08:35, EDER Norbert via Eprints-tech ha scritto:

Dear eprints experts,

I migrated the eprints web server to a new server (mysql server is
separated and is not touched).

From debian jessie 8.11 to debian buster 10.1.

Eprints stays on 3.3.16.

I used the documentation
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FMoving_a_repository&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=MDL19sxBx%2BPHdhpdExdFzk%2FE2BSNcR9OcCNeayW%2FGrA%3D&amp;reserved=0
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FMoving_a_repository&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=MDL19sxBx%2BPHdhpdExdFzk%2FE2BSNcR9OcCNeayW%2FGrA%3D&amp;reserved=0>


At the apache error.log file, I see:

------------------------------------------------------------------

---------------- EPrints System Error ----------------------------

------------------------------------------------------------------

'dare' is not a valid repository identifier:

PerlSetVar EPrints_ArchiveID dare

------------------------------------------------------------------

EPrints System Error inducing stack dump

at /usr/share/eprints3/perl_lib/EPrints.pm line 147.

EPrints::abort("EPrints") called at
/usr/share/eprints3/perl_lib/EPrints/Apache/Rewrite.pm line 62

EPrints::Apache::Rewrite::handler(Apache2::RequestRec=SCALAR(0x555933ce4880))
called at -e line 0

        eval {...} called at -e line 0

And when I run the epadmin test dare command or from apache web
server, I get the errormessage:

eprints@hpg1002:~$ bin/epadmin test dare

------------------------------------------------------------------

---------------- EPrints System Error ----------------------------

------------------------------------------------------------------

Error in configuration:

Can't use a hash as a reference at
/usr/share/eprints3/archives/dare/cfg/cfg.d/pronom_internal.pl line 58.

------------------------------------------------------------------

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 283

EPrints::Config::load_repository_config_module("dare") called at
/usr/share/eprints3/bin/../perl_lib/EPrints/Repository.pm line 517

EPrints::Repository::load_config(EPrints::Repository=HASH(0x558a9e4ba442))
called at /usr/share/eprints3/bin/../perl_lib/EPrints/Repository.pm
line 153

EPrints::Repository::new("EPrints::Repository", "dare", "noise", 1)
called at /usr/share/eprints3/bin/../perl_lib/EPrints.pm line 555

EPrints::repository(EPrints=HASH(0x55a9e4ba590), "dare", "noise", 1)
called at bin/epadmin line 376

main::repository("dare") called at bin/epadmin line 1670

main::test("dare") called at bin/epadmin line 312

eprints@hpg1002:~$

How can I resolve this problem?

THX for your help.

With best regards,

*Ing. Norbert Eder*

System and Network Administrator

Information and Communication Technologies Department

*tel*: +43 (0)2236 807 277  | *mob*: +43 (0)676 83 807 277

*mail*: eder@iiasa.ac.at

*International Institute for Applied Systems Analysis*

Schlossplatz 1, A-2361 Laxenburg, Austria | https://eur03.safelinks.protection.outlook.com/?url=www.iiasa.ac.at&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=chn5obtCzynaw4ddt1P47Xn2ym4zx2GCNeh%2BfsOzzXM%3D&amp;reserved=0
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.iiasa.ac.at%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=DgRHse7JoPKGocVXCmV0c6JpoFjh1WAIxGhuSPz2u6c%3D&amp;reserved=0>

Follow us:Twitter
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FIIASAVienna&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=9dxm%2F9YlpvZwwTiyZIChGTwF3E85n%2FAu8QsY%2FX2KlCg%3D&amp;reserved=0>|
Facebook
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fiiasa&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=GRQrYOQf9kmuJ9nkw7%2BLsxgbMRKmoWsz2KCHSARoAFQ%3D&amp;reserved=0> |
Blog
<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fblog.iiasa.ac.at%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=B%2B%2FHyN7OD%2BlRvNWLF%2FDdhmMf0rorrFCUg%2B0V3pmlxFY%3D&amp;reserved=0>|LinkedIn
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fiiasa-vienna%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=aClPZu4Psdik9Ff9quzM%2BlG%2BEfFbuLzo16H90jHms0w%3D&amp;reserved=0>|
YouTube
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fuser%2FIIASALive&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=PdQ5zRFUxqaS3w0PWGd5LkPu0LrPgkxik5XQH%2FgzERk%3D&amp;reserved=0> |
Flickr
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.flickr.com%2Fphotos%2Fiiasa&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=N9JJMcngg%2B7F598CAGfIPEtnC9xmkTGJlSM5hEUqIkw%3D&amp;reserved=0>__


*** 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=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=OwrxMCSb0sfRHv5mz8K7llNJNbwNhsnY95vAs0q2vn0%3D&amp;reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=nPACSMLNfT%2FLpe%2F4fED6IAF7TBC0VpmvKOwm2JG8euw%3D&amp;reserved=0
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C1c37384c9245433a24d708d7457da828%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=bragazgeGZEBLMlbAzs9a8a6fgTXyQaP3R2ZSBMRyy8%3D&amp;reserved=0