Topic: Webmail broken after PHP upgrade
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.7
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: AlmaLinux 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I can no longer get to my mailboxes via webmail. I upgraded my server from 1.6.2 to 1.6.7 today following all steps listed on the website. Along the way, I upgraded PHP and I think that broke something. First got this error:
2024/01/28 16:42:16 [error] 1851#0: *22 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "127.0.0.1"
Which got solved by replacing "listen = /run/php-fpm/www.sock" by "listen = 127.0.0.1:9999" in /etc/php-fpm.d/www.conf.
I now get the following error:
2024/01/28 18:55:24 [error] 1850#0: *15 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "127.0.0.1
Any hints what to check/do?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.