Jump to content
thirty bees forum
  • 0

Core updater error


Baldyman

Question

Hi all,
Hopefully this is a simple solution for somebody who understands the back-end better than myself.
I'm currently running Merchants Edition 1.9.2 and seemed to remember something about being able to switch between this version and regular ThirtyBees via core updater.
However, when attempting to compare the (stable) versions I received the message to update core updater.
So, I updated to version 1.6.5 and now get the following error on the Preferences/Core Updater page:

CoreUpdater\Api\ThirtybeesApiException: Server responded with error INVALID_REQUEST: Revision 1.9.2 not found in /home/topfoilco/public_html/shop/modules/coreupdater/classes/api/ThirtybeesApiGuzzle.php:374
Stack trace:
#0 /home/topfoilco/public_html/shop/modules/coreupdater/classes/api/ThirtybeesApiGuzzle.php(311): CoreUpdater\Api\ThirtybeesApiGuzzle->unwrapResponse(Array, Object(GuzzleHttp\Psr7\Response))
#1 /home/topfoilco/public_html/shop/modules/coreupdater/classes/api/ThirtybeesApiGuzzle.php(130): CoreUpdater\Api\ThirtybeesApiGuzzle->callApi('7.4', 'list-revision', Array)
#2 /home/topfoilco/public_html/shop/modules/coreupdater/classes/process/Comparator.php(452): CoreUpdater\Api\ThirtybeesApiGuzzle->downloadFileList('7.4', '1.9.2')
#3 /home/topfoilco/public_html/shop/modules/coreupdater/classes/process/Comparator.php(297): CoreUpdater\Comparator->downloadFileList('7.4', '1.9.2', true, Object(CoreUpdater\Storage\StorageFilesystem))
#4 /home/topfoilco/public_html/shop/modules/coreupdater/classes/process/Process.php(102): CoreUpdater\Comparator->processStep('e454d033dc4af6b...', Array, Object(CoreUpdater\Storage\StorageFilesystem))
#5 /home/topfoilco/public_html/shop/modules/coreupdater/controllers/admin/AdminCoreUpdaterController.php(862): CoreUpdater\Process\Processor->process('e454d033dc4af6b...')
#6 /home/topfoilco/public_html/shop/modules/coreupdater/controllers/admin/AdminCoreUpdaterController.php(835): AdminCoreUpdaterController->runProcess(Object(CoreUpdater\Comparator), 'e454d033dc4af6b...', Object(Closure))
#7 /home/topfoilco/public_html/shop/modules/coreupdater/controllers/admin/AdminCoreUpdaterController.php(768): AdminCoreUpdaterController->compareProcess('e454d033dc4af6b...')
#8 /home/topfoilco/public_html/shop/modules/coreupdater/controllers/admin/AdminCoreUpdaterController.php(742): AdminCoreUpdaterController->processAction('COMPARE')
#9 /home/topfoilco/public_html/shop/modules/coreupdater/controllers/admin/AdminCoreUpdaterController.php(701): AdminCoreUpdaterController->ajaxProcess('COMPARE')
#10 [internal function]: AdminCoreUpdaterController->performPostProcess()
#11 /home/topfoilco/public_html/shop/modules/coreupdater/classes/ErrorHandler.php(76): call_user_func_array(Array, Array)
#12 /home/topfoilco/public_html/shop/modules/coreupdater/controllers/admin/AdminCoreUpdaterController.php(689): CoreUpdater\ErrorHandler->handleErrors(Array)
#13 /home/topfoilco/public_html/shop/classes/controller/Controller.php(193): AdminCoreUpdaterController->postProcess()
#14 /home/topfoilco/public_html/shop/classes/Dispatcher.php(848): ControllerCore->run()
#15 /home/topfoilco/public_html/shop/thirtybees/index.php(65): DispatcherCore->dispatch()
#16 {main}

Any help would be much appreciated, as my current code knowledge is pretty vague beyond html and css.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

I had the TB updater 1.5.3 (which the module area says to keep installed) as well as the ME Coreupdater v.2.0.0.
I just noticed that when I installed the TB 1.6.5 updater from the module store, it made the ME version vanish from the module list....and re-adding the ME version removes the TB 1.6.5 one and leaving the old 1.5.3 one.

 

Link to comment
Share on other sites

  • 0
19 minutes ago, the.rampage.rado said:

TB updater is different module than Core updater.

I just realised this. I mistakenly thought it had been renamed to core updater so I have updated the TB updater to 1.5.4.

Currently I have TB Updater 1.5.4 and ME Coreupdater 2.0.0.

The error message is gone. - I just get the "Please update core updater module" message if I try to compare with stable standard TB version.

I'm guessing this update message will remain, as updating /adding TB core updater wipes out the ME one...maybe something related to both versions being called coreupdater perhaps?

Thanks for your help by the way. It's appreciated.
I'm guessing reverting from Merchant's to regular Thirty Bees isn't a straight forward affair.

 

Link to comment
Share on other sites

  • 0
2 hours ago, Baldyman said:

I'm guessing reverting from Merchant's to regular Thirty Bees isn't a straight forward affair.

It shouldn't be a problem.

You just need to 

  1. uninstall ME core updater
  2. install latest TB core updater from here: https://github.com/thirtybees/coreupdater/releases/tag/1.6.5
  3. edit /config/settings.inc.php and change _TB_VERSION_ constant from 1.9.2 to 1.1.0

Now, core updater will think your installation is modified thirty bees 1.1.0, and will raise a lot of warnings about modifications. You can ignore these warnings if you didn't made any modifications, and update to latest thirty bees.

  • Thanks 1
Link to comment
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...