So we have a good install of Resourcespace up and running, all checks out ok in the check page, and for the most part it's working beautifully!
Due to the number of files we deal with, we are using riofs to mount an s3 bucket (as www-data with full permissions) as our filestore and so far that has been working nicely as well,
However we just enabled collection downloads, and the zip/7z/tar files all come back as a 2kb file. I'll include it's contents below as I've been reading these posts to figure out this issue on my own, and know you're going to ask for it.
For starters here is the versions from Resourcespace I'm using:
ResourceSpace version Trunk (SVN)
ResourceSpace Build 5462
Server platform Apache/2.4.7 (Ubuntu)
PHP version 5.5.9-1ubuntu4
ExifTool version 9.46
FFmpeg version ffmpeg version 2.2.git-66e30a2
Browser user-agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36
A link to the pastebin of the config.php file we're using:
The contents of the downloaded zip file (html?!):
</select></table></table></table>
<div style="border:1px solid black;font-family:verdana,arial,helvetica;position:absolute;top:100px;left:100px; background-color:white;width:400px;padding:20px;border-bottom-width:4px;border-right-width:4px;font-size:15px;color:black;">
<table cellpadding=5 cellspacing=0><tr><td valign=middle><img src="http://54.86.139.206/pages/admin/gfx/cherrybomb.gif" width="48" height="48"></td><td valign=middle align=left><span style="font-size:22px;">Sorry, an error has occurred.</span></td></tr></table> <p style="font-size:11px;color:black;margin-top:20px;">Please <a href="#" onClick="history.go(-1)">go back</a> and try something else.</p>
<hr style="margin-top:20px;"><p style="font-size:11px;color:black;">/var/www/pages/collection_download.php line 468: fopen(/var/www/include/../filestore/tmp/Col_ID13-original.zip): failed to open stream: No such file or directory</p>
</div>
The error in apache's logs:
stat: cannot stat '/var/www/include/../filestore/tmp/Col_ID13-original.7z': No such file or directory
stat: cannot stat '/var/www/include/../filestore/tmp/Col_ID13-original.tar': No such file or directory
stat: cannot stat '/var/www/include/../filestore/tmp/Col_ID13-original.zip': No such file or directory
I've also tried changing the /var/www/include owner:group to www-data (was owned by root prior) but I still recieve the same end result. I wish the location wasn't truncated as well so I had a better idea of what it's trying to do and where.
Any idea's or help you can suggest?
This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail (or the person responsible for delivering this documentto the intended recipient), you are hereby notified that any dissemination, distribution, printing or coping of this e-mail, and anyattachment thereto, is strictly prohibited. If you have received this e-mail in error, please respond to the individual sending the message, and permanently delete the original and any copy of any e-mail and printout thereof.