-
Notifications
You must be signed in to change notification settings - Fork 445
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
OJS 3.4 (multiple versions): plugins showing "Can be upgraded" in gallery when no newer version exists #10440
Comments
Hi @tmrozewski-york, this might be caused by a discrepancy between what is in the database and the version of the plugin code. Can you check your
|
Hi @kaitlinnewson my IT support provided me with this:
|
Thanks @tmrozewski-york, things look alright in your database. Can you also confirm that the plugin files are present on the server? You can either try using the plugin and see if it's working and appearing for you in the UI, or ask your IT support to check in the file system with something like |
@kaitlinnewson my IT says there are not plugin files for quickSubmit |
@tmrozewski-york Can you try installing the plugin with the "Upload a New Plugin" functionality and see if that does the trick to replace those files on the server? You can download the release package for QuickSubmit on GitHub for your version here (the |
@kaitlinnewson manually installing it with the tar.gz worked (it had worked when we were running 3.4.0.5 as well). Anyway what's causing this to happen? |
@tmrozewski-york Currently the "can be upgraded" message is shown when either the version in the database is older than what's in the plugin gallery Previously there was a workaround where clicking the "upgrade" button would download the files again, but it looks like this was changed here. @jonasraoni what do you think about reverting the change in this line? As for why the plugin files are missing, that would take some more investigating. Are you doing anything with plugins during the upgrade process? |
I'm not sure about the upgrade script we're using in-house. I'll speak with the team here about it. Any suggestions about where we should be looking or what we should look for? |
@tmrozewski-york I'd take a look at anything related to plugins in your script to start - for instance, is there a point where plugin files are being deleted, moved, or not carried over into the upgraded install in some way? |
I suspect the plugin files are not being brought across during upgrade, which is the correct outcome of the upgrade process. When upgrading from 3.3.x to 3.4.x, for example, the 3.3.x plugin files should not be copied across into the 3.4.x directory tree. |
@asmecher you nailed it - turns out we'd adapted the 3.4.x.x. script from the 3.3 > 3.4 script and not from the 3.3.x.x upgrade script. Thanks for the lead, and sorry to mobilize you both for this one! |
After upgrading from OJS 3.4.0.5 to 3.4.0.7, multiple plugins show "Can be upgraded" in the plugin gallery; however, no newer plugin is available.
For example, the QuickSubmit plugin shows "Can be upgraded" even though we are running v1.0.7.2 released on 2024-04-12, which is the most recent version available in GitHub. If I click "Upgrade" for the plugin in the gallery, I get an error message saying "Plugin already installed, and is newer than the version available in the gallery." The plugin then continues to show "Can be upgraded" in the gallery.
This is currently happening on our only two journals running 3.4. We upgraded both from 3.4.0.5 to 7 at the same time. We encountered a similar issue with both journals when we upgraded from 3.4.0.4 to 3.4.0.5.
This issue appears which each installed plugin on both journals except ORCiD Profile.
The text was updated successfully, but these errors were encountered: