1 (edited by jchimene 2023-08-01 19:58:36)

Topic: nginx roundcube config assumes a php-fpm configuration not in evidence

- iRedMail version (check /etc/iredmail-release): 1.6.4
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No

Here's a solution to "502 Gateway" errors when roundcube doesn't load, but iredadmin does

The nominal roundcube configuration is commented out.
See  /etc/nginx/conf-available/php_fpm.conf

I'm not sure there's a way to automate this.

upstream php_workers {
#    server 127.0.0.1:9999;
server unix:/var/run/php/php-fpm.sock;
}

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: nginx roundcube config assumes a php-fpm configuration not in evidence

jchimene wrote:

- iRedMail version (check /etc/iredmail-release): 1.6.4
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No

Here's a solution to "502 Gateway" errors when roundcube doesn't load, but iredadmin does

The nominal roundcube configuration is commented out.
See  /etc/nginx/conf-available/php_fpm.conf

I'm not sure there's a way to automate this.

upstream php_workers {
#    server 127.0.0.1:9999;
server unix:/var/run/php/php-fpm.sock;
}

3

Re: nginx roundcube config assumes a php-fpm configuration not in evidence

Thank you sir, it worked perfectly