502 Bad Gateway error on port 8083 after upgrade 16
502 Bad Gateway error on port 8083 after upgrade 16
When I try to go to the CP, I get this
So I tried
I can confirm that the same happened on all my updated servers.
I am on Digital-Ocean Ubuntu 14.04.4 x64
Code: Select all
502 Bad Gateway
Code: Select all
root@ssy:~# /etc/init.d/vesta start
* Starting vesta-nginx vesta-nginx [ OK ]
* Starting vesta-php vesta-php PHP: syntax error, unexpected $end, expecting TC_DOLLAR_CURLY or TC_QUOTED_STRING or '"' in Unknown on line 2
[30-Jun-2016 19:53:07] ERROR: failed to load configuration file '/usr/local/vesta/php/etc/php-fpm.conf'
[30-Jun-2016 19:53:07] ERROR: FPM initialization failed
root@ssy:~#
I am on Digital-Ocean Ubuntu 14.04.4 x64
Last edited by fedekrum on Fri Jul 01, 2016 2:55 am, edited 1 time in total.
Re: 502 Bad Gateway error on port 8083 after upgrade 16
As Empire wrote somewhere else, the following patch will fix the problem.
Thanks Empire
Code: Select all
sed -i 's/sessions"/sessions/g' /usr/local/vesta/php/etc/php-fpm.conf
service vesta restart