[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Refresh Abstracts removing Boxes from Summary Page
Hi John and Adam.
Id already tried restarting the httpd service multiple times and the indexer has been restarted since this problem arose.
The whole thing has me very confused as it only appeared recently.
We did move to shibboleth auth around the same time and all traffic is now directed through https... not sure if these changes would have done anything.
On Thu, Jan 4, 2018 at 6:54 PM +1100, "John Salter" <J.Salter at leeds.ac.uk<mailto:J.Salter at leeds.ac.uk>> wrote:
It sounds like you might just need to restart Apache...
When running something from the command-line, the EPrints stack is interpreted from the files on disk.
When you 'expire' the abstracts, they are regenerated on-the-fly by the Apache process, using the EPrints stack Apache interpreted when it was started.
Hope that makes some sense.
If might also be worth restarting the indexer - as this too has an interpreted stack that could differ from the on-disk version you get from the command-line now!
From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Monica Wood <monica.wood at utas.edu.au>
Sent: 04 January 2018 01:15:23
To: Eprints Tech
Subject: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
I?ve got the most bizarre problem happening.
My staff started noticing that when they edited an item that the irstats2 downloads box would disappear from the summary page.
I had a look and noticed the altmetics box was also disappearing and when I did a refresh_abstracts using epadmin or the regenerate abstracts button from the admin -> systems tools, then every box disappeared from every summary.
They reappear if I run the script generate_abstracts from the cmdln, but apart from refresh_abstracts setting a abstracts.timestamp variable to state that a page needs to be regenerated on request, I cannot see what these commands are really doing differently.
Both should be calling the method $eprint->generate_static() when the page is generated
I could solve this by not putting that data into a Screen::EPrint::Box, but it doesn?t actually solve the issue of why refresh is removing them.
University of Tasmania
University of Tasmania Electronic Communications Policy (December, 2014).
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
-------------- next part --------------
An HTML attachment was scrubbed...