I’m trying to upgrade OJS from 126.96.36.199 to 188.8.131.52 and I’m encountering a error with the DB Upgrade :
You are trying to downgrade the product “information” from version [184.108.40.206] to version [220.127.116.11]. Downgrades are not supported.
Do you have any idea what the problem is ?
It looks like the version of Information Block Plugin in the database is higher than you are trying to install. But I’m not sure how it’s possible - the version should be 18.104.22.168 in both of these OJS versions. Have you made any changes to the plugin’s code?
Not to my knowledge,
Is there a way to revert this plugin to the original ?
I’m wondering if this issue has other potential problems.
If this is the only one, I’d restore the database from a backup, change the version in the database and run another upgrade attempt.
It’s in the table
versions, the line where
product = information. There are 4 relevant columns for versioning - major, minor, revision, build. According to your error, the build of the plugin is 1 and should be 0.
You can view if it’s true by running:
SELECT build FROM versions WHERE product = 'information'. If build is
1, change it to 0 and try to upgrade again.
In my case, there were two entries for product-information. I deleted the wrong one and it’s now working.
Thank’s a lot