<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">Hi,
<div><br>
</div>
<div>I am running Ubuntu server 18.04 LTS with eprints 3.3.16. I just install new eprints but moving the archive folder and database from other server. when running at previous server it running well without problem.</div>
<div>I already try add script from you but the problem still exist. this is my screenshot. it seems like timeout..but I don't know exactly the problem.</div>
<div>
<p></p>
<img src="cid:ii_ko7q88v91" alt="image.png" width="562" height="110">
<p>At error.log&nbsp; there is no error about this, only error about subjsct that not found, it probably because we already edit the subject</p>
<p>Thank you</p>
<p>Regards,</p>
<p>Agung PW</p>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, May 2, 2021 at 11:41 PM David R Newman via Eprints-tech &lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt; 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>
<p>Hi Agung,</p>
<p>This issue sounds like it could be a problem dealing with files being sent in chunks rather than all in one go.&nbsp; This is why a 200KB file works fine but slightly larger files do not.&nbsp; 200KB can be sent in a single chunk but that is about the limit for a
 file that can be sent in a single chunk.</p>
<p>If a file can be uploaded in a single chunk this may mean it does not need to use the /tmp/ directory on the server's file system.&nbsp; This would suggest that there is a permissions or similar issue with this directory.&nbsp; It has been found that EPrints cannot
 use the /tmp/ directory on modern Red Hat based Linux systems.&nbsp; It may be the case that this is true with other Linux operating systems.&nbsp; It may even be that new versions of some operating systems now prevent EPrints writing to /tmp/ when old versions did
 not, (e.g. this may be allowed in Debian 9 but not Debian 10).</p>
<p>The way this has been resolved for Red Hat based Linux operating systems is to edit the archive's cfg/cfg.d/<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsession.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C949384aa02764c4c1efc08d90db74819%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555903112200332%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=NOufeXpSKt29WA%2FYVGd3pMyHWgz6u40UJGtKslJQLIY%3D&amp;reserved=0" originalSrc="http://session.pl/" shash="cRiMhgyQgezDMhRc6v3hT8RH7mm8BAYgL+EiQh7zB0cvVFndUqEXHfOBw3gU+msHB1jQPry6BMoJbyT86AJAyVAlvzLxAdgt7gNUNZkB24xMjlA1EnvnjeX9L31twGtFimbRFyxva7VbEHyC9AfvI4gi2w1ezVmYQBhi41Dkefc=" target="_blank">session.pl</a> and add the following block of code to the $c-&gt;{session_init} configuration function (sub):</p>
<p><font face="Courier New, Courier, monospace">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if ( -d &quot;/opt/eprints3/tmp/&quot; )<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $ENV{'TMPDIR'} = '/opt/eprints3/tmp/';<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
</font></p>
<p>In addition to this you will need to create the /opt/eprints3/tmp/ directory (adjust as appropriate if your EPrints root directory is not /opt/eprints3/) and get its permissions set correctly so it can be written to by the user running the Apache webserver
 underneath EPrints.&nbsp; Once you&nbsp; have done this you can reload the webserver and you should be able to successfully upload larger files.</p>
<p>That all said, you have not really provided enough detail to accurately diagnose the problem.&nbsp; So I am rather speculating with the above solution, as it is has been the resolution for similar problems in the past.&nbsp; If this solution does not work it would
 be useful if you could provide the following information:</p>
<p>1. What operating system and version are you running EPrints on?</p>
<p>2. What version of EPrints are you running?</p>
<p>3. Is this a newly installed EPrints repository or is this an existing EPrints repository that has just suddenly developed this problem?</p>
<p>4. Have you recently upgraded your operating system on which EPrints is running?&nbsp; Also, check the log files for your package manager (e.g. APT or YUM) to see what packages have been upgraded recently.&nbsp; As some change here may have led to this problem.</p>
<p>5.&nbsp; It is worth checking the webserver's error log files to see if there is any more detail about why the files are failing to upload.&nbsp; If you could share any error messages that seem relevant to this problem, then I may be able to give more specific advice.</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<p><br>
</p>
<div>On 02/05/2021 16:17, Ajunk Pracetio via Eprints-tech wrote:<br>
</div>
<blockquote type="cite">
<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">Hi,
<div><br>
</div>
<div>I'd like to ask about upload process on my eprints. Why the process take so long.&nbsp;This is my error message :
<b>Error in file retrieval: failed to get file contents</b></div>
<div>This is my screenshot</div>
<div><img src="cid:1792f147082cb971f161" alt="image.png" width="542" height="310"><br>
</div>
<div>All process running well, except upload file. If I upload below 200kb, it is running well, but if I upload larger that 600kb, it takes very long and then the upload not succesfull.</div>
<div><br>
</div>
<div>Please, need help about this problem</div>
<div><br>
</div>
<div>Thank you,</div>
<div><br>
</div>
<div>Regards,</div>
<div>Agung PW</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C949384aa02764c4c1efc08d90db74819%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555903112200332%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=QbRwKNO9TKruniiqrp6W%2BTzVtffZjoHjyaaSAcAvHRs%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="UJrKEFWIaeSLz0hRejLt90N0kdni+Oxsrus+aUtq5VjG9UVJc/lfHTZ5lJg/qSq04J7BRQWBmgivXqrqAHP/2aYRw7clIRLG1a1lUkhaA0HXpNrh1MBJ+OaXXIPhqrVcfBPNTnU5bmVtBAv7tA0ixCLfVjTeXVPd5PDrc5XZu9k=" target="_blank">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C949384aa02764c4c1efc08d90db74819%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555903112210326%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=iVZUJj4Fcw6AndFHMklBU6rZ9kZrC5Mo2hY5aup2O7k%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="FPrQHGG/zrMEFYUe6fnn66ua44Kg2FZBpZpQTHtdCKsKwAtGU/lTuZZC/JILuLJPKWI8RDub5NnIZNTQyoys1IXdhwVn2CbObtNJplI7IO/C4IdiaKZ+lQ13POfoFVq8D686TEklBWK/i6AHztALp+NhV6/+UCsL6ZTvPrf50TM=" target="_blank">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="gmail-m_9177310227757989421DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody>
<tr>
<td style="width:55px;padding-top:13px"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C949384aa02764c4c1efc08d90db74819%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555903112220321%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=SAPyRY3OItKOKBmGJS0QI1nZtTfv4%2B8IcEFNJAyB9mw%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="lnDagFtGU4bxD3vj7Gy3bMUiFBj8Lk/hU1aTFew1XCCVCju1MDt+V69wc5XX/JKZQhQiG/V8aBFnW+05DgB5LjvpcKvBk55itjS1sWojB39aspHUmfYqfRMvp2PGCeuy0bhEZvLz0UP+8A5tmAJgCKfqrlFF3w1tst3KyOryjlU=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">
Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C949384aa02764c4c1efc08d90db74819%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555903112220321%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=SAPyRY3OItKOKBmGJS0QI1nZtTfv4%2B8IcEFNJAyB9mw%3D&amp;reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="lnDagFtGU4bxD3vj7Gy3bMUiFBj8Lk/hU1aTFew1XCCVCju1MDt+V69wc5XX/JKZQhQiG/V8aBFnW+05DgB5LjvpcKvBk55itjS1sWojB39aspHUmfYqfRMvp2PGCeuy0bhEZvLz0UP+8A5tmAJgCKfqrlFF3w1tst3KyOryjlU=" style="color:rgb(68,83,234)" target="_blank">
www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a href="#m_9177310227757989421_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>
</div>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C949384aa02764c4c1efc08d90db74819%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555903112230319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=LMM2CAMKOMBivhoju8SFExtWELTEVnNoU7H35ozDA1E%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="QIvoBOMpTQSs0neKu7b7uPuO9/U/Eq930ZzxC3HFIcY94ztfcHfhvs33dL4j19CT2UZPYCbObhnDeb5FNSW/TfWClXeGubSwueljiTUojfhIbGZ7K9fof4QXvjlZG0QPF74a3GtiTRbVL12EBI2/j44ZgBPASgrFS58Z07ipMFg=" rel="noreferrer" target="_blank">
http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C949384aa02764c4c1efc08d90db74819%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555903112240311%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=dH12AZ3YsHdkbhOiLichxJGd2OOJLYjvE56WPKPzDw8%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="FB/YlFoEQDwwlxshhIK7iQj/3S7AZWhJ4Jl8daYW3KS4840onILWjAfKzvZmjMqdg/QonOV5oKBKl/U6xezrfRHWVwgE6WYEfjHW3Qqq78uSoil0YETMQO9dTdXeULu2wAIPdhRyN6Td+IgbkzNyIbu56htuJ0+gBlDu5jXMiAI=" rel="noreferrer" target="_blank">
http://wiki.eprints.org/</a></blockquote>
</div>
</div>
</body>
</html>