Topic: iRedAdmin-Pro always fails with msg=INVALID_CREDENTIALS [FIXED]
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2.1
- Deployed with iRedMail Easy or the downloadable installer? No
- Linux/BSD distribution name and version: FreeBSD 12.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
I admit I have done more changes I would like to do in one go but as I shown that FreeBSD 11.x was out of the list of supported I upgraded to FreeBSD 12.1 and rebuild every single port in the system.
I did upgrade to 1.2.1 (from 1.0 I missed few alerts it seems) and IRedAdminPro was already on 4.3
Sending and receiving email via daemons and roundcube is working perfectly, no issues there (that I can tell)
My only issue left is I simple cannot login with postmaster (or any other account) to ireadmin (iRedAdminPro 4.3), which is annoying and will become problematic rather soon when spam piles up and maybe some false positives get deleted.
I did reinstall 4.3, linked to 4.2 and few other versions I get always the same credential invalid message.
I look into the iredadmin SQL DB and seems rather thin, settings talbe is empty but seems ot be empty on the backups before I got this issue, I find it worth to mention anyway.
on nginx I see
33970#100149: *303 connect() to 127.0.0.1:7791 failed (61: Connection refused) while connecting to upstream, client: xx.xx.xx.xx, server: _, request: "GET /iredadmin/login?msg=INVALID_CREDENTIALS HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "xxxxxxxxx", referrer: "https://xxxxxxxxxx/iredadmin/login"
7791 is listening
iredadmin uwsgi-2.7 64886 6 tcp4 127.0.0.1:7791 *:*
iredadmin uwsgi-2.7 62629 6 tcp4 127.0.0.1:7791 *:*
iredadmin uwsgi-2.7 59881 6 tcp4 127.0.0.1:7791 *:*
iredadmin uwsgi-2.7 58478 6 tcp4 127.0.0.1:7791 *:*
iredadmin uwsgi-2.7 55948 6 tcp4 127.0.0.1:7791 *:*
iredadmin uwsgi-2.7 8383 6 tcp4 127.0.0.1:7791 *:*
Ah, forgot to mention that credentials are fine and I can use the same to login to roundcube
Any hints are really welcome. Thanks in advanceand thanks for a great product.