[EP-tech] Admin Screen JavaScript Problem

David R Newman drn at ecs.soton.ac.uk
Fri Nov 11 13:15:29 GMT 2022

Hi James,

/"appeared to be some eprints updates//amongst them.//"/

Do you mean you have EPrints installed as an OS (RPM or Deb) package?  
If so there may be a number of issues if EPrints source code has been 
updated.  The first thing I would do is check to see if there are any 
updates required to the database:

bin/epadmin update_dry_run REPOID

If these looks sane then run "epadmin update REPOID" to actually do the 

If you are getting Internal server error messages you can usually see 
them in the webserver error log files. As I assume you have HTTPS 
enabled this will likely be in the ssl_error_log or a similarly named 
file. (Check what you have set in your archive's ssl/securevhost.conf file).

It may be that you need to tinker with the ingredients included fro 
EPrints.  One requirement of upgrading an existing EPrints 3.4 
repository to 3.4.4 is to add the prototypejs ingredient to 
flavours/pub_lib/inc.  This the first step in trying to make EPrints 
JavaScript API agnostic and ultimately replace EPrints underlying 
JavaScript library (Prototype) either with a more commonly used JS 
library or just to use native JS.

I am not sure what would be causing PNG images to give internal server 
errors that does seem very odd.  Hopefully the error messages in the 
webserver log files will explain.


David Newman

On 11/11/2022 12:55, James Kerwin via Eprints-tech wrote:
> *CAUTION:* This e-mail originated outside the University of Southampton.
> Hi All,
> I've just applied some Ubuntu updates and to my horror noticed there 
> appeared to be some eprints updates amongst them.
> Now the page where I login to edit an eprint or upload files etc. is 
> messed up. All of the tabs (Preview, Details, Actions, Messages, 
> History and Issues) show all of their content under each tab. Eg. 
> under details I see the preview, details, actions and so on. Same if I 
> click on another tab.
> It is also not allowing me to upload files. I can go through the 
> motions of adding a file, but when I click "upload" the page appears 
> to refresh and do nothing.
> My guess is that this has introduced some JavaScript problems. 
> Irritatingly I think I've fixed this same problem previously.
> Can anybody offer some advice on where to look? If I "inspect" the 
> page in Crome I can see that we can't access minus.png, plus.png, 
> warning.png etc giving a "500 (internal server error)".
> Thanks,
> James
> *** 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=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7ff566aa6b1643d1ac4f08dac3e6ce7d%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638037693308462295%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=URTaJgS55mjopg65SliGoMJRdvd%2BJEWKta1KO9RRJ7k%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C7ff566aa6b1643d1ac4f08dac3e6ce7d%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638037693308462295%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=I2OrVoYnQyZa1E6kru7SCHDcRuTCq50usfJtgq2vm8U%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20221111/d21b7e28/attachment-0001.html 

More information about the Eprints-tech mailing list