New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install automatically piwik 1.1.1 on some php 5.2 setups #1965
Comments
I explained myself badly: after the "Error opening /var/lib/piwik/tmp/latest/latest.zip" message, it says that the "Piwik One Click Update" has been cancelled. |
Can you try again? maybe a temporary problem with the piwik.org server. Also, if you download the file from your server directly /var/lib/piwik/tmp/latest/latest.zip what does it look like? |
Can you manually apply [3620] and then retry the update? |
The problems keeps persisting
I manually updated the file core/Unzip.php but nothing changes. The file tests/core/Unzip.test.php isn't in my installation, nor is in the latest.zip package
it's a normal zip package |
Here's another patch to try. [3657] Don't worry about the files in tests/ dir. (and for reference, what php version are you using?) |
$ php --version I resolved the issue with a manual upgrade (nightmare!!). So I cannot test any more. |
I am having the same issue. When trying [3657] the update again fails with the error:
PHP 5.2.6-1+lenny9 with Suhosin-Patch 0.9.6.2 (cli) (built: Aug 4 2010 06:06:53) Thanks a lot for your help. Any ideas what I could try next? The automatic updater had been working flawlessly for months for me. I can do a manual update if you prefer me to do one. But I am afraid that that could mean that future upgrades won't work as well...
|
delete the previously extracted tmp/latest/piwik folder |
I had the issue on 5.2.4-2ubuntu5.12 on a test piwik server, applying the 2 patches + deleting latest.zip fixed it, thanks vipsoft |
(In [3671]) refs #1965 - before unzipping, delete tmp/latest/piwik if it exists |
[3657] and deleting tmp/latest/piwik worked. |
When I try to install automatically piwik 1.1.1, the server downloads it, but then stops saying:
Error opening /var/lib/piwik/tmp/latest/latest.zip
and continues (in locale's language) saying that the file has been cancelled.
However, the file il there, and with correct user, group and permissions:
The text was updated successfully, but these errors were encountered: