In OJS 3.4, plugins will often show “Can be upgraded” in the Plugin Gallery. When I try to upgrade, I get an error saying “Plugin already installed, and is newer than the version available in the gallery.” The plugin doesn’t update and doesn’t show up in the Installed Plugins list.
In the most recent case, I’m running OJS 3.4.0.5 (the journal was initially built in 3.4.0.3). I have previously installed the Matomo version plugin but I can no longer access which version is installed because it no longer appears in the Installed Plugins list. Matomo stopped collecting data the week of February 26 to March 3, 2024 (which really sucks for the journal editors’ reporting requirements). We upgraded to 3.4.0.5 on February 29, perhaps that instigated the issue.
The Plugin Gallery shows that Matomo can be upgraded to v1.0.5.0 ( v1.0.5.0 released on 2023-04-11, Matomo/Piwik release for OJS/OMP 3.4.0). Clicking Upgrade results in the error described in the first paragraph. I should also note that the plugin releases in GitHub show that v1.0.5.0 is the most recent version for the plugin.
I was able to replicate the same error trying to upgrade the following previously installed plugins in the same journal:
- COinS
- Custom Header
- JATS Template
- OAI JATS
- Classic
- Health Sciences
- Manuscript (Default child theme)
- Immersion
- Default Translation
- Control Public Files
- Text Editor Extras
- Pragma
- DOI in Summary
However, I was just successfully able to upgrade the following previously installed plugins in the same journal:
- QuickSubmit
- Material Theme
So it seems to me the problem is widespread among plugins but not universal for all of them.
Could you please advise on how to address this going forward?