EPrints Technical Mailing List Archive

Message: #02315


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

[EP-tech] Re: Upgrading to EPrints 3.3.12


If you created any EPrints/Documents when Apache was running as the 'broken' user, they'll be owned by that user (e.g. www-data).
Check that everything under ~/archives/ARCHIVEID/documents/ and ~/archives/ARCHIVEID/html/ is owned/grouped by the one that Apache is running as.

Cheers,
John

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 16 October 2013 10:40
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Upgrading to EPrints 3.3.12

Hi Ranju,

Yes I had a similar problem and had to change the ownership. But, I've now changed the owner/group in the apache config /etc/apache2/envars  to eprints and restarted apache but I'm still getting the same error when I try to create an eprint. I don't want to have to reinstall.

Thanks.
Regards,
Malcolm.
________________________________________
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Ranju Upadhyay <Ranju.Upadhyay@nuim.ie>
Sent: 16 October 2013 09:40
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Upgrading to EPrints 3.3.12

Hi Malcom,

I did a fresh install of 3.3.12 on RHEL 6 and found that when httpd is owned
by a different user I could not access the eprints interface at all. On
changing the ownership(user and group) of httpd to eprints it worked!

Cheers
Ranju Upadhyay
National University of Ireland Maynooth.

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk
[mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of
franc@library.iisc.ernet.in
Sent: 16 October 2013 07:09
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Upgrading to EPrints 3.3.12

> Hi,
>
> I wonder if anyone can help me with this problem.
> I'm running on Ubuntu and have installed EPrints 3.3.12 as user eprints.
> I noticed that the ownership of some files is www-data and the apache
> processes are owned by www-data, the default.
> I had some problems with permissions and had to change the ownership
> of some files. I now find when I try to create a new eprint I get an
> error "Can't retrieve item with the ID "13" It appears to create the
> document with owner and group as www-data. If I change the owner to
> 'eprints' I can see the record for "13"
> Has anyone else had this problem? Should I have installed as use www-data?
> Should I change my Apache to run as eprints?
>

The default ownership and group is eprints.eprints. If the default is being
used then the ownership and group of the Apache should also be
eprints.eprints.

On the other hand, if you had used the --with-user option while configuring
the eprints software then the ownership and group of the Apache should be
same as the one that you had used while configuring eprints software.

Hope this helps.

 - Francis

JRD Tata Library
IISc, Bangalore, India
> Thanks,
> Malcolm.
>
>
> The University of Westminster is a charity and a company limited by
> guarantee. Registration number: 977818 England. Registered Office: 309
> Regent Street, London W1B 2UW.
>
> This message and its attachments are private and confidential. If you
> have received this message in error, please notify the sender and
> remove it and its attachments from your system.
>
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
>
> *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
>


--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.

This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove it and its attachments from your system.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/