NEXTCLOUD : 502 Bad Gateway

:uk:/:us: Message template (english)

My YunoHost server

Hardware: Yunohost is running in a docker, in a proxmox
YunoHost version: 11.1.2
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : nope

NEXTCLOUD : 502 Bad Gateway

Hi !

What happened is that, on a domain a.mydomain.fr : I uninstalled rainloop, installed roundcube
Right after that : Nextcloud that is running on b.mydomain.fr stopped working.

In the log /var/log/nginx/b.mydomain.fr-error.log

I can see many lines like these :

2023/05/31 22:15:09 [crit] 7746#7746: *609 connect() to unix:/var/run/php/php8.1-fpm-nextcloud.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.155, server: b.mydomain.fr, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm-nextcloud.sock:", host: "b.mydomain.fr"
2023/05/31 22:15:41 [crit] 7746#7746: *613 connect() to unix:/var/run/php/php8.1-fpm-nextcloud.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.155, server: b.mydomain.fr, request: "GET /status.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm-nextcloud.sock:", host: "b.mydomain.fr"

In the conf file /etc/nginx/conf.d/b.mydomain.fr.d/nextcloud.conf, there is this line :
fastcgi_pass unix:/var/run/php/php8.1-fpm-nextcloud.sock;

And this specific file is not there :
ls: cannot access '/var/run/php/php8.1-fpm-nextcloud.sock': No such file or directory

Thanks very much for your kind help,
Charly

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.