<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Agung,</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);">
You should also make sure to check if the upload issue is replicated on different connections - to eliminate the possibility that this is caused by a network issue rather than an EPrints issue. I write this because&nbsp;<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">I
 observed a similar problem on our system, but the issue only appeared on much larger file sizes and it was not easily reproducible.&nbsp; It turned out, that there were some internet-throttling equipment/settings limiting file uploads on some of the internet connections
 on campus, and so the issue was only observed on those workstations, and it was not caused by anything on the EPrints server per se.&nbsp;&nbsp;</span></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);">
In addition, if I remember correctly, there is also an (optional?) max_file_upload size limit that can be set in your configuration files, so I would double check if that isn't set.</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);">
Tomasz</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div></div>
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; color:rgb(33,33,33); background:white">
<br>
</p>
</div>
</div>
</div>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk &lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of Ajunk Pracetio via Eprints-tech &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Sent:</b> Sunday, May 2, 2021 6:11 PM<br>
<b>To:</b> EDER Norbert via Eprints-tech &lt;eprints-tech@ecs.soton.ac.uk&gt;; David R Newman &lt;drn@ecs.soton.ac.uk&gt;<br>
<b>Subject:</b> Re: [EP-tech] Ask about upload progress</font>
<div>&nbsp;</div>
</div>
<div>
<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 alt="image.png" width="562" height="110" data-outlook-trace="F:1|T:1" src="cid:96b432a2-93c4-4ee8-9374-15de10389564">
<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="x_gmail_quote">
<div dir="ltr" class="x_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="x_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%7Ce24d350de12a4116e40808d90e63a0d8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637556643335632863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=91G4DTfznvwKujVsL2QVC1TZV2Yn78zg60L33EHQttY%3D&amp;reserved=0" originalSrc="http://session.pl/" shash="S+ThrUm8CnZXko0X82ALazYPuuy+Pvk4MrouMbU1HeY7ZmuLX7d9Q+sZ94xM26og8ksqe5MpaFDm9h+XSt8KEkyllI3mWZ/CwAjWh382dKqGQiRoHtBVzTmqTREVNTBBblXfGtk7ANFhkArU5Ir7r+xo0g8aoBhCu+G+EANdnfE=" 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 alt="image.png" width="542" height="310" data-outlook-trace="F:1|T:1" src="cid:2ccfbcd9-57c9-4bf5-8288-065228a007d1"><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%7Ce24d350de12a4116e40808d90e63a0d8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637556643335632863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=zv6UhyjEezAfvcsrvqpMSji8uzpAkFoRjZjJPQRqj%2Fc%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="jFD2kEjcz6RCMkD6x9c1our+RgqMcQF3wxnAcKxfRkJTOnhsWYx5yzDl3i3cCEYi6Qg3t64rtv+Yqtz/8sqSvq/op76WtWTtogy0QMTvcIso6mdVewcUEbAS6/LJZzxAqImk1XVzsTdkGJ7kGxgq+zdvGgcjiFIt8D86DRMiW1Q=" 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%7Ce24d350de12a4116e40808d90e63a0d8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637556643335632863%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=UazbA11ZuAdwNxv8CtwrB625va76Fjm8%2F9T3%2BqK8IoY%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="Xgo9DUtm6zf7dgtXqvcpq/dtSHx3ufAYpCnjIOvSxtTvx/Bc61sJO8VrgOoxL7ggmafXqrESSdL9UMwCibse9bNtzyVqoRBIhlg7/CE+K9CDrFeE3EdDSjtPsggPkaU+TyiFqqCBepWZE7UY0XBH+9eFVczhV+5aHIX309vQH3Q=" 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="x_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%7Ce24d350de12a4116e40808d90e63a0d8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637556643335642810%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=eVtmRwKE%2FuqEnTrZnyo7fNowQqaiZpCFYc4R0XgyYZw%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="MrkH9ihBiNjIGIjkahO03vpd+jtQUzxmHCVI1UZVNVR5MlD7flHeIhW/C4MTstjMPxMJKIHSDAq0pGNyrNf63PqyQyA3mw6lpp5DrJKdzu12gmPkxnn1QN1lpeMNqPVBDUXxx0YxW9XGZaQqcsJo4sA67svca6yPYUdu+kWnXoU=" originalsrc="http://www.avg.com/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient" shash="lnDagFtGU4bxD3vj7Gy3bMUiFBj8Lk/hU1aTFew1XCCVCju1MDt+V69wc5XX/JKZQhQiG/V8aBFnW+05DgB5LjvpcKvBk55itjS1sWojB39aspHUmfYqfRMvp2PGCeuy0bhEZvLz0UP+8A5tmAJgCKfqrlFF3w1tst3KyOryjlU=" target="_blank"><img alt="" width="46" height="29" style="width:46px; height:29px" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"></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%7Ce24d350de12a4116e40808d90e63a0d8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637556643335642810%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=eVtmRwKE%2FuqEnTrZnyo7fNowQqaiZpCFYc4R0XgyYZw%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="MrkH9ihBiNjIGIjkahO03vpd+jtQUzxmHCVI1UZVNVR5MlD7flHeIhW/C4MTstjMPxMJKIHSDAq0pGNyrNf63PqyQyA3mw6lpp5DrJKdzu12gmPkxnn1QN1lpeMNqPVBDUXxx0YxW9XGZaQqcsJo4sA67svca6yPYUdu+kWnXoU=" originalsrc="http://www.avg.com/email-signature?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=emailclient" shash="lnDagFtGU4bxD3vj7Gy3bMUiFBj8Lk/hU1aTFew1XCCVCju1MDt+V69wc5XX/JKZQhQiG/V8aBFnW+05DgB5LjvpcKvBk55itjS1sWojB39aspHUmfYqfRMvp2PGCeuy0bhEZvLz0UP+8A5tmAJgCKfqrlFF3w1tst3KyOryjlU=" target="_blank" style="color:rgb(68,83,234)">
www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a href="#x_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%7Ce24d350de12a4116e40808d90e63a0d8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637556643335652757%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=yqVUag8MePytAadbXcfwq5AHVO9UawwYhb45Bwq9BMc%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="RJ94icJ2j8D+vFQLucgM6IJBXU8W796WeUQrCMpNQ/ewSsfmt3QyaiTapnsWZxviyRv2kA4d3ncfMy5PyyjAEKU8l9BDNtA6X/kPAFGWzk9OHxtspYv5DfcnZizKpOzrZBYH7KcU60CRZlfFpYMOyMUOI7mU8A6CaMo9abWa6hU=" 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%7Ce24d350de12a4116e40808d90e63a0d8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637556643335652757%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=MvaJsX4uiuLQT4HPX7j6b67uWCtxI9HHwr%2FnxzX6Tok%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="zrPF7grKi9gglCYb1rvf0Wlt88huQraZOgxLo1GRhpGEeAIsVLMPtZZ1q5c6eLsX8s+PgxBTmm45eewZ/uTt1pKJ6uykfAyVtLEnArCX6C2I9dOAotOh2Z2ZtMzegrAzQwBwu7UxXb6Axr60I9MOILImSzMoIvbMf8ex1kPM5LU=" 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>
</div>
</div>
</div>
</body>
</html>