EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10244


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Hi, i want ask


CAUTION: This e-mail originated outside the University of Southampton.
i am using apache2

On Mon, Sep 8, 2025 at 4:27 PM Yuri <yurj@alfa.it> wrote:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.

Hi!

 are you using nginx in front of Apache?

Il 08/09/25 02:26, jokoe soesilo ha scritto:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Hi David,
I am not using SELinux on my server. I also checked the cfg.d/session.pl file, and I did not find any configuration related to $ENV{tmp_dir}. Below is the full content of my session.pl file for reference, This issue only appeared in the past few days, whereas previously there was no problem with uploading files. 

Regards 
Jokoe  

On Sun, Sep 7, 2025 at 7:05 PM David Newman <drn@ecs.soton.ac.uk> wrote:
Hi Jokoe,

If you can upload only very small files*, it is likely that your temporary directory that buffers files until they are fully uploaded and can be moved to the documents directory is not accessible by EPrints running on Apache. Checking your configuration, in particular your archive or lib's cfg.d/session.pl and see what it says for $ENV{tmp_dir}. Then make sure the user that is running Apache has permissions to write to that directory.

If $ENV{tmp_dir} is not set it would still be useful to know what user Apache is running as. Also do you have SELinux enabled. If so, it is worth putting this in permissive mode and restart Apache to see if you can then upload larger files.

Regards

David Newman
*Very small files will upload in a single chunk and therefore don't need to be buffered.



From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> on behalf of jokoe soesilo <jokoesoesilo2@gmail.com>
Sent: Saturday, September 6, 2025 11:57:30 pm
To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Hi, i want ask

CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
  Hi, yesterday I tried to upload in our EPrints system, but it just got stuck and didn’t proceed. If the file size is below 1MB, the upload works normally, but when I try to upload a file of 2MB, it doesn’t work and just keeps loading. What could be the problem? We are still using EPrints 3.3.16 until now because we haven’t managed to successfully upgrade to the latest version of EPrints. this i have screen shot of the proses when upload progress  

*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/


*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/

*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/