I wanted to update the DataCite plugin by @Dulip_Withanage to version 1.0.0.6 (bugfix for OJS 3.3.0.10, which we are currently using). I downloaded the newest version of the plugin and tried to upload it via the plugins tab in the OJS backend, but I received an error message (" Plugin already installed, and is newer than the version available in the gallery. "). I know, that there are sometimes issues with these version numbers. I checked the version.xml in the datacite’s plugin folder and it says
<release>2.0.0.0</release>
<date>2016-08-01</date>
I think, this must be an error, because there was never a version 2 of the DataCite plugin. I also wonder that there’s still the version from 2016 installed, also there have been updates to the DataCite plugin in the last couple of years.
Is there any way to correct this version number? I tried to edit the version.xml to 1.0.0.0, but I still get the same error when I try to update the plugin. I also tried to delete the plugin completely and upload it, but this doesn’t work either. When I click on “Save” nothing happens and after clicking “Cancel” the plugins page won’t load at all. The same when I just try to delete the “datacite” folder in the plugins directory completely and replace it by the “new” version. Of course we made a backup of the system before updating the plugin.
Is there any save way to delete / upload a plugin or change the version number of a plugin manually?