EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07852
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Reinstating deleted file
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>, Karl Goetz <karl.goetz@utas.edu.au>
- Subject: Re: [EP-tech] Reinstating deleted file
- From: "Newman D.R." <drn@ecs.soton.ac.uk>
- Date: Fri, 24 May 2019 06:07:54 +0000
Hi Karl, The only way I have found to do this is remove all uploaded documents and then re-add in the order they were originally added. In your case: my_file_20190404.pdf (that is now actually a copy of my_file_20190510.pdf) then my_file_20190510.pdf However, as you can see that the numbers are not just 1 and 2 but 1 and 7 originally. This means the indexer has run and generate thumbnails and other auxiliary files in between. So to make sure that the numbers are the same you would need to hit "Save and return" after the first upload, make sure the indexer has run to reindex that item and generate thumbnails and then upload the second item. If you cannot see if the EPrint has been re-index from the event queue, I would wait at least 20 minutes or so before uploading the second file. (Edit lock can last for a while after saving and if the item is in the event queue with an edit lock it will get postponed 10 minutes). I would also advise having a test run with a completely separate EPrint with some test files, so you can see that your repository will behave the same as I describe. If this does not work, unfortunately I think the only way to fix this is hacking around moving files and modifying the database. This is far from ideal and I have to admit this it is something that has caused me problems in the past. Maybe others have
found a workaround that I am not aware of, so it maybe worth waiting if my first approach does not work before resorting to the really hacky solution. Regards David Newman
On 24/05/2019 00:40, Karl Goetz via Eprints-tech wrote:
Hi, |
- References:
- [EP-tech] Reinstating deleted file
- From: Karl Goetz <karl.goetz@utas.edu.au>
- [EP-tech] Reinstating deleted file
- Prev by Date: [EP-tech] Reinstating deleted file
- Next by Date: Re: [EP-tech] Reinstating deleted file
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):