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
Class Composer\Semver\VersionParser not found when updating Piwik 2.16 to 2.17 #10801
Comments
same here. |
Are you installing / updating Piwik via Git? If so, you need to run a |
No, this is not via Git. |
Same error here when updating from 2.16.5 to 1.17 using Piwik's built-in updater. However, at first sight everything seems to work fine after the update error despite the error message being shown. I do not know if this error has any side effects. |
I checked the version at http://builds.piwik.org/piwik-2.17.0.zip and the file seems to be included. I can only presume there were some errors creating the file when updating Piwik. Can you try the 3 step manual update as described here? http://piwik.org/docs/update/#the-manual-three-step-update . If so, don't forget to backup the file |
Same here with two different installations. Both automatic upgrades from 2.16.5 to 2.17.0. The error message is shown as simple text and after a page reload a real piwik box says an error occurred and your version is up-to-date (or something similar). Then it is possible to go to piwik and this triggers the database update. From there on all seems to work. For me it looks like the update process doesn't activate the composer packages while running but they are correctly activated when the page is reloaded. |
@kolewu can you check as well which files exist in |
After the update and with piwik that seems to run without problem, this directory contains:
I have to update another installation. Should I look for something special? |
Thanks |
The class not found error for I will do the upgrade later and post the exact page content for the error message and a screenshot of the piwik dialog. |
OK it is now clear what the problem is for me. In 2.16.X the A fix would have been 2.x-dev...10801 to include Fixing it anyway would not really help either because this problem is super unlikely to occur again in Piwik 2.x |
I have just experienced this problem doing an online automatic update but the problem is permanent even after doing a composer install manually on the server. Any suggestions? This was from an old 2.3 i think version to the latest 3.3. Should i open a separate ticket? |
@bizmate you shouldn't have to install composer unless you are using Matomo from GIT: http://matomo.org/faq/how-to-install/faq_18271/ So maybe just re-upload all files from the latest stable release and try again? |
Anyone have solution? if yes, pls explain the steps. |
follow steps in http://matomo.org/faq/how-to-install/faq_18271/ |
PHP Fatal error: Class 'Composer\Semver\VersionParser' not found in /var/www/{WEBSITE}/web/core/Plugin/Dependency.php on line 77" while reading response header from upstream, client: {IP}, server: {SERVER}, request: "GET /index.php?module=CoreUpdater&action=oneClickUpdate HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web.sock:", host: "{SERVER}", referrer: "https://{WEBSITE}/index.php?module=CoreUpdater&action=newVersionAvailable"
The text was updated successfully, but these errors were encountered: