<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<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. This is why a
200KB file works fine but slightly larger files do not. 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.
This would suggest that there is a permissions or similar issue
with this directory. It has been found that EPrints cannot use
the /tmp/ directory on modern Red Hat based Linux systems. It may
be the case that this is true with other Linux operating systems.
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/session.pl and add the
following block of code to the $c->{session_init} configuration
function (sub):</p>
<p><font face="Courier New, Courier, monospace"> if ( -d
"/opt/eprints3/tmp/" )<br>
{<br>
$ENV{'TMPDIR'} = '/opt/eprints3/tmp/';<br>
}<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. Once you 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. So I am rather speculating with
the above solution, as it is has been the resolution for similar
problems in the past. 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? Also, check the log files for your package
manager (e.g. APT or YUM) to see what packages have been upgraded
recently. As some change here may have led to this problem.</p>
<p>5. 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. 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 class="moz-cite-prefix">On 02/05/2021 16:17, Ajunk Pracetio via
Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|418600a40f4847587bf1619396ead6ecx41GIY14eprints-tech-bounces|ecs.soton.ac.uk|CACOEPmN9+N_DLWtnHnbfC8dgP6eNtGgGWGHDqumS3DSk6SZ9mQ@mail.gmail.com">
<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'd like to ask about upload process on my eprints. Why
the process take so long. 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:part1.BC2D21D1.06814A14@ecs.soton.ac.uk" alt="image.png" class="" 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 class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb34c9a6864e04e653ae508d90d891f68%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555704948338760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=N%2FsLzTIbewzfAe9%2B4aZ2AqXyQSqh8YDFAr1XZdjRm8M%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="U+w1Qv9jjFGVvJhwa1T9PW45kf2a+RDpTnhG2wO3Qqo+GIVMz5ZJsO7esHglFAiC3ZhMP5dxEc7DuykG5EznfvJHaQgBG8+lG8+aC6g/eBHEKkqqvRhKBcgs2JlS84uAQbgdVW7P/Y8JKc1PQvDsros24dtTUUkHYQQ4jHNFSqY=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb34c9a6864e04e653ae508d90d891f68%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555704948343740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Dt7gJJyb8dLG8bUsF9KoY3tWcL%2FGEXF10LrVsj9m25E%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="iUn48Jc8xMSiml+3WS0OkagoSwl36HuaLVfFfUJz1qyuaCC3p2Sz2xiM5vJlT5oLMmAPHx7nyJTPk3vwtekrRKfKoSh/dGk6nJdS4Gpk7EFrtAz1AWEawSDjVih/5gQBYxKcgHEq5ZC+pPZrnv8vNX5SV6Anwh5VdLWIx7ibY/4=">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb34c9a6864e04e653ae508d90d891f68%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555704948343740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=giLP3xYrB2pR2QCRrMZrxz7%2B%2FYPdpWaYEnLfeCUWOes%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="C0r2kp1IMo4qPLU64HurGKXw6EGkG8XgptjvX30IdTI5E08fQwPyw/TW/p5m87Aeg5SWTHAmVx+3vyuSdRKkzviFSLEstZxmRm/2Q8mGxz5POKl7of1SkW+J3H+fy2xIqP8IKyQ0gIdvindP1q546OkQvzwGas+Oy4OZwLr1tQg=" 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: #41424e; 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&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb34c9a6864e04e653ae508d90d891f68%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637555704948348720%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=P55%2Fy9%2B0V6UbSG8Vn9mI9hvVjEFAwuaqi10foNQD%2Fnw%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="Il94ppkb1/R31y56fQonallP8jB7PyyX+T80PiZ1p2dtvuI4rn5yp1+OVBazJLhfEh1+lECqwVs4SXB/jUGtO1lq00AkxnmnPhmtCWVki/3pzc9a6qS1fK39mQ4lsxtVJH+nZVvI8Osft6ZvlJjZUku9Cc+l/8zShzO2lImXMmE=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>