EPrints Technical Mailing List Archive
Message: #00186
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: File upload failed
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: File upload failed
- From: <rchilliard@mun.ca>
- Date: Fri, 16 Mar 2012 12:18:15 +0000
Hi Fran,
I think it will depend a bit on your particular apache setup, however, I was able to set the apache user on our system by specifying the values of for APACHE_RUN_USER and APACHE_RUN_GROUP in the Apache envvars (environment variables) file, (ours resides in /etc/apache2/envvars) as below: export APACHE_RUN_USER=eprints export APACHE_RUN_GROUP=eprints Before making edits to the config, it's probably best to make a backup of the original; you will also likely need to be running as the root user to edit the config. Your config file likely has these variables exported already (most likely as apache/apache or www-data/www-data), so be sure to comment out or replace any existing definitions. After making the changes, you will have to restart Apache before they take effect. It will also be necessary to revert ownership of the documents directory back to eprints/eprints. In configuring our repository, I found that running apache as eprints and setting blanket ownership within the eprints directories to the eprints user helped to solve essentially all permission issues. Cheers, Casey From: eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of Fran Callaghan [fran.callaghan@dcu.ie]
Sent: Friday, March 16, 2012 9:15 AM To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] File upload failed Hi,
I’ve just installed 3.2.9 via yum and created a test repository. Before I carry out any branding etc I tried to create a new eprint but when I try to upload a file I get the error “File upload failed”. No other details. Initially I thought this was due to file system permissions but I have added the user apache to the eprints group and eventually even changed the ownership of the documents directory to apache. The only comment I can see on this is on the wiki and suggests… “Perhaps you forgot to set Apache to run as eprints:eprints” Can anybody instruct me how to “set apache to run as eprints”? Or even tell me how I can get additional details on why “File upload failed”?
Thanks for any help!
Fran
This electronic communication is governed by the terms and conditions at http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2011.php |
- References:
- [EP-tech] File upload failed
- From: "Fran Callaghan" <fran.callaghan@dcu.ie>
- [EP-tech] File upload failed
- Prev by Date: [EP-tech] Re: Import Items errors - please help
- Next by Date: [EP-tech] Re: Import Items errors - please help
- Previous by thread: [EP-tech] File upload failed
- Next by thread: [EP-tech] Re: File upload failed
- Index(es):