XF 2.1 src/vendor/guzzlehttp/guzzle/src/functions.php:304 2.1.8

Cannabis Ape

Active member
I got this error after upgrading. I read somewhere it has something to do with CF? I'm using CF as DNS, what do I need to do to fix this error?
 
What's the full error?
Code:
[LIST]
[*]                
[*]InvalidArgumentException: XenForo upgrade check failed: Unexpected result, starting '<html> <head><title>403 Forbidden</title></head> <body bgcolor="white"> <center><h1>403 Forbidden' // json_decode error: Syntax error
[*]               
[*]src/vendor/guzzlehttp/guzzle/src/functions.php:304
[*]            
[/LIST]
#0 src/XF/Service/Upgrade/Checker.php(81): GuzzleHttp\json_decode()
#1 src/XF/Admin/Controller/Tools.php(408): XF\Service\Upgrade\Checker->check()
#2 src/XF/Mvc/Dispatcher.php(350): XF\Admin\Controller\Tools->actionUpgradeCheck()
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#6 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#7 src/XF.php(391): XF\App->run()
#8 admin.php(13): XF::runApp()
#9 {main}

Never had issues before while upgrading. It's running 2.1.8 and everything seems to function normal.
 
It's just a temporary server issue (on XF's end, CloudFlare issues specifically) and nothing to worry about.

You can manually check for upgrades by going to Tools > Check for upgrades.
 
Glad you got it sorted. :)
However it asked me to chmod 2 folders to 777, I changed them, rebooted the server, still get the error I have to change em.

Code:
[LIST]
[*]                            
[*]All directories under /var/www/vhosts/mydomain.org/httpdocs/xxx/data must be writable. Please change the permissions on these directories to be world writable (chmod 0777).
[*]                           
[*]All directories under /var/www/vhosts/mydomain.org/httpdocs/xxx/internal_data must be writable. Please change the permissions on these directories to be world writable (chmod 0777).
[*]                    
[/LIST]
The folder show 777 but several things in the folder are not 777 does everything in the folder have to be 777?

Weird though, I checked my other server, there the folders are not 777 but I don't get that error.
 
Hmm even weirder, now my other server is acting up. Didn't upgrade that one yet so went to tools and did the upgrade check and it upgraded without issues.

I just pressed the check now.. again to see whats up and now it also shows the same "The last upgrade check failed. See the server error log for more details. "
And the error is exactly the same as the one above although on this server the firewall was already turned on.
 
Back
Top Bottom