EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02936
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Unable to upload files to repository
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Unable to upload files to repository
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Thu, 24 Apr 2014 11:01:46 +0100
Does that progressid exist in the upload_progress table? I’m guessing it does – so it seems like there’s something else at play here. Have you double-double checked the permissions? Is Apache running as the user you expect it to? Does it work in a different browser? In Firebug, look at the Console from the point that you get to the upload page. When you select a file, there should also be an Ajax POST – does this have any clues? Normally there will be some trail through the error logs somewhere if something is failing like this… Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Caldow, James Hi John, Many thanks for the pointers. We upgraded from 3.1.3, which seemed to work fine. The database upgrades took some time to work through the various versions in between. I've checked the database structure and we do have an "upload_progress" table and an "upload_progress__ordervalues_en" table. Hopefully that means all is well with the database? I've checked Firebug when trying to upload a file, and the result of the GET is:
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of John Salter <J.Salter@leeds.ac.uk> James, What have you upgraded from? It might be worth checking you have an ‘upload_progress’ table in the db. If you’ve got firebug (or a similar tool), use it to inspect the Ajax calls/response – they might also give you a clue. Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Caldow, James We have recently migrated our repository to a new server, combined with an upgrade to 3.3.12. Most things appear to be working, (though there is a list of issues that remain unsolved). The most pressing issue is that file uploads seem not to be working since the move/upgrade. From the "Upload" section of the edit item workflow, clicking on "Browse" from the "File" section of "Add a new document" brings up the correct browse window. Clicking on a file, followed by "Open" produces a very brief flash of a progress bar, followed by nothing at all. Checking the Apache error log shows the following, (which I am unable to debug): document.4640 failed to create subdataobj on document.files at /usr/share/eprints/perl_lib/EPrints/DataObj.pm line 313 I have checked for file permissions, SELinux permissions, etc. Everything seems to be correct, but file uploads still will not work. Adding a new document from a URL does work, which I think would point to the problem not being permissions based, (though I could be completely wrong). Does anyone have any pointers as to where I should be looking? Many thanks, James |
- References:
- [EP-tech] Unable to upload files to repository
- From: "Caldow, James" <JCaldow@qmu.ac.uk>
- [EP-tech] Re: Unable to upload files to repository
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Unable to upload files to repository
- From: "Caldow, James" <JCaldow@qmu.ac.uk>
- [EP-tech] Unable to upload files to repository
- Prev by Date: [EP-tech] Re: Apache restart does not work ... - Debugging mode for EPrints?
- Next by Date: [EP-tech] Re: Apache restart does not work ... - Debugging mode for EPrints?
- Previous by thread: [EP-tech] Re: Unable to upload files to repository
- Next by thread: [EP-tech] Re: Unable to upload files to repository
- Index(es):