EPrints Technical Mailing List Archive
Message: #09490
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] eprints upgrade error
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] eprints upgrade error
- From: zen zenitram <quickfire28@gmail.com>
- Date: Thu, 30 Nov 2023 15:25:47 +0800
EPrints System Error
Error in file retrieval: failed to get file contents)
i tried to run ./bin/generate_static and show too many error
eprints@eprints12:~$ ./bin/generate_static aea
------------------------------------------------------------------
----------- EPrints System Error 2023-11-30T07:06:48Z ------------
------------------------------------------------------------------
In /usr/share/eprints/archives/aea/cfg/lang/en/static/search.xpage: pin element with no name attribute.
<epc:pin ref="title"/>
------------------------------------------------------------------
EPrints System Error inducing stack dump
at /usr/share/eprints/bin/../perl_lib/EPrints.pm line 163.
EPrints::abort() called at /usr/share/eprints/bin/../perl_lib/EPrints/XM L/EPC.pm line 147
EPrints::XML::EPC::_process_pin(XML::LibXML::Element=SCALAR(0x557baf49ba 68), "session", EPrints::Repository=HASH(0x557ba9582fa0),
"in", "/usr/share/epri nts/archives/aea/cfg/lang/en/static/search.xpage") called at /usr/share/eprints/
bin/../perl_lib/EPrints/XML/EPC.pm line 67
eval {...} called at /usr/share/eprints/bin/../perl_lib/EPrints/XML/EPC. pm line 67
EPrints::XML::EPC::process(XML::LibXML::Element=SCALAR(0x557baf49ba68), "session", EPrints::Repository=HASH(0x557ba9582fa0),
"in", "/usr/share/eprints/a rchives/aea/cfg/lang/en/static/search.xpage") called at /usr/share/eprints/bin/.
./perl_lib/EPrints/XML/EPC.pm line 134
EPrints::XML::EPC::process_child_nodes(XML::LibXML::Element=SCALAR(0x557 baf463f90), "session",
EPrints::Repository=HASH(0x557ba9582fa0), "in", "/usr/sha re/eprints/archives/aea/cfg/lang/en/static/search.xpage")
called at /usr/share/e prints/bin/../perl_lib/EPrints/XML/EPC.pm line 99
EPrints::XML::EPC::process(XML::LibXML::Element=SCALAR(0x557baf463f90), "in", "/usr/share/eprints/archives/aea/cfg/lang/en/static/search.xpage",
"sessio n", EPrints::Repository=HASH(0x557ba9582fa0)) called at /usr/share/eprints/bin/.
./perl_lib/EPrints/XML/EPC.pm line 134
EPrints::XML::EPC::process_child_nodes(XML::LibXML::Element=SCALAR(0x557 baf440a58), "in", "/usr/share/eprints/archives/aea/cfg/lang/en/static/search.xpa
ge", "session", EPrints::Repository=HASH(0x557ba9582fa0)) called at /usr/share/e
prints/bin/../perl_lib/EPrints/XML/EPC.pm line 99
EPrints::XML::EPC::process(XML::LibXML::Element=SCALAR(0x557baf440a58), "session", EPrints::Repository=HASH(0x557ba9582fa0),
"in", "/usr/share/eprints/a rchives/aea/cfg/lang/en/static/search.xpage") called at /usr/share/eprints/bin/.
./perl_lib/EPrints/XML/EPC.pm line 134
EPrints::XML::EPC::process_child_nodes(XML::LibXML::Element=SCALAR(0x557 baf4b6c80), "session",
EPrints::Repository=HASH(0x557ba9582fa0), "in", "/usr/sha re/eprints/archives/aea/cfg/lang/en/static/search.xpage")
called at /usr/share/e prints/bin/../perl_lib/EPrints/XML/EPC.pm line 99
EPrints::XML::EPC::process(XML::LibXML::Element=SCALAR(0x557baf4b6c80), "session", EPrints::Repository=HASH(0x557ba9582fa0),
"in", "/usr/share/eprints/a rchives/aea/cfg/lang/en/static/search.xpage") called at /usr/share/eprints/bin/.
./perl_lib/EPrints/XML/EPC.pm line 134
EPrints::XML::EPC::process_child_nodes(XML::LibXML::Element=SCALAR(0x557 baf4af5c0), "in", "/usr/share/eprints/archives/aea/cfg/lang/en/static/search.xpa
ge", "session", EPrints::Repository=HASH(0x557ba9582fa0)) called at /usr/share/e
prints/bin/../perl_lib/EPrints/XML/EPC.pm line 99
EPrints::XML::EPC::process(XML::LibXML::Element=SCALAR(0x557baf4af5c0), "session", EPrints::Repository=HASH(0x557ba9582fa0),
"in", "/usr/share/eprints/a rchives/aea/cfg/lang/en/static/search.xpage") called at /usr/share/eprints/bin/.
./perl_lib/EPrints/XML/EPC.pm line 134
EPrints::XML::EPC::process_child_nodes(XML::LibXML::Element=SCALAR(0x557 baf496af8), "in", "/usr/share/eprints/archives/aea/cfg/lang/en/static/search.xpa
ge", "session", EPrints::Repository=HASH(0x557ba9582fa0)) called at /usr/share/e
prints/bin/../perl_lib/EPrints/XML/EPC.pm line 99
EPrints::XML::EPC::process(XML::LibXML::Element=SCALAR(0x557baf496af8), "in", "/usr/share/eprints/archives/aea/cfg/lang/en/static/search.xpage",
"sessio n", EPrints::Repository=HASH(0x557ba9582fa0)) called at /usr/share/eprints/bin/.
./perl_lib/EPrints/XML/EPC.pm line 134
EPrints::XML::EPC::process_child_nodes(XML::LibXML::Element=SCALAR(0x557 baf463f00), "session",
EPrints::Repository=HASH(0x557ba9582fa0), "in", "/usr/sha re/eprints/archives/aea/cfg/lang/en/static/search.xpage")
called at /usr/share/e prints/bin/../perl_lib/EPrints/XML/EPC.pm line 99
EPrints::XML::EPC::process(XML::LibXML::Element=SCALAR(0x557baf463f00), "in", "/usr/share/eprints/archives/aea/cfg/lang/en/static/search.xpage",
"sessio n", EPrints::Repository=HASH(0x557ba9582fa0)) called at /usr/share/eprints/bin/.
./perl_lib/EPrints/Update/Static.pm line 360
EPrints::Update::Static::copy_xpage called at ./bin/generate_static line 349
main::copy_xpage(EPrints::Repository=HASH(0x557ba9582fa0), "/usr/share/e prints/archives/aea/cfg/lang/en/static/search.xpage",
"/usr/share/eprints/archiv es/aea/html/en/search.html", HASH(0x557ba95604e8)) called at ./bin/generate_stat
ic line 197
Thank you!
SystemSettings seems to be having some trouble reading the directory /opt/eprints3/flavours
Does that directory exist?
You could try creating it if not.
If it does already exist and you still get this error, you could also try checking the directory has the correct read/write permissions, or correct ownership.
Typically it should be owned by the eprints user.
This command would make it owned by the eprints user and also add it to the eprints group:
chown eprints:eprints /opt/eprints3/flavours
Of course, if the EPrints you are installing or upgrading lack any flavours,
you may wish to add one.
The standard flavour is the Publications flavour - also known as pub_lib.
Yours,
Andrew.
________________________________________
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> on behalf of zen zenitram <quickfire28@gmail.com>
Sent: 29 November 2023 06:58
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] eprints upgrade error
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Good day
Can anyone help me with this problem?
eprints@eprints3:~$ ./bin/epadmin test
readdir() attempted on invalid dirhandle LIB at /usr/share/eprints3/bin/../perl_lib/EPrints/SystemSettings.pm line 56.
closedir() attempted on invalid dirhandle LIB at /usr/share/eprints3/bin/../perl_lib/EPrints/SystemSettings.pm line 57.
Thank you very much in advance!
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] eprints upgrade error
- From: "Alan.Stiles [He/Him/They]" <alan.stiles@open.ac.uk>
- Re: [EP-tech] eprints upgrade error
- References:
- [EP-tech] eprints upgrade error
- From: zen zenitram <quickfire28@gmail.com>
- Re: [EP-tech] eprints upgrade error
- From: Andrew Mehta <A.J.Mehta@soton.ac.uk>
- [EP-tech] eprints upgrade error
- Prev by Date: Re: [EP-tech] eprints upgrade error
- Next by Date: Re: [EP-tech] eprints upgrade error
- Previous by thread: Re: [EP-tech] eprints upgrade error
- Next by thread: Re: [EP-tech] eprints upgrade error
- Index(es):