EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09648
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] 0 byte file uploads
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, Martin Brändle <martin.braendle@uzh.ch>
- Subject: Re: [EP-tech] 0 byte file uploads
- From: Liam Green-Hughes <L.E.Green-Hughes@kent.ac.uk>
- Date: Wed, 28 Feb 2024 09:59:44 +0000
CAUTION: This e-mail originated outside the University of Southampton.
HI all,
We have seen this issue too. I believe it is to do with a file entry being created in the database, but nothing copied to the actual document filesystem. If you create a file of zero length (e.g. with the touch command) and try to upload it to an Eprints instance
you should be able to see this in action (from memory). In our repository I added a warning message into document_validate.pl. Not sure how people end up with zero length files, it could be something to do with PDF file generation or Eprints getting upset
a invalid characters in filenames (it doesn't like apostrophes much).
Thanks
Liam
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> on behalf of John Salter <J.Salter@leeds.ac.uk>
Sent: 28 February 2024 09:20 To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk>; Martin Brändle <martin.braendle@uzh.ch> Subject: RE: [EP-tech] 0 byte file uploads
CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless
you recognise the sender and know the content is safe.
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Hi Martin, David, I have observed this too in 3.3.16 – and written a cronjob to alert me to new cases in case there was a pattern.
My hunch was that it related to people uploading from cloud storage – where a file appears as though it’s local to the user’s computer, but the files aren’t actually cached locally. As yet, I haven’t managed to get a proper failing test case.
I have put some warnings in place as part of my document_validate to catch these – although it sounds like these will not be needed when we upgrade.
Cheers, John
From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk>
On Behalf Of David R Newman
Hi Martin, On 28/02/2024 8:40 am, Martin Brändle wrote:
|
- Follow-Ups:
- Re: [EP-tech] 0 byte file uploads
- From: Martin Brändle <martin.braendle@uzh.ch>
- Re: [EP-tech] 0 byte file uploads
- References:
- [EP-tech] 0 byte file uploads
- From: Martin Brändle <martin.braendle@uzh.ch>
- Re: [EP-tech] 0 byte file uploads
- From: David R Newman <drn@ecs.soton.ac.uk>
- RE: [EP-tech] 0 byte file uploads
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] 0 byte file uploads
- Prev by Date: RE: [EP-tech] 0 byte file uploads
- Next by Date: Re: [EP-tech] 0 byte file uploads
- Previous by thread: RE: [EP-tech] 0 byte file uploads
- Next by thread: Re: [EP-tech] 0 byte file uploads
- Index(es):