XF 2.2 XenForo upgrade check failed

Mike S

Member
Hello.

I am getting this error in the control panel. I don't know if it is my problem, or a general problem.

  • Exception: XenForo upgrade check failed: Unexpected result, starting '{ "status": "error", "errors": [ "A server error occurred. Please try again later." ' //
  • src/XF/Service/Upgrade/Checker.php:113
 
It could be related to a transient issue.

What happens if you manually run the upgrade check at admin.php?tools/upgrade-check ?

Edit: There's been another report of this so it will likely be something at our end. I've flagged it to the dev's.
 
What happens if you manually run the upgrade check at admin.php?tools/upgrade-check ?

Your version of XenForo and official add-ons are fully up-to-date. No issues were identified with your license.
Last upgrade check: Yesterday at 18:16

If I press the check now button, the error appears.

The last upgrade check failed. See the server error log for more details.
Your version of XenForo and official add-ons are fully up-to-date. No issues were identified with your license.
Last upgrade check: Ayer a las 18:16
 
Similar error right now running 2.2.13

Server error log
  • GuzzleHttp\Exception\InvalidArgumentException: XenForo upgrade check failed: Unexpected result, starting '<!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title><meta http-equiv="Content-Typ' // json_decode error: Syntax error
  • src/vendor/guzzlehttp/guzzle/src/functions.php:305
  • Generated by: xxxx
  • Dec 13, 2023 at 8:30 PM

Stack trace​

#0 src/XF/Service/Upgrade/Checker.php(93): GuzzleHttp\json_decode('<!DOCTYPE html>...', true)
#1 src/XF/Admin/Controller/Tools.php(422): XF\Service\Upgrade\Checker->check()
#2 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionUpgradeCheck(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'UpgradeCheck', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 admin.php(13): XF::runApp('XF\\Admin\\App')
#9 {main}

Request state​

array(4) {
["url"] => string(30) "/admin.php?tools/upgrade-check"
["referrer"] => string(48) "https://slions.net/admin.php?tools/upgrade-check"
["_GET"] => array(1) {
["tools/upgrade-check"] => string(0) ""
}
["_POST"] => array(1) {
["_xfToken"] => string(8) "********"
}
}
 
Similar error right now running 2.2.13

Server error log
  • GuzzleHttp\Exception\InvalidArgumentException: XenForo upgrade check failed: Unexpected result, starting '<!DOCTYPE html><html lang="en-US"><head><title>Just a moment...</title><meta http-equiv="Content-Typ' // json_decode error: Syntax error
  • src/vendor/guzzlehttp/guzzle/src/functions.php:305
  • Generated by: xxxx
  • Dec 13, 2023 at 8:30 PM

Stack trace​

#0 src/XF/Service/Upgrade/Checker.php(93): GuzzleHttp\json_decode('<!DOCTYPE html>...', true)
#1 src/XF/Admin/Controller/Tools.php(422): XF\Service\Upgrade\Checker->check()
#2 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionUpgradeCheck(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'UpgradeCheck', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 admin.php(13): XF::runApp('XF\\Admin\\App')
#9 {main}

Request state​

array(4) {
["url"] => string(30) "/admin.php?tools/upgrade-check"
["referrer"] => string(48) "https://slions.net/admin.php?tools/upgrade-check"
["_GET"] => array(1) {
["tools/upgrade-check"] => string(0) ""
}
["_POST"] => array(1) {
["_xfToken"] => string(8) "********"
}
}
same error in Version 2.2.13

Did you solve it?
 
Back
Top Bottom