YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
47 stars 39 forks source link

Error on nginx conf with php 8.2 #127

Open magostinelli opened 9 months ago

magostinelli commented 9 months ago

Describe the bug

When choose php 8.2 for my_webapp, nginx conf (my_webapp.d/php.conf) contains: fastcgi_pass unix:/var/run/php/php7.4-fpm-my_webapp.sock Instead of: fastcgi_pass unix:/var/run/php/php8.2-fpm-my_webapp.sock A clear and concise description of what the bug is.

Context

Steps to reproduce

Install cutom webapp, and then change php engine from 7.4 to 8.2

Expected behavior

fastcgi_pass unix:/var/run/php/php8.2-fpm-my_webapp.sock

Logs

nginx error log: connect() to unix:/var/run/php/php8.2-fpm-my_webapp.sock failed (2: No such file or directory) while connecting to upstream