Could not parse version constraint ERROR

Hallo,

ich habe heute das Piwik Update machen wollen und bin in ein Time Out gelaufen. Wenn ich nun die Piwik Seite aufrufe, kommt folgende Meldung

Could not parse version constraint >=PIWIK_VERSION: Invalid version string “PIWIK_VERSION”

Bei meinem anderen Piwik ( anderer Server ) hat alles funktioniert.

Was kann ich tun ? Habe im Netz nichts gefunden.

Vielen Dank

I had this same issue and for me it was a plugin. For me it was MysqlPostConnectCommands plugin. In the plugin.json file for the plugin I just updated it to be a random old version.

So:
“require”: {
“piwik”: “>=2.0.3”
},

Instead of

“require”: {
“piwik”: “>=PIWIK_VERSION”
},

Danke, aber wie finde ich raus, welches Plugin bei mir das Problem verursacht?!

Ich hatte das selbe Problem. Mit
grep -R "PIWIK_VERSION"
gab es 2 Treffer:
plugins/ExamplePlugin/plugin.json
plugins/ExampleTheme/plugin.json

Hierbei hab ich einfach wie von eby erwähnt PIWIK_VERSION mit 2.0.3 ersetzt und das update ist erfolgreich durchgelaufen.

danke, so geht es natürlich auch. :slight_smile: es hat funktioniert, er hat zwar noch ne kaputte config datei gehabt, aber diese habe ich aus dem zip genommen und nun geht alles super


p.s. zu früh gefreut

jetzt bekomme ich nach dem login folgenden hinweiß

/plugins/CorePluginsAdmin/CorePluginsAdmin.php(37):
Notice - Undefined index: enable_marketplace - Piwik 2.17.1 - Please
report this message in the Piwik forums: http://forum.piwik.org (please
do a search first as it might have been reported already)

und wenn ich auf marktplace in den einstellungen gehe, erhalte ich folgende meldung

Entry Piwik\Plugins\Marketplace\Controller cannot be resolved: Entry
Piwik\Plugins\CorePluginsAdmin\PluginInstaller cannot be resolved: The
parameter ‘pluginName’ of
Piwik\Plugins\CorePluginsAdmin\PluginInstaller::__construct has no value
defined or guessableFull definition:Object ( class =
Piwik\Plugins\CorePluginsAdmin\PluginInstaller scope = singleton
lazy = false __construct( $pluginName = #UNDEFINED# ))Full
definition:Object ( class = Piwik\Plugins\Marketplace\Controller
scope = singleton lazy = false __construct( $licenseKey =
get(Piwik\Plugins\Marketplace\LicenseKey) $plugins =
get(Piwik\Plugins\Marketplace\Plugins) $marketplaceApi =
get(Piwik\Plugins\Marketplace\Api\Client) $consumer =
get(Piwik\Plugins\Marketplace\Consumer) $pluginInstaller =
get(Piwik\Plugins\CorePluginsAdmin\PluginInstaller) $environment =
get(Piwik\Plugins\Marketplace\Environment) ))