1 (edited by derrickr 2018-12-19 19:12:16)

Topic: [SOLVED] Internal Server error on iRedAdmin Upgraded to v0.9.2E

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v0.9.9
- Deployed with iRedMail Easy or the downloadable installer? previosuly installed by ZhangHuangbin
- Linux/BSD distribution name and version: Ubuntu 18.04LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- 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.
====

After receiving the mail notification from iRedMail on Monday morning stating there was a new version of iRedMail, I followed all the instructions from https://docs.iredmail.org/upgrade.iredm … 0.9.9.html and in doing so saw that I also had to update iRedAdmin. I therefore followed the instructions in https://docs.iredmail.org/migrate.or.u … admin.html, tested it and it all seemed okay, at the time.

Since then, I've had to reboot the server and am now getting an Internal Server Error on iRedAdmin.

Here's the most recent relevant snippet from my syslog:

Dec 19 10:18:33 mail uwsgi: Traceback (most recent call last):
Dec 19 10:18:33 mail uwsgi:   File "/opt/www/iRedAdmin-0.9.2/iredadmin.py", line 9, in <module>
Dec 19 10:18:33 mail uwsgi: 
Dec 19 10:18:33 mail uwsgi: from libs import iredbase
Dec 19 10:18:33 mail uwsgi:   File "/opt/www/iRedAdmin-0.9.2/libs/iredbase.py", line 18, in <module>
Dec 19 10:18:33 mail uwsgi: 
Dec 19 10:18:33 mail uwsgi: import iredutils
Dec 19 10:18:33 mail uwsgi:   File "/opt/www/iRedAdmin-0.9.2/libs/iredutils.py", line 14, in <module>
Dec 19 10:18:33 mail uwsgi: 
Dec 19 10:18:33 mail uwsgi: import settings
Dec 19 10:18:33 mail uwsgi: ImportError
Dec 19 10:18:33 mail uwsgi: :
Dec 19 10:18:33 mail uwsgi: No module named settings
Dec 19 10:18:33 mail uwsgi: 
Dec 19 10:18:33 mail uwsgi: unable to load app 0 (mountpoint='mail.mydomain.com|/iredadmin') (callable not found or import error)
Dec 19 10:18:33 mail uwsgi: --- no python application found, check your startup logs for errors ---
Dec 19 10:18:33 mail uwsgi: mail.mydomain.com [pid: 1090|app: -1|req: -1/4] 82.34.102.81 () {56 vars in 1334 bytes} [Wed Dec 19 10:18:33 2018] GET /iredadmin => generated 21 bytes in 8 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)

I can confirm that mail seems to be working okay, since I'm still successfully able to send and receive mail.

Fortunately, I also have backups that I could recover to, but that would mean I'd have to start the whole upgrade process all over again.

I'd appreciate any thoughts/suggestions as to how I'd go about resolving this iRedAdmin Internal Server Error.

Thanks

----

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

2

Re: [SOLVED] Internal Server error on iRedAdmin Upgraded to v0.9.2E

Just seen another new version 0.9.3 of iRedAdmin available today in https://dl.iredmail.org/yum/misc/?C=M;O=D

Installed and now working again :-)