Good morning,
I searched this in the forum but did not find reference to it so I am making a post for others should they find it helpful.
I am running a fresh install of FusionPBX :
4.2.3
Git Information Branch: 4.2
Commit: 61d2cca7921e4eaaac11377bad220cc0a03ffa65
Origin: https://github.com/fusionpbx/fusionpbx.git
Project Path /var/www/fusionpbx
Switch Version 1.6.19 (64bit)
OS is CentOS 7 64bit
Today of the first time I clicked on the Upgrade link under Advanced tab and immediately got the 502 bad gateway error.
My NGinx error log:
2017/09/15 10:07:45 [crit] 1107#0: *3029 connect() to unix:/var/run/php/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: x.x.x.x, server: fusionpbx, request: "GET /core/upgrade/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "x.x.x.x", referrer: "https://x.x.x.x/app/dialplan/dialpl...&app_uuid=xxxxxx-xxxxx-xxxx-xxxxx-xxxxxxxxxxx"
A quick search for the php-fpm.sock file revealed it was under /var/run/php-fpm/ and not /var/run/php/.
I created the php directory under /var/run/ and a symlink (ln -s /var/run/php-fpm/php-fpm.sock php-fpm.sock) to the appropriate file location and Upgrade page appears and options are working.
Hope this is beneficial to anyone else with the same issue.
Matt
I searched this in the forum but did not find reference to it so I am making a post for others should they find it helpful.
I am running a fresh install of FusionPBX :
4.2.3
Git Information Branch: 4.2
Commit: 61d2cca7921e4eaaac11377bad220cc0a03ffa65
Origin: https://github.com/fusionpbx/fusionpbx.git
Project Path /var/www/fusionpbx
Switch Version 1.6.19 (64bit)
OS is CentOS 7 64bit
Today of the first time I clicked on the Upgrade link under Advanced tab and immediately got the 502 bad gateway error.
My NGinx error log:
2017/09/15 10:07:45 [crit] 1107#0: *3029 connect() to unix:/var/run/php/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: x.x.x.x, server: fusionpbx, request: "GET /core/upgrade/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "x.x.x.x", referrer: "https://x.x.x.x/app/dialplan/dialpl...&app_uuid=xxxxxx-xxxxx-xxxx-xxxxx-xxxxxxxxxxx"
A quick search for the php-fpm.sock file revealed it was under /var/run/php-fpm/ and not /var/run/php/.
I created the php directory under /var/run/ and a symlink (ln -s /var/run/php-fpm/php-fpm.sock php-fpm.sock) to the appropriate file location and Upgrade page appears and options are working.
Hope this is beneficial to anyone else with the same issue.
Matt