Aquatrader Posted October 3, 2019 Posted October 3, 2019 (edited) 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 May 28, 2020 by Aquatrader
1 datakick Posted October 18, 2019 Posted October 18, 2019 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
0 Aquatrader Posted October 17, 2019 Author Posted October 17, 2019 wow... thanks for the help everyone!
0 lesley Posted October 18, 2019 Posted October 18, 2019 Hey, I missed this, are you still getting this error?
0 Aquatrader Posted October 18, 2019 Author Posted October 18, 2019 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 😉
0 datakick Posted October 18, 2019 Posted October 18, 2019 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)
0 Aquatrader Posted October 18, 2019 Author Posted October 18, 2019 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.
0 datakick Posted October 18, 2019 Posted October 18, 2019 Could you PM me access to your back office? I'll look into it
0 Aquatrader Posted October 18, 2019 Author Posted October 18, 2019 not sure if i can give BO access... cleaning up the _modules table didn't help sofar..
0 Aquatrader Posted October 18, 2019 Author Posted October 18, 2019 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
0 Traumflug Posted October 18, 2019 Posted October 18, 2019 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
0 datakick Posted October 18, 2019 Posted October 18, 2019 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
0 Aquatrader Posted October 18, 2019 Author Posted October 18, 2019 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?
0 datakick Posted October 18, 2019 Posted October 18, 2019 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
0 Aquatrader Posted May 28, 2020 Author Posted May 28, 2020 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... 1
Question
Aquatrader
When I try to upgrade my 1.0.8 version to 1.1.0, the compare fails. The console tells me this
15 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now