I've been installing, reinstalling, and playing with OpenEnterprise for a couple of days. The core plus default apps seems to work fine as long as memory is set high enough in php.ini or settings.php.
I get the following error when installing the image app:
Cannot extract temporary://update-cache-9a81d463/colorbox.zip, not a valid archive.
When I go to the tmp folder on the server and manually unzip colorbox.zip there are no errors.
I'm pretty sure I've gotten the same colorbox error while trying to install other apps (portfolio maybe?)
Script:
- set PHP memory limit to 256M
- wget http://ftp.drupal.org/files/projects/openenterprise-7.x-1.x-dev-core.tar.gz (but same but with Beta7)
- Install accepting all defaults
- Navigate to Apps page, try to install Images app
- Get the error
The error persists over multiple attempts to a) reinstall from scratch, b) reinstall the individual app, c) refresh the screen (rerun the install) on the error page.
Comments
Comment #1
markhalliwellMoving to correct issue queue.
Comment #2
davidinnes commented"Another instance" in the title refers to two similar items in the main OpenEnterprises issue queue that also mention "not valid archive" errors during colorbox.zip extraction.
http://drupal.org/node/1419624
and
http://drupal.org/node/1457296
Comment #3
markhalliwellI completely understand the confusion. However, apps are a separate entity altogether and have their own issue queues. Because Open Enterprise leverages apps right out of the box, you have the option to either install apps with the installation profile or at a later time. Nonetheless, this issue doesn't belong in OE as it doesn't actually contain the code responsible for this error.
From reading the issues you posted, I would suspect it has something to do with the URL timing out. The colorbox library could have not been downloaded properly causing the unzipping process to fail. I just installed the image app successfully on a local instance. I would also like to mention that it may be possible that this issue is related to how your temporary path is configured as and any permissions regarding it and your sites folder.
I assigned this issue to Tom because he is the one who created this app and would have a better understanding of what could actually be happening.
Comment #4
nedjoPossibly a duplicate of #1571428: Cannot use archives that do not extract to folder named after downloadable.
Comment #5
bnordgren commentedI had this issue this morning. I was also able to go to the temporary directory and unzip the file with the command line tools. My problem was that the zip extension was not enabled in php.ini (and the zziplib package was not installed). Worked fine after that.
Perhaps apps needs a "Requirements verification" phase?
Comment #5.0
bnordgren commentedAdded note to say the bug is easily reproduced on my commercially hosted LAMP server.