On Fri, Jul 10, 2015 at 06:41:14PM +0000, Schuster, David wrote: > I get this error very often, and if you click back and submit again a few > times or click refresh, then it will go through? > > I've attached the Stack trace/Java etc...
[FileNotFoundError from CreateFileExclusively] The first thing I would check is the ownership and permissions of all directories under the current assetstore. The behavior is, I believe, consistent with having some, but not all, assetstore directories unwritable by the account used to run the container (Tomcat, etc.) > I did find this Jira report. > > https://jira.duraspace.org/browse/DS-1143 > > I am running Dspace 4.2 that was upgraded from 3.2 where I had the problem as > well (working on upgrading to 5.x) > > I see that there is discussion about dspace user separate from Tomcat - which > may be my problem. > > How can I fix this or do I fix it in the next upgrade? If it's an ownership issue, then something like 'chown tomcat:tomcat /path/to/assetstore -R' should do it, assuming that your servlet container is run as user 'tomcat', and substituting the proper path to the current assetstore. Or you might prefer: find /path/to/assetstore -not -user tomcat -exec chown tomcat:tomcat \{\} \; which should only touch the files that need it. I have *not* tried that particular construction (-not -user) so you may want to make up a small directory tree and test it first. Leave out everything including and after 'exec' to see a list of what it would 'chown'. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

