[EP-tech] Internal server error when refreshing views

Jim Brinkley brinkley at uw.edu
Fri Jan 14 19:02:33 GMT 2022


CAUTION: This e-mail originated outside the University of Southampton.
Hi,
                I run an eprints3 site at sigpubs.si.washington.edu. It generally works fine except when a view regenerates I get an internal server error.

To recreate this issue I can login, go to Admin:System Tools, and then click on Regenerate Views, which as I understand it, causes all views to be regenerated whenever I request them. For example, I can go to  menu Browse:Browse by Subjects, then click on any of the subjects in my customized subject list, as for example, my first subject, "3-D Reconstruction". I then get "Internal Server Error". If I then refresh the browser page the error goes away and the correct view appears. This view then remains correct for as long as I've tested it, but I think there may be a timeout when it gets regenerated again.

I looked in the apache server log and find this error whenever I get the Internal Server Error:
Can't use an undefined value as an ARRAY reference at /opt/eprints3/perl_lib/XML/DOM/NamedNodeMap.pm line 142.\n, referer: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsigpubs.si.washington.edu%2Fview%2Fsubjects%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb27e3c622b1b4032742908d9d790a558%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637777838570544938%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=s3S7EiSMFIE9RI7JMFVKE67LSMkqCMpq6YTNX7Tk5uA%3D&reserved=0

I  am running what I think is the latest stable version of Eprints: 3.4.3, on Ubuntu 20.04, perl version 5.30, apache2. Apache is running as www-data.www-data. The repository is owned by eprints.eprints, and www-data is in group eprints so it can write files to the repository. I don't think permissions are the issue because once I refresh the page the view is OK, and the files in the views directory are changed.

I've searched the web and this mailing list and can't find this particular situation. Any suggestions? Thanks.

Jim Brinkley
Structural Informatics Group
University of Washington
Seattle USA
http//:si.washington.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220114/73f3c400/attachment.html 


More information about the Eprints-tech mailing list