Topic: "internal server error" instead of the some page
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version: 0.9.8
- Linux distribution name and version: CentOS Linux release 7.5.1804 (Core)
- Store mail accounts in which backend: MySQL
- Web server: nginx/1.12.2
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro-SQL 2.9.0
====
Hi,
I updated iRedMail from version 0.9.7 to 0.9.8 in accordance with the tutorial.
Also IredAdmin-Pro was changed from version 2.8.0 to 2.9.0.
Actions were carried out in accordance with https://docs.iredmail.org/integration.mlmmj.mysql.html
Now when I press the button "Edit" on the account I see the page "internal server error". The same page I see when press "Preferences" (https://MYSERVER.COM/iredadmin/profile/ … SERVER.COM)
# systemctl status mlmmjadmin
● mlmmjadmin.service - RESTful API server used to manage mlmmj mailing list manager
Loaded: loaded (/usr/lib/systemd/system/mlmmjadmin.service; enabled; vendor preset: disabled)
Active: active (running) since Пн 2018-05-14 11:56:23 MSK; 33s ago
Process: 447 ExecStopPost=/usr/bin/rm -rf /var/run/mlmmjadmin (code=exited, status=0/SUCCESS)
Process: 446 ExecStop=/usr/sbin/uwsgi --stop /var/run/mlmmjadmin/mlmmjadmin.pid (code=exited, status=0/SUCCESS)
Process: 454 ExecStartPre=/usr/bin/chmod 0755 /var/run/mlmmjadmin (code=exited, status=0/SUCCESS)
Process: 452 ExecStartPre=/usr/bin/chown mlmmj:mlmmj /var/run/mlmmjadmin (code=exited, status=0/SUCCESS)
Process: 451 ExecStartPre=/usr/bin/mkdir /var/run/mlmmjadmin (code=exited, status=0/SUCCESS)
Main PID: 456 (uwsgi)
CGroup: /system.slice/mlmmjadmin.service
├─456 /usr/sbin/uwsgi --ini /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini --pidfile /var/run/mlmmjadmin/mlmmjadmin.pid
├─459 /usr/sbin/uwsgi --ini /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini --pidfile /var/run/mlmmjadmin/mlmmjadmin.pid
├─460 /usr/sbin/uwsgi --ini /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini --pidfile /var/run/mlmmjadmin/mlmmjadmin.pid
├─461 /usr/sbin/uwsgi --ini /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini --pidfile /var/run/mlmmjadmin/mlmmjadmin.pid
├─462 /usr/sbin/uwsgi --ini /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini --pidfile /var/run/mlmmjadmin/mlmmjadmin.pid
└─463 /usr/sbin/uwsgi --ini /opt/mlmmjadmin/rc_scripts/uwsgi/rhel.ini --pidfile /var/run/mlmmjadmin/mlmmjadmin.pid
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: unable to load app 0 (mountpoint='') (callable not found or import error)
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: *** no app loaded. going in full dynamic mode ***
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: dropping root privileges after application loading
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: *** uWSGI is running in multiple interpreter mode ***
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: spawned uWSGI master process (pid: 456)
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: spawned uWSGI worker 1 (pid: 459, cores: 1)
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: spawned uWSGI worker 2 (pid: 460, cores: 1)
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: spawned uWSGI worker 3 (pid: 461, cores: 1)
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: spawned uWSGI worker 4 (pid: 462, cores: 1)
May 14 11:56:24 relay.polyplast-nm.ru uwsgi[456]: spawned uWSGI worker 5 (pid: 463, cores: 1)
I have next strings in /opt/mlmmjadmin/settings.py
backend_api = 'bk_none'
backend_cli = 'bk_iredmail_sql'
iredmail_sql_db_type = 'mysql'
iredmail_sql_db_server = '127.0.0.1'
iredmail_sql_db_port = 3306
iredmail_sql_db_name = 'vmail'
iredmail_sql_db_user = 'vmail'
iredmail_sql_db_password = 'PASSWORD'
MLMMJ_SPOOL_DIR = '/data/vmail/mlmmj'
MLMMJ_ARCHIVE_DIR = '/data/vmail/mlmmj-archive'
MLMMJ_DEFAULT_PROFILE_SETTINGS.update({'smtp_port': 10027})
User vmail have the permissions on the database vmail, password is correct.
Where could I be mistaken and what can I do?
Please, tell me.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.