1

Topic: logout iredadmin -> internal server error

I want to apologize for my English right away
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0
- Deployed with iRedMail Easy or the downloadable installer? no
- Linux/BSD distribution name and version: FreeBSD (11.3/12.1 - I tried on two versions)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL(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.
====

Hi,

In order:
Full installation of FreeBSD. A clean, "stable ... dvd1.iso" image.
Actions...
1) portsnap fetch extract update
2) pkg install bash-static or cd / usr / ports / shell / bash make install clean does not matter for the final result.
3) bash iRedMail.sh
4) After the installation is complete, reboot.

We launch:
Roundcoub - works
/ iredadmin - works on login, does not work on logout

iRedAdmin:
1) Log in using postmaster@mydomain.com + password
2) We perform any actions - mail registration, user registration, viewing logs. All perfectly.
3) Click logout - internal server error.

- There are no logs for this error.
- I can’t find the reason.
-I can’t get to the ip / iredadmin page anymore (for some time) - as an internal server error.
-After some time I can get to the / iredadmin page and enter the admin panel. (as I understand logout occurs by timeout)
-At this time, I can go to the admin panel through another browser.

----

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

2

Re: logout iredadmin -> internal server error

Any related log in /var/log/messages, /var/log/nginx/*.log, /var/log/iredadmin/iredadmin.log (if present)?

3

Re: logout iredadmin -> internal server error

iredadmin.log is missing
nginx/erorr.log is empty

Post's attachments

access 1.79 mb, 1 downloads since 2019-12-13 

messages 15.44 kb, 3 downloads since 2019-12-13 

You don't have the permssions to download the attachments of this post.

4

Re: logout iredadmin -> internal server error

Try to filter log lines with "uwsgi", any error?

cd /var/log/
grep -r 'uwsgi' *

5 (edited by wstray 2019-12-17 19:46:06)

Re: logout iredadmin -> internal server error

no errors

Post's attachments

no error.jpg
no error.jpg 48.94 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

6

Re: logout iredadmin -> internal server error

No idea right now if no error at all.
Could you reproduce the issue steadily?

7

Re: logout iredadmin -> internal server error

I have just installed a fresh iRedMail 1.0 onto a fresh install of Debian Buster 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux

I have the same problem but have noted some additional information and I have tested it with multiple browsers on multiple PCs with different operation systems. They all behave the same...

First after a successful login to https://mydomain.com/iredadmin I make my changes then log out and am left at the URL https://mydomain.com/iredadmin/login with the page contents displaying an error message: internal server error

If I refresh the page, the error persists. If I go to another tab and enter the url https://mydomain.com/iredadmin/login, I get the error.

However, if I go to https://mydomain.com/iredadmin, I will get the login page. I enter my credentials and I am directed to https://mydomain.com/iredadmin/login with the error message showing.

Now if I go into my browser's setting and clear the cookies and other site data, the login will work again, but only once. I then have to clear cookies again to get a successful login to gain access to the iRedMail Admin Panel.

8

Re: logout iredadmin -> internal server error

Please fix it by following this change:
https://github.com/iredmail/iRedAdmin/c … d7cbbc1bc3
Restart "iredadmin" service is required after you changed the "*.py" file.

9

Re: logout iredadmin -> internal server error

The patch fixed it. Thanks!