EPrints Technical Mailing List Archive
Message: #06880
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] 2.3.13 -> 3.3.14
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] 2.3.13 -> 3.3.14
- From: Adam Field <adam@adamfield.net>
- Date: Tue, 10 Oct 2017 15:46:27 +0100
Check your file permissions: ls -l /usr/share/eprints3/archives/mims3/documents/disk0/00/00/00/01/01/03PA0357.pdf Check that the user and group are set to something sane. You can check your apache configuration to see what user / group apache is running as. The quick and simple way to do this is to make sure the files are owned by eprints, and that apache is running as eprints. -- Adam From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Mark Muldoon <mark.muldoon@manchester.ac.uk> Dear EP-techers, I’m upgrading an ancient server to the current version of the software. Following advice I found on this list, I’ve been using the following strategy
This has worked to some extent, though I did, in the end, have to faff with the XML to get the rid of a field, <replacedby>, that no longer exists and to make the paths point to the correct locations on the new server. Unfortunately, the actual files, though present, don’t seem to be entirely visible to the server. For example, although I have a PDF whose full path is /usr/share/eprints3/archives/mims3/documents/disk0/00/00/00/01/01/03PA0357.pdf and an associated eprint that has, in its revisions document 1.xml, a <file> with child node the corresponding abstract page lists the PDF as being 0 Mb in size and, when I try to retrieve it I get Error in file retrieval: failed to get file contents It feels as though I’m within inches of having the import working fully and don’t really want to have to study the code to figure out how to fix the issue described above. I’d be grateful for any suggestions. Thanks, Mark *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/ |
- Prev by Date: [EP-tech] 2.3.13 -> 3.3.14
- Next by Date: Re: [EP-tech] 2.3.13 -> 3.3.14
- Previous by thread: Re: [EP-tech] 2.3.13 -> 3.3.14
- Next by thread: Re: [EP-tech] 2.3.13 -> 3.3.14
- Index(es):