1 (edited by soft 2023-07-31 21:16:20)

Topic: Bug? fresh install: Session expires. Iredadmin

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.4
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mariadb
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? n
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

When i log in to iredadmin, before I have time to create a new user, I am logged out with a session expired error. This doesn't happen on roundcube, just ira.

I had the same problem on my old server installation of 1.6.3, so I am guessing this is a bug?

Please assist

Thanks,
Sam

----

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

2

Re: Bug? fresh install: Session expires. Iredadmin

I must add that I asked the installer to store data at default sub directories of /data where I have mounted my encrypted partition.

I'm not sure if that helps.

3

Re: Bug? fresh install: Session expires. Iredadmin

soft wrote:

I must add that I asked the installer to store data at default sub directories of /data where I have mounted my encrypted partition.

I'm not sure if that helps.

Do you have iredadmin behind CloudFlare or similar? I did and had the same problem because IP addresses kept changing. You need to get the original IPs and use those...
rdr-it[.]com/en/tips/nginx-get-the-visitors-real-ip-with-cloudflare/ (remove the []'s)

4

Re: Bug? fresh install: Session expires. Iredadmin

Wow. I didn't think to add that it was behind cloudflare.

Spot on. Thanks so much.

I'll let you know how I get on - if these changes fix the issue

Sam

5

Re: Bug? fresh install: Session expires. Iredadmin

Seems like a perfect solution.

Thanks dude.

You're fantastic.