<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970; background-color:#F7F9FA; color:#8D3970; font-size:14px; line-height:22px; font-family: Calibri, Arial, Helvetica, sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Cheers John, I am going to take the dog for a quick walk and go through all you've listed. The file location of the coversheeted version is especially good, I hadn't thought of that. The indexer logs too...
<div><br>
</div>
<div>I'll let you know how I get on!</div>
<div><br>
</div>
<div>Thanks,</div>
<div>James</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Oct 6, 2021 at 12:19 PM John Salter <<a href="mailto:J.Salter@leeds.ac.uk">J.Salter@leeds.ac.uk</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi James,<br>
Here's my checklist:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<ul>
<li><span>have you restarted the indexer? (It has a copy of the EPrints config in memory, so might not be aware that it should be doing things...yet! A restart of the indexer should help).</span></li><li><span>are there any clues in ~/var/indexer.log?</span></li><li><span>what about ~/var/opennoffice.log?</span></li><li><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">is the OpenOffice service running?</span><br>
</li><li><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">Are there any AddCoversheet events in the event queue?</span><br>
</li></ul>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">If I remember properly:</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">-items in the buffer don't normally have the coversheet applied.</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">-when an item is made live, the first download of the document will trigger an addition of the AddCoversheeet to the event queue</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">-your browser may be caching the downloaded document. Try appending a querystring <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepo.com%2F1%2F1%2Fthesis.pdf%3Fa&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C84aa2787403747252be408d988beb42b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691176744745546%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=yibMZpm4%2FHrRlqh0yZX6E6PJ5g56%2BoXVko%2FdGseAYkU%3D&reserved=0" originalSrc="http://repo.com/1/1/thesis.pdf?a" shash="h6zFzdMmMbNbdRdAedcOzTUvm5huFI39VLb9s7KHp4TpgcZaxvQHzMSH3Fy1f+V1smWOis1n2V5cLEna3Nq+XNN0f413E8u4okXlhzbGYxZtv+usCePpKUOXiqoge12ls1LiWvcD3QFsgneANtoRCs2N5W9In2gYwRUx8vtWBQ8=" id="gmail-m_3376336033720843198LPlnk321693" target="_blank">http://repo.com/1/1/thesis.pdf?a</a> sort
of thing.</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt"><br>
</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">You can also check the documents directories on the filesystem for thumbnails, and possibly a covered version that's not being served for some reason. The covered-sheeted
version will have the same filename as the original, but be in a different 'pos' related subdirectory.</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt"><br>
</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">Any of that help?</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt"><br>
</span></div>
<div><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">Cheers,<br>
John</span></div>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div id="gmail-m_3376336033720843198appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_3376336033720843198divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b>
<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.soton.ac.uk</a> <<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk" target="_blank">eprints-tech-bounces@ecs.soton.ac.uk</a>> on behalf of James Kerwin via Eprints-tech
<<a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a>><br>
<b>Sent:</b> 06 October 2021 12:03<br>
<b>To:</b> <a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a> <<a href="mailto:eprints-tech@ecs.soton.ac.uk" target="_blank">eprints-tech@ecs.soton.ac.uk</a>><br>
<b>Subject:</b> [EP-tech] Coversheet Plugin Help</font>
<div> </div>
</div>
<div>
<div style="padding-bottom:10px;padding-top:5px">
<div style="padding:12px;border:1px solid rgb(141,57,112);background-color:rgb(247,249,250);color:rgb(141,57,112);font-size:14px;line-height:22px;font-family:Calibri,Arial,Helvetica,sans-serif">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Hello everyone,<br>
<div><br>
</div>
<div>I hope we are all keeping well.</div>
<div><br>
</div>
<div>Can anybody help me with the coversheets plugin? I have installed it and the dependencies, uploaded a coversheet template, set it to active and deposited several items that should be suitable for a coversheet to be generated.</div>
<div><br>
</div>
<div>When I deposit an item (through Elements) to the repository it goes into the review and no coversheet tasks appear in the Indexer. I move it to the live archive and no coversheets appear. The item does not have a coversheet added to it.<br>
<br>
Even if there is some way to troubleshoot this or logs I could look at to get a clue.</div>
<div><br>
</div>
<div>At the moment the sheet is set to be added to items of type "Thesis".<br>
<br>
There were some things I noticed and have changed. First being the template couldn't be uploaded. There was no "coversheets" folder in cfg/static so I added one and it worked. Permissions fully open as it's on the test server and I'm narrowing down problems.<br>
<br>
The next thing I changed was in <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fz_coversheet.pl%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C84aa2787403747252be408d988beb42b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691176744755510%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TvmoX16WZsAfZ2b30gXjLSxaAv%2BwEQB66LFb4QLHd8o%3D&reserved=0" originalSrc="http://z_coversheet.pl/" shash="Jqhy8mOdldTrA1Fdl81/9CI0n/2CAuNPas2grqpKpkYVexBWWKpmMkVhoINa2JDfgGMMQZUbxIgJ9Izk9WAMKmNOPkYfdkRUC5/9LdfW4tAd1zwndMslNdkjjSCHQQzzofdmFaFPGsA9CtgWcHg4IkO0KaXx2ApnazPJ5G83S30=" target="_blank">
z_coversheet.pl</a>:<br>
<br>
$c->{gs_pdf_stich_cmd} = $c->{archiveroot} . "/bin/tools/stitchPDFs ";<br>
<br>
to:<br>
<br>
$c->{gs_pdf_stich_cmd} = $c->{archiveroot} . "/bin/stitchPDFs ";<br>
<br>
because that matches the actual location of stitchPDFs.</div>
<div><br>
</div>
<div>Looking in bin I can see the following aren't set to be allowed to be executed by any user or group:<br>
<br>
DocumentConverter.py</div>
<div>remove_coversheets</div>
<div><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenoffice-local.pl%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C84aa2787403747252be408d988beb42b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691176744755510%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xee6q8vPGxB4hnmPbmMTMSTeeaYYBhAJzmB2Of%2FMpXM%3D&reserved=0" originalSrc="http://openoffice-local.pl/" shash="eRJ1WAnXy3PGmBTMhW0OebuaxZ1QzjXc95hWUfFJWgfQasW+VF2UKHP6vUveXFVoisV2X8NCf9p+WFpGjXP5dFPzE/bazts0YX2fVVHeXWvk1gF/CBIGJ2HL7rFPcerjWvn8ZSwTfwxLWvvRNn4fpvaxRiEPH0E6p2oRn+Tw72k=" target="_blank">openoffice-local.pl</a></div>
<div><br>
</div>
<div>I will open them up and have another attempt, but if anybody has any more guidance it will be massively appreciated.<br>
<br>
Thanks,</div>
<div>James</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>