Hello!
Ufter release upgrade from Ubuntu 20.04 to 22.04 I got error on site https://hesta.test.site:8083/:
Internal Server Error Error Code: 500. (Status Code: 502 Bad Gateway on request from server)
Other sites are working fine.
Reboot and restart nginx and php7.4-fpm service not help.
Logs
/var/log/hestia/nginx-error.log:
023/02/01 06:29:38 [crit] 912#0: *1 connect() to unix:/var/run/hestia-php.sock failed (2: No such file or directory) while connecting to upstream, client: 46.133.26.57, server: _, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/hestia-php.sock:”, host: “hesta.test.site:8083”
conf files
/etc/php/7.4/fpm/pool.d/hesta.test.site.conf:
; origin-src: deb/templates/web/php-fpm/default.tpl
[hesta.test.site]
listen = /run/php/php7.4-fpm-hesta.test.site.sock
listen.owner = admin
listen.group = www-data
listen.mode = 0660
user = admin
group = admin
/etc/nginx/conf.d/domains/hesta.test.site.conf:
server_name hesta.test.site ;
root /home/admin/web/hesta.test.site/public_html;
index index.php index.html index.htm;
access_log /var/log/nginx/domains/hesta.test.site.log combined;
access_log /var/log/nginx/domains/hesta.test.site.bytes bytes;
error_log /var/log/nginx/domains/hesta.test.site.error.log error;
include /home/admin/conf/web/hesta.test.site/nginx.forcessl.conf*;
location / {
location ~* ^.+\.(jpeg|jpg|png|webp|gif|bmp|ico|svg|css|js)$ {
expires max;
fastcgi_hide_header "Set-Cookie";
}
location ~ [^/]\.php(/|$) {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
fastcgi_pass unix:/run/php/php7.4-fpm-hesta.test.site.sock;
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
include /home/admin/conf/web/hesta.test.site/nginx.fastcgi_cache.conf*;
}
}
File /run/php/php7.4-fpm-hesta.test.site.sock exist and recreating
Please help