Re: [EP-tech] Eprints not working after migration to a new server
EDER Norbert via Eprints-tech <[email protected]>
| Newsgroups | gmane.comp.web.eprints.devel |
|---|---|
| Message-ID | <EMEW3|06aa46554b94141677a65f593e8d9f7ev931Y614eprints-tech-bounces|ecs.soton.ac.uk|[email protected]> |
Dear Thomas and Pracetio,
Thx for the reply.
Here are my answers in summary:
>Is the new EPrints able to connect smoothly to this mysql?
Yes, the new EPrints server is able to connect to the mysql Server.
>Output from apache….
root@hpg1002:~# apachectl configtest
Syntax OK
root@hpg1002:~#
> /usr/share/eprints3/archives/dare/cfg/cfg.d/pronom_internal.pl line 58.
Extract from /usr/share/eprints3/archives/dare/cfg/cfg.d/pronom_internal.pl:
$c->add_dataset_field( "pronom", { name=>"file_count", type=>"int", required=>0, }, );
$c->add_dataset_trigger( "document", EP_TRIGGER_FILES_MODIFIED , sub {
my ( %params ) = @_;
my $repository = %params->{repository}; ###### this is line 58
return undef if (!defined $repository);
if (defined %params->{dataobj}) {
my $doc = %params->{dataobj};
>If sees from error log, pronom_internal.pl<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpronom_internal.pl&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=vbRol67sE46YkYXLN89GSmbGZR27eZDAfR8sWQSK3OM%3D&reserved=0> is from preservation toolkit at eprints bazaar. Maybe you need to disable first all plugins from eprints bazaar or maybe this plugins not compatible with new debian.
When I deactivate all, migrate to the new server, activate all plugins, are there some data lost?
I found out, that the /usr/share/eprints3/lib/plugins is missing.
Is there a better migration guide available??
More detailed description.
Sorry, but I am not an eprints experts. I am the Operating System administrator.
Thx.
Best wishes,
Norbert
-----Ursprüngliche Nachricht-----
Von: [email protected] <[email protected]>
Gesendet: Mittwoch, 2. Oktober 2019 10:21
An: [email protected]
Cc: EDER Norbert <[email protected]>
Betreff: Re: [EP-tech] Eprints not working after migration to a new server
Hi Norbert,
> ... mysql server is separated and is not touched
Is the new EPrints able to connect smoothly to this mysql?
What's the output of `apachectl configtest`?
> /usr/share/eprints3/archives/dare/cfg/cfg.d/pronom_internal.pl line 58.
What happens here?
Hth
Thomas
Von: [email protected] <[email protected]> Im Auftrag von Ajunk Pracetio via Eprints-tech
Gesendet: Samstag, 28. September 2019 09:48
An: EDER Norbert via Eprints-tech <[email protected]>
Betreff: Re: [EP-tech] Eprints not working after migration to a new server
If sees from error log, pronom_internal.pl<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpronom_internal.pl&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=vbRol67sE46YkYXLN89GSmbGZR27eZDAfR8sWQSK3OM%3D&reserved=0> is from preservation toolkit at eprints bazaar. Maybe you need to disable first all plugins from eprints bazaar or maybe this plugins not compatible with new debian.
Thank you.
On Sat, Sep 28, 2019, 13:37 EDER Norbert via Eprints-tech <[email protected]<mailto:[email protected]>> wrote:
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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=yRWhh21XtVem2Ema5OsanlBJi5ZQq843Ri%2BzlPYZE7s%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FMoving_a_repository&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=yRWhh21XtVem2Ema5OsanlBJi5ZQq843Ri%2BzlPYZE7s%3D&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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpronom_internal.pl&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=vbRol67sE46YkYXLN89GSmbGZR27eZDAfR8sWQSK3OM%3D&reserved=0> 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: [email protected]<mailto:[email protected]>
International Institute for Applied Systems Analysis
Schlossplatz 1, A-2361 Laxenburg, Austria | https://eur03.safelinks.protection.outlook.com/?url=www.iiasa.ac.at&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=sddgiMBWnyC5bCzz8%2Bin4jbeYlnVdgvqtfRw0Cdh55I%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.iiasa.ac.at%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ZzvfJ0S2WRnOZ2FJoW%2FcmK4lub0e3YfAc3OcylhFm6I%3D&reserved=0>
Follow us: Twitter<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2FIIASAVienna&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=BxYbLBAi59Ro4BUDwfBrr034yAtDM6C%2BXNHXCkFPqZ0%3D&reserved=0> | Facebook<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fiiasa&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=pynn6yU54SPz6zICbLHJ5S3sXVe%2F0gkvn0kYEhCGdfI%3D&reserved=0> | Blog<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fblog.iiasa.ac.at%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=G2s1VbAs5JdaDhCQ99wenIfp6%2BDPAA4FXrRny0xMGec%3D&reserved=0> | LinkedIn<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fiiasa-vienna%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=kg7UJ4c8Tt8gCeZk1kTYDBQYGEjhy1IjUEAdyKvpSAo%3D&reserved=0> | YouTube<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.youtube.com%2Fuser%2FIIASALive&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ERevLC98ppNimdRTre5vxYnE1yXnxwz0Y%2FSd0lrLLig%3D&reserved=0> | Flickr<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.flickr.com%2Fphotos%2Fiiasa&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=z%2B1HA2k5rzUInlwasrqOe6h%2Fj6190I1D0SGQh5DI7S4%3D&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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ww2WYN00PWRnKMEDpOki%2BZfdZ2aep5LvaikmVVQFNkE%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ww2WYN00PWRnKMEDpOki%2BZfdZ2aep5LvaikmVVQFNkE%3D&reserved=0>
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=l7v8lbZlR15cyU6u6HiicFcYCgmdwJezrvCE7apEp6A%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=l7v8lbZlR15cyU6u6HiicFcYCgmdwJezrvCE7apEp6A%3D&reserved=0>
*** EPrints developers Forum: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=6iJ0dAZf9Yq9QyqfPjet6e94Rjqa%2FU17SxAuCpk0yfM%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbcb0afb321a94de99ebb08d74861c39f%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=6iJ0dAZf9Yq9QyqfPjet6e94Rjqa%2FU17SxAuCpk0yfM%3D&reserved=0>
*** 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/
*** EPrints developers Forum: http://forum.eprints.org/