YunoHost-Apps / roundcube_ynh

Roundcube package for YunoHost
https://roundcube.net/
GNU Affero General Public License v3.0
11 stars 19 forks source link

Fresh install on Yunohost 11.0.3 bug (php7.4-fpm-roundcube.sock missing) #136

Open MX10-AC2N opened 2 years ago

MX10-AC2N commented 2 years ago

Hi all,

Describe the bug

I just installed Roundcube on a yunohost 11.0.3 (Bullseye) The installation went well and finished successfully. However I have no access to Roundcube, I come across an nginx error page.. Here is what I found in the nginx logs

2022/01/28 10:22:17 [crit] 10129#10129: 4 connect() to unix:/var/run/php/php7.4-fpm-roundcube.sock failed (2: No such file or directory) while connecting to upstream, client: 81.185.167.57, server: XYZ.ynh.fr, request: "GET /webmail/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm-roundcube.sock:", host: "XYZ.ynh.fr", referrer: "https://XYZ.ynh.fr/yunohost/sso/" 2022/01/28 10:22:45 [crit] 10129#10129: 4 connect() to unix:/var/run/php/php7.4-fpm-roundcube.sock failed (2: No such file or directory)*

Context

Logs

Thank.

Christophe31 commented 1 year ago

I fixed it by using php 8.0 instead of 7.4 (making a new fpm pool sock and updating the reference in the nginx conf file.)