Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
Aquatrader

[SOLVED]Error upgrading to 1.1.0 compareVersion missing

Question

When I try to upgrade my 1.0.8 version to 1.1.0, the compare fails. The console tells me this

 
http://myurl/myadmin/index.php?controller=AdminCoreUpdater&token=mytoken&action=processCompare&ajax=1  Request to failed with status 'rejected'.
 
if i click on the link, it says compareVersion is missing as input (but it is selected)
 
Any ideas??
Edited by Aquatrader

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 1

I have recently helped someone with the very same issue. There were two problems that prevented migration:

1) core updater detected that incompatibile modules were installed. Unfortunately, these modules weren't really installed. They were simply deleted from /modules/ directory, but weren't uninstalled properly. Core updater tried to uninstall them automatically, but failed because they weren't found on disk. This is probably bug in core updater, and could be fixed

2) the update was run on php 7.3. Older version of thirtybees contains code that is not php 7.3 compatible, and this blocked upgrade. If anyone is running on php 7.3, it's important to use older php version to do the upgrade. Then, you can switch back to newer php 7.3. Again, this could be fixed -- that would require that core updater would bundle all it's dependencies, and would not depend on tb core files

Share this post


Link to post
Share on other sites
  • 0

Hi, I am doing the upgrade on PHP 7.0, so i guess that is not an issue. Improperly uninstalled modules could be the case, but I wonder how I can find what module would cause the trouble, and how it can be corrected.

And thanks for the help sofar 😉

Share this post


Link to post
Share on other sites
  • 0
Just now, Aquatrader said:

 I wonder how I can find what module would cause the trouble

Core updater would tell you about them -- they would be listed after you compared versions

2 minutes ago, Aquatrader said:

and how it can be corrected.

If there are any improperly deleted modules, you are out of luck. There isn't any automated mechanism to fix that, unfortunately. You would have to manually delete them from PREFIX_module table (or modify core updater module to ignore them)

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, datakick said:

Core updater would tell you about them -- they would be listed after you compared versions

 

Unfortunately, the error appears before the compare completes, so I am pretty much in the dark...I can check the _module table though, see if I can find some orphans there.

Share this post


Link to post
Share on other sites
  • 0
10 minutes ago, datakick said:

Then do the manual upgrade

Agreed, but I did not find any documentation or how-to anymore... From Presta I remember it was just to copy all new files but the config.inc.php  

Share this post


Link to post
Share on other sites
  • 0
7 minutes ago, Traumflug said:

Regarding improperly uninstalled modules: residuals in the database are usually harmless. More crucial are not uninstalled overrides, which one can find and uninstall with this module: https://github.com/thirtybees/overridecheck/releases

Not in this case. Core updater will end up in endless cycle trying to uninstall the same module over and over again, failing every time 

Share this post


Link to post
Share on other sites
  • 0

Tried to check the overrides, nothing special there, 3 in total, all active modules.

I don't see the connection to the error that the CompareVersion is missing, or is that variable set after the module checks are completed?

Share this post


Link to post
Share on other sites
  • 0
Just now, Aquatrader said:

Tried to check the overrides, nothing special there, 3 in total, all active modules.

I don't see the connection to the error that the CompareVersion is missing, or is that variable set after the module checks are completed?

There is no such error -- this was only displayed because you clicked on the url and browser opened it using GET method.

But module sends request using POST method, and correctly includes compareVersion parameters in the POST body

Share this post


Link to post
Share on other sites
  • 0

Tried again after a long time, found out i got a connection refused form the API. Contacted the host, and found out they blocked api.thirtybees.com

Now its open again, all is fine...

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...