[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Upgrading to EPrints 3.3.12



Hi Francis,

Many thanks for your response. Yes, you're right.
I've now changed the owner and group in /etc/apache2/envars to eprints and changed the eprints files to eprints:eprints.
Apache is now running as owned by eprints, but I still get the error when I try to create a new eprint:
  "Can't retrieve item with the ID "13"
Except I'm now at number "21"
The ID is being written to the database and the document ID is written to the document folder but it won't go any further and I'm unable to create the eprint.

Thanks.
Regards,
Malcolm.
________________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of franc at library.iisc.ernet.in <franc at library.iisc.ernet.in>
Sent: 16 October 2013 07:08
To: eprints-tech at 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/
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.