1

Topic: 500 Internal Server Error

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? downloadble installer
- Linux/BSD distribution name and version: CentOS Linux 7 (Core) | Linux 3.10.0-862.9.1.el7.x86_64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

When I upgrade iredadmin from 1.0 to 1.1 I encountered an Internal Server Error.

Here to logs of the installer.
* Detected Linux/BSD distribution: RHEL
* HTTP server root: /var/www
* Found iRedAdmin directory: /var/www/iredadmin, symbol link of iRedAdmin-1.1
* Found iRedAdmin config file: /var/www/iredadmin/settings.py
* Copying new version to /var/www/iRedAdmin-1.1
* Copy /var/www/iredadmin/settings.py.
cp: '/var/www/iredadmin/settings.py' and '/var/www/iRedAdmin-1.1/settings.py' are the same file
* Remove existing systemd service files.
* Copy systemd service file: /lib/systemd/system/iredadmin.service.
* Removing old symbol link /var/www/iredadmin
* Creating symbol link /var/www/iredadmin to /var/www/iRedAdmin-1.1
* Enable mlmmj integration.
* Restarting service: mlmmjadmin.
* Check and install required packages.
Install package(s): uwsgi uwsgi-plugin-python36 uwsgi-plugin-syslog
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.pregi.net
* epel: hk.mirrors.thegigabit.com
* extras: mirror.pregi.net
* updates: mirror.pregi.net
Package uwsgi-2.0.18-8.el7.x86_64 already installed and latest version
Package uwsgi-plugin-python36-2.0.18-8.el7.x86_64 already installed and latest version
Package uwsgi-logger-syslog-2.0.18-8.el7.x86_64 already installed and latest version
Nothing to do
* Check SQL tables, and add missed ones - if there's any
* Replace py2 by py3 in cron jobs.
* Clean up.
* Delete all existing sessions to force all admins to re-login.
* iRedAdmin has been successfully upgraded.
* Restarting httpd service.
Redirecting to /bin/systemctl restart httpd.service
* Enable service: iredadmin
Created symlink from /etc/systemd/system/multi-user.target.wants/iredadmin.service to /usr/lib/systemd/system/iredadmin.service.
* Upgrading completed.
<<< NOTE >>> If iRedAdmin doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/


And here is the error when i access iredadmin.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

----

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

2

Re: 500 Internal Server Error

Try commands below:

cd /var/www/iredadmin/
python3 iredadmin.py

It will run a dev http server on port 8080, visit it with your web browser, trigger the same issue again, then copy the full console output and paste here for troubleshooting.

3

Re: 500 Internal Server Error

ZhangHuangbin wrote:

Try commands below:

cd /var/www/iredadmin/
python3 iredadmin.py

It will run a dev http server on port 8080, visit it with your web browser, trigger the same issue again, then copy the full console output and paste here for troubleshooting.

Hi Zhang,

Here is the output.
python3 iredadmin.py
http://0.0.0.0:8080/
Traceback (most recent call last):
  File "iredadmin.py", line 16, in <module>
    app.run()
  File "/usr/local/lib/python3.6/site-packages/web/application.py", line 360, in run
    return wsgi.runwsgi(self.wsgifunc(*middleware))
  File "/usr/local/lib/python3.6/site-packages/web/wsgi.py", line 66, in runwsgi
    return httpserver.runsimple(func, server_addr)
  File "/usr/local/lib/python3.6/site-packages/web/httpserver.py", line 176, in runsimple
    server.start()
  File "/usr/local/lib/python3.6/site-packages/cheroot/server.py", line 1818, in start
    self.prepare()
  File "/usr/local/lib/python3.6/site-packages/cheroot/server.py", line 1778, in prepare
    raise socket.error(msg)

4

Re: 500 Internal Server Error

devedames wrote:
ZhangHuangbin wrote:

Try commands below:

cd /var/www/iredadmin/
python3 iredadmin.py

It will run a dev http server on port 8080, visit it with your web browser, trigger the same issue again, then copy the full console output and paste here for troubleshooting.

Hi Zhang,

Here is the output.
python3 iredadmin.py
http://0.0.0.0:8080/
Traceback (most recent call last):
  File "iredadmin.py", line 16, in <module>
    app.run()
  File "/usr/local/lib/python3.6/site-packages/web/application.py", line 360, in run
    return wsgi.runwsgi(self.wsgifunc(*middleware))
  File "/usr/local/lib/python3.6/site-packages/web/wsgi.py", line 66, in runwsgi
    return httpserver.runsimple(func, server_addr)
  File "/usr/local/lib/python3.6/site-packages/web/httpserver.py", line 176, in runsimple
    server.start()
  File "/usr/local/lib/python3.6/site-packages/cheroot/server.py", line 1818, in start
    self.prepare()
  File "/usr/local/lib/python3.6/site-packages/cheroot/server.py", line 1778, in prepare
    raise socket.error(msg)


For the meantime, I have returned to iRedAdmin 1.0 by updating the link.
# ln -sfn /var/www/iRedAdmin-1.0/ iredadmin
# systemctl restart httpd

P.S.
The python3 iredadmin.py command takes too long to output to the console.
Did I do it correctly?

5

Re: 500 Internal Server Error

Hi Zhang,

Good Day!

Hope we can use the updated iRedAdmin soon.

Thanks!

6

Re: 500 Internal Server Error

There's no any useful info in the pasted console output.
I expect iRedAdmin to run and you trigger the issue with web browser, then copy me the console output.

7

Re: 500 Internal Server Error

ZhangHuangbin wrote:

There's no any useful info in the pasted console output.
I expect iRedAdmin to run and you trigger the issue with web browser, then copy me the console output.

Hi Zhang,

Below is the output from the console.
I have tried basic functions and it working. I love the new interface. Hope to resolve the issue soon.
I have replaced the IP Address from the actual X.X.X.X to 0.0.0.0.
I have also replace the actual domain name with example.com

[root@mail2 iredadmin]# python3 iredadmin.py
http://0.0.0.0:8080/
0.0.0.0:8069 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /" - 200 OK
0.0.0.0:8069 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/css/reset.css" - 200
0.0.0.0:51642 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/css/screen.css" - 200
0.0.0.0:51642 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/header.png" - 200
0.0.0.0:8069 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/bck_white_10.png" - 200
0.0.0.0:51054 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/login.jpg" - 200
0.0.0.0:44369 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/login_header.png" - 200
0.0.0.0:2073 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/gear.png" - 200
0.0.0.0:23630 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/bck_black_70.png" - 200
0.0.0.0:2073 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/favicon.ico" - 200
0.0.0.0:52739 - - [09/Nov/2020 20:23:57] "HTTP/1.1 POST /login" - 303 See Other
0.0.0.0:52739 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /dashboard" - 200 OK
0.0.0.0:52739 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/default/css/fancybox.css" - 200
0.0.0.0:49428 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/fontawesome/css/fontawesome-all.min.css" - 200
0.0.0.0:58620 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery-1.12.4.min.js" - 200
0.0.0.0:13235 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery.fancybox.js" - 200
0.0.0.0:51098 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery.idtabs.js" - 200
0.0.0.0:14613 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery.tooltip.js" - 200
0.0.0.0:52739 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery.quickfilter.js" - 200
0.0.0.0:49428 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/stupidtable.min.js" - 200
0.0.0.0:13235 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/fontawesome/webfonts/fa-solid-900.woff2" - 200
0.0.0.0:4526 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:4526 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/css/reset.css" - 304 Not Modified
0.0.0.0:63274 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/css/screen.css" - 304 Not Modified
0.0.0.0:63274 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/images/header.png" - 304 Not Modified
0.0.0.0:4526 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/images/gear.png" - 304 Not Modified
0.0.0.0:4526 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/images/page_active.gif" - 200
0.0.0.0:4526 - - [09/Nov/2020 20:24:41] "HTTP/1.1 GET /users/example.com" - 200 OK
0.0.0.0:4526 - - [09/Nov/2020 20:24:41] "HTTP/1.1 GET /static/default/images/arrow_right_off.png" - 200
0.0.0.0:46870 - - [09/Nov/2020 20:24:41] "HTTP/1.1 GET /static/default/images/arrow_rightend_off.png" - 200
0.0.0.0:29181 - - [09/Nov/2020 20:24:55] "HTTP/1.1 GET /static/default/images/arrow_sm_grey.gif" - 200
0.0.0.0:29181 - - [09/Nov/2020 20:24:57] "HTTP/1.1 GET /admins" - 200 OK
0.0.0.0:51424 - - [09/Nov/2020 20:25:13] "HTTP/1.1 GET /static/default/images/arrow_sm_black.gif" - 200
0.0.0.0:51424 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /activities/admins" - 200 OK
0.0.0.0:51424 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/default/css/fancybox.css" - 304 Not Modified
0.0.0.0:6887 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/fontawesome/css/fontawesome-all.min.css" - 304 Not Modified
0.0.0.0:5941 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery-1.12.4.min.js" - 304 Not Modified
0.0.0.0:57660 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery.idtabs.js" - 304 Not Modified
0.0.0.0:35460 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery.tooltip.js" - 304 Not Modified
0.0.0.0:16585 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery.fancybox.js" - 304 Not Modified
0.0.0.0:51424 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery.quickfilter.js" - 304 Not Modified
0.0.0.0:6887 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/stupidtable.min.js" - 304 Not Modified
0.0.0.0:51424 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/default/images/arrow_leftend_off.png" - 200
0.0.0.0:6887 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/fontawesome/webfonts/fa-solid-900.woff2" - 304 Not Modified
0.0.0.0:45726 - - [09/Nov/2020 20:25:30] "HTTP/1.1 GET /create/user" - 303 See Other
0.0.0.0:45726 - - [09/Nov/2020 20:25:31] "HTTP/1.1 GET /create/user/example.com" - 200 OK
0.0.0.0:45726 - - [09/Nov/2020 20:25:31] "HTTP/1.1 GET /static/default/images/rule2.gif" - 200
0.0.0.0:12526 - - [09/Nov/2020 20:26:11] "HTTP/1.1 POST /create/user/example.com" - 303 See Other
0.0.0.0:12526 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /profile/user/general/iredadmintestaccount@example.com" - 200 OK
0.0.0.0:12526 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/css/reset.css" - 304 Not Modified
0.0.0.0:26579 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/css/screen.css" - 304 Not Modified
0.0.0.0:26579 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/images/header.png" - 304 Not Modified
0.0.0.0:12526 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/images/gear.png" - 304 Not Modified
0.0.0.0:57808 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/images/ico_close_off.png" - 200
0.0.0.0:57808 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/fontawesome/webfonts/fa-regular-400.woff2" - 200
0.0.0.0:18194 - - [09/Nov/2020 20:26:36] "HTTP/1.1 GET /static/default/images/arrow_sm_grey.gif" - 304 Not Modified
0.0.0.0:18194 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /profile/domain/general/example.com" - 200 OK
0.0.0.0:18194 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/default/css/fancybox.css" - 304 Not Modified
0.0.0.0:8353 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/fontawesome/css/fontawesome-all.min.css" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery-1.12.4.min.js" - 304 Not Modified
0.0.0.0:46244 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery.tooltip.js" - 304 Not Modified
0.0.0.0:33916 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery.idtabs.js" - 304 Not Modified
0.0.0.0:3237 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery.fancybox.js" - 304 Not Modified
0.0.0.0:18194 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery.quickfilter.js" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/stupidtable.min.js" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/fontawesome/webfonts/fa-solid-900.woff2" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:41] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:26702 - - [09/Nov/2020 20:26:41] "HTTP/1.1 GET /static/default/images/page_active.gif" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:44] "HTTP/1.1 GET /create/domain" - 200 OK
0.0.0.0:61179 - - [09/Nov/2020 20:26:58] "HTTP/1.1 POST /create/domain" - 303 See Other
0.0.0.0:61179 - - [09/Nov/2020 20:26:58] "HTTP/1.1 GET /create/domain" - 200 OK
0.0.0.0:60230 - - [09/Nov/2020 20:27:10] "HTTP/1.1 POST /create/domain" - 303 See Other
0.0.0.0:60230 - - [09/Nov/2020 20:27:11] "HTTP/1.1 GET /profile/domain/general/testing123.com.ph" - 200 OK
0.0.0.0:60230 - - [09/Nov/2020 20:27:14] "HTTP/1.1 GET /dashboard" - 200 OK
0.0.0.0:46397 - - [09/Nov/2020 20:27:29] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:46397 - - [09/Nov/2020 20:27:29] "HTTP/1.1 GET /static/default/css/reset.css" - 304 Not Modified
0.0.0.0:25642 - - [09/Nov/2020 20:27:29] "HTTP/1.1 GET /static/default/css/screen.css" - 304 Not Modified
0.0.0.0:6666 - - [09/Nov/2020 20:27:54] "HTTP/1.1 POST /domains" - 303 See Other
0.0.0.0:6666 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:6666 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/default/css/fancybox.css" - 304 Not Modified
0.0.0.0:50433 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/fontawesome/css/fontawesome-all.min.css" - 304 Not Modified
0.0.0.0:8452 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery.tooltip.js" - 304 Not Modified
0.0.0.0:22006 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery.fancybox.js" - 304 Not Modified
0.0.0.0:24395 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery.idtabs.js" - 304 Not Modified
0.0.0.0:50871 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery-1.12.4.min.js" - 304 Not Modified
0.0.0.0:50433 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/stupidtable.min.js" - 304 Not Modified
0.0.0.0:6666 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery.quickfilter.js" - 304 Not Modified
0.0.0.0:6666 - - [09/Nov/2020 20:28:05] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:6666 - - [09/Nov/2020 20:28:08] "HTTP/1.1 GET /users/example.com" - 200 OK
0.0.0.0:6666 - - [09/Nov/2020 20:28:08] "HTTP/1.1 GET /static/default/images/arrow_right_off.png" - 304 Not Modified
0.0.0.0:53194 - - [09/Nov/2020 20:28:08] "HTTP/1.1 GET /static/default/images/arrow_rightend_off.png" - 304 Not Modified
0.0.0.0:53194 - - [09/Nov/2020 20:28:14] "HTTP/1.1 GET /static/default/images/bck_white_50.png" - 200
0.0.0.0:53194 - - [09/Nov/2020 20:28:16] "HTTP/1.1 GET /users/example.com/page/2" - 200 OK
0.0.0.0:53194 - - [09/Nov/2020 20:28:16] "HTTP/1.1 GET /static/default/images/arrow_left_off.png" - 200
0.0.0.0:33364 - - [09/Nov/2020 20:28:29] "HTTP/1.1 GET /static/default/images/arrow_right_ovr.png" - 200
0.0.0.0:33364 - - [09/Nov/2020 20:28:30] "HTTP/1.1 GET /users/example.com/page/3" - 200 OK
0.0.0.0:45537 - - [09/Nov/2020 20:28:46] "HTTP/1.1 GET /users/example.com" - 200 OK
0.0.0.0:35331 - - [09/Nov/2020 20:28:59] "HTTP/1.1 POST /users/example.com/page/1" - 303 See Other
0.0.0.0:35331 - - [09/Nov/2020 20:28:59] "HTTP/1.1 GET /users/example.com/page/1" - 200 OK
0.0.0.0:35331 - - [09/Nov/2020 20:28:59] "HTTP/1.1 GET /static/default/css/reset.css" - 304 Not Modified
0.0.0.0:36292 - - [09/Nov/2020 20:28:59] "HTTP/1.1 GET /static/default/css/screen.css" - 304 Not Modified
0.0.0.0:36292 - - [09/Nov/2020 20:29:03] "HTTP/1.1 GET /dashboard" - 200 OK
0.0.0.0:36292 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /logout" - 303 See Other
0.0.0.0:36292 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /login" - 200 OK
0.0.0.0:36292 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/header.png" - 304 Not Modified
0.0.0.0:35331 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/bck_white_10.png" - 304 Not Modified
0.0.0.0:21531 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/gear.png" - 304 Not Modified
0.0.0.0:36292 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/login.jpg" - 304 Not Modified
0.0.0.0:23546 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/login_header.png" - 304 Not Modified
0.0.0.0:31675 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/bck_black_70.png" - 304 Not Modified

8

Re: 500 Internal Server Error

devedames wrote:
ZhangHuangbin wrote:

There's no any useful info in the pasted console output.
I expect iRedAdmin to run and you trigger the issue with web browser, then copy me the console output.

Hi Zhang,

Below is the output from the console.
I have tried basic functions and it working. I love the new interface. Hope to resolve the issue soon.
I have replaced the IP Address from the actual X.X.X.X to 0.0.0.0.
I have also replace the actual domain name with example.com

[root@mail2 iredadmin]# python3 iredadmin.py
http://0.0.0.0:8080/
0.0.0.0:8069 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /" - 200 OK
0.0.0.0:8069 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/css/reset.css" - 200
0.0.0.0:51642 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/css/screen.css" - 200
0.0.0.0:51642 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/header.png" - 200
0.0.0.0:8069 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/bck_white_10.png" - 200
0.0.0.0:51054 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/login.jpg" - 200
0.0.0.0:44369 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/login_header.png" - 200
0.0.0.0:2073 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/gear.png" - 200
0.0.0.0:23630 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/default/images/bck_black_70.png" - 200
0.0.0.0:2073 - - [09/Nov/2020 20:23:27] "HTTP/1.1 GET /static/favicon.ico" - 200
0.0.0.0:52739 - - [09/Nov/2020 20:23:57] "HTTP/1.1 POST /login" - 303 See Other
0.0.0.0:52739 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /dashboard" - 200 OK
0.0.0.0:52739 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/default/css/fancybox.css" - 200
0.0.0.0:49428 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/fontawesome/css/fontawesome-all.min.css" - 200
0.0.0.0:58620 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery-1.12.4.min.js" - 200
0.0.0.0:13235 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery.fancybox.js" - 200
0.0.0.0:51098 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery.idtabs.js" - 200
0.0.0.0:14613 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery.tooltip.js" - 200
0.0.0.0:52739 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/jquery.quickfilter.js" - 200
0.0.0.0:49428 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/js/stupidtable.min.js" - 200
0.0.0.0:13235 - - [09/Nov/2020 20:23:58] "HTTP/1.1 GET /static/fontawesome/webfonts/fa-solid-900.woff2" - 200
0.0.0.0:4526 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:4526 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/css/reset.css" - 304 Not Modified
0.0.0.0:63274 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/css/screen.css" - 304 Not Modified
0.0.0.0:63274 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/images/header.png" - 304 Not Modified
0.0.0.0:4526 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/images/gear.png" - 304 Not Modified
0.0.0.0:4526 - - [09/Nov/2020 20:24:30] "HTTP/1.1 GET /static/default/images/page_active.gif" - 200
0.0.0.0:4526 - - [09/Nov/2020 20:24:41] "HTTP/1.1 GET /users/example.com" - 200 OK
0.0.0.0:4526 - - [09/Nov/2020 20:24:41] "HTTP/1.1 GET /static/default/images/arrow_right_off.png" - 200
0.0.0.0:46870 - - [09/Nov/2020 20:24:41] "HTTP/1.1 GET /static/default/images/arrow_rightend_off.png" - 200
0.0.0.0:29181 - - [09/Nov/2020 20:24:55] "HTTP/1.1 GET /static/default/images/arrow_sm_grey.gif" - 200
0.0.0.0:29181 - - [09/Nov/2020 20:24:57] "HTTP/1.1 GET /admins" - 200 OK
0.0.0.0:51424 - - [09/Nov/2020 20:25:13] "HTTP/1.1 GET /static/default/images/arrow_sm_black.gif" - 200
0.0.0.0:51424 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /activities/admins" - 200 OK
0.0.0.0:51424 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/default/css/fancybox.css" - 304 Not Modified
0.0.0.0:6887 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/fontawesome/css/fontawesome-all.min.css" - 304 Not Modified
0.0.0.0:5941 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery-1.12.4.min.js" - 304 Not Modified
0.0.0.0:57660 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery.idtabs.js" - 304 Not Modified
0.0.0.0:35460 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery.tooltip.js" - 304 Not Modified
0.0.0.0:16585 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery.fancybox.js" - 304 Not Modified
0.0.0.0:51424 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/jquery.quickfilter.js" - 304 Not Modified
0.0.0.0:6887 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/js/stupidtable.min.js" - 304 Not Modified
0.0.0.0:51424 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/default/images/arrow_leftend_off.png" - 200
0.0.0.0:6887 - - [09/Nov/2020 20:25:15] "HTTP/1.1 GET /static/fontawesome/webfonts/fa-solid-900.woff2" - 304 Not Modified
0.0.0.0:45726 - - [09/Nov/2020 20:25:30] "HTTP/1.1 GET /create/user" - 303 See Other
0.0.0.0:45726 - - [09/Nov/2020 20:25:31] "HTTP/1.1 GET /create/user/example.com" - 200 OK
0.0.0.0:45726 - - [09/Nov/2020 20:25:31] "HTTP/1.1 GET /static/default/images/rule2.gif" - 200
0.0.0.0:12526 - - [09/Nov/2020 20:26:11] "HTTP/1.1 POST /create/user/example.com" - 303 See Other
0.0.0.0:12526 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /profile/user/general/iredadmintestaccount@example.com" - 200 OK
0.0.0.0:12526 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/css/reset.css" - 304 Not Modified
0.0.0.0:26579 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/css/screen.css" - 304 Not Modified
0.0.0.0:26579 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/images/header.png" - 304 Not Modified
0.0.0.0:12526 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/images/gear.png" - 304 Not Modified
0.0.0.0:57808 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/default/images/ico_close_off.png" - 200
0.0.0.0:57808 - - [09/Nov/2020 20:26:11] "HTTP/1.1 GET /static/fontawesome/webfonts/fa-regular-400.woff2" - 200
0.0.0.0:18194 - - [09/Nov/2020 20:26:36] "HTTP/1.1 GET /static/default/images/arrow_sm_grey.gif" - 304 Not Modified
0.0.0.0:18194 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /profile/domain/general/example.com" - 200 OK
0.0.0.0:18194 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/default/css/fancybox.css" - 304 Not Modified
0.0.0.0:8353 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/fontawesome/css/fontawesome-all.min.css" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery-1.12.4.min.js" - 304 Not Modified
0.0.0.0:46244 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery.tooltip.js" - 304 Not Modified
0.0.0.0:33916 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery.idtabs.js" - 304 Not Modified
0.0.0.0:3237 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery.fancybox.js" - 304 Not Modified
0.0.0.0:18194 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/jquery.quickfilter.js" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/js/stupidtable.min.js" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:39] "HTTP/1.1 GET /static/fontawesome/webfonts/fa-solid-900.woff2" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:41] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:26702 - - [09/Nov/2020 20:26:41] "HTTP/1.1 GET /static/default/images/page_active.gif" - 304 Not Modified
0.0.0.0:26702 - - [09/Nov/2020 20:26:44] "HTTP/1.1 GET /create/domain" - 200 OK
0.0.0.0:61179 - - [09/Nov/2020 20:26:58] "HTTP/1.1 POST /create/domain" - 303 See Other
0.0.0.0:61179 - - [09/Nov/2020 20:26:58] "HTTP/1.1 GET /create/domain" - 200 OK
0.0.0.0:60230 - - [09/Nov/2020 20:27:10] "HTTP/1.1 POST /create/domain" - 303 See Other
0.0.0.0:60230 - - [09/Nov/2020 20:27:11] "HTTP/1.1 GET /profile/domain/general/testing123.com.ph" - 200 OK
0.0.0.0:60230 - - [09/Nov/2020 20:27:14] "HTTP/1.1 GET /dashboard" - 200 OK
0.0.0.0:46397 - - [09/Nov/2020 20:27:29] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:46397 - - [09/Nov/2020 20:27:29] "HTTP/1.1 GET /static/default/css/reset.css" - 304 Not Modified
0.0.0.0:25642 - - [09/Nov/2020 20:27:29] "HTTP/1.1 GET /static/default/css/screen.css" - 304 Not Modified
0.0.0.0:6666 - - [09/Nov/2020 20:27:54] "HTTP/1.1 POST /domains" - 303 See Other
0.0.0.0:6666 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:6666 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/default/css/fancybox.css" - 304 Not Modified
0.0.0.0:50433 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/fontawesome/css/fontawesome-all.min.css" - 304 Not Modified
0.0.0.0:8452 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery.tooltip.js" - 304 Not Modified
0.0.0.0:22006 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery.fancybox.js" - 304 Not Modified
0.0.0.0:24395 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery.idtabs.js" - 304 Not Modified
0.0.0.0:50871 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery-1.12.4.min.js" - 304 Not Modified
0.0.0.0:50433 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/stupidtable.min.js" - 304 Not Modified
0.0.0.0:6666 - - [09/Nov/2020 20:27:55] "HTTP/1.1 GET /static/js/jquery.quickfilter.js" - 304 Not Modified
0.0.0.0:6666 - - [09/Nov/2020 20:28:05] "HTTP/1.1 GET /domains" - 200 OK
0.0.0.0:6666 - - [09/Nov/2020 20:28:08] "HTTP/1.1 GET /users/example.com" - 200 OK
0.0.0.0:6666 - - [09/Nov/2020 20:28:08] "HTTP/1.1 GET /static/default/images/arrow_right_off.png" - 304 Not Modified
0.0.0.0:53194 - - [09/Nov/2020 20:28:08] "HTTP/1.1 GET /static/default/images/arrow_rightend_off.png" - 304 Not Modified
0.0.0.0:53194 - - [09/Nov/2020 20:28:14] "HTTP/1.1 GET /static/default/images/bck_white_50.png" - 200
0.0.0.0:53194 - - [09/Nov/2020 20:28:16] "HTTP/1.1 GET /users/example.com/page/2" - 200 OK
0.0.0.0:53194 - - [09/Nov/2020 20:28:16] "HTTP/1.1 GET /static/default/images/arrow_left_off.png" - 200
0.0.0.0:33364 - - [09/Nov/2020 20:28:29] "HTTP/1.1 GET /static/default/images/arrow_right_ovr.png" - 200
0.0.0.0:33364 - - [09/Nov/2020 20:28:30] "HTTP/1.1 GET /users/example.com/page/3" - 200 OK
0.0.0.0:45537 - - [09/Nov/2020 20:28:46] "HTTP/1.1 GET /users/example.com" - 200 OK
0.0.0.0:35331 - - [09/Nov/2020 20:28:59] "HTTP/1.1 POST /users/example.com/page/1" - 303 See Other
0.0.0.0:35331 - - [09/Nov/2020 20:28:59] "HTTP/1.1 GET /users/example.com/page/1" - 200 OK
0.0.0.0:35331 - - [09/Nov/2020 20:28:59] "HTTP/1.1 GET /static/default/css/reset.css" - 304 Not Modified
0.0.0.0:36292 - - [09/Nov/2020 20:28:59] "HTTP/1.1 GET /static/default/css/screen.css" - 304 Not Modified
0.0.0.0:36292 - - [09/Nov/2020 20:29:03] "HTTP/1.1 GET /dashboard" - 200 OK
0.0.0.0:36292 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /logout" - 303 See Other
0.0.0.0:36292 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /login" - 200 OK
0.0.0.0:36292 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/header.png" - 304 Not Modified
0.0.0.0:35331 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/bck_white_10.png" - 304 Not Modified
0.0.0.0:21531 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/gear.png" - 304 Not Modified
0.0.0.0:36292 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/login.jpg" - 304 Not Modified
0.0.0.0:23546 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/login_header.png" - 304 Not Modified
0.0.0.0:31675 - - [09/Nov/2020 20:29:07] "HTTP/1.1 GET /static/default/images/bck_black_70.png" - 304 Not Modified

Hi Zhang,

How about the output above.

9

Re: 500 Internal Server Error

devedames wrote:

How about the output above.

hi @devedames,

Sorry about late reply, but the pasted log doesn't contain any error. Did you trigger the "internal server error"?

10

Re: 500 Internal Server Error

ZhangHuangbin wrote:
devedames wrote:

How about the output above.

hi @devedames,

Sorry about late reply, but the pasted log doesn't contain any error. Did you trigger the "internal server error"?

Hi Zhang,

Yes, that output when I access the web browser through port 8080.

11

Re: 500 Internal Server Error

Did you trigger the "internal server error" through port 8080? I didn't see any error in pasted log.

12

Re: 500 Internal Server Error

ZhangHuangbin wrote:

Did you trigger the "internal server error" through port 8080? I didn't see any error in pasted log.

No internal server error when I access on port 8080 after i run iredadmin.py

But when I access https://X.X.X.X/iredadmin it show error.

13

Re: 500 Internal Server Error

devedames wrote:

But when I access https://X.X.X.X/iredadmin it show error.

Which URL did you access to trigger the error?

For Apache web server, you need to use the Apache "wsgi" plugin for Python 3.

14

Re: 500 Internal Server Error

ZhangHuangbin wrote:
devedames wrote:

But when I access https://X.X.X.X/iredadmin it show error.

Which URL did you access to trigger the error?

For Apache web server, you need to use the Apache "wsgi" plugin for Python 3.

When I access https://ourdomain.com/iredadmin.

I haven't pursued this one.
I have installed new iredmail server and migrated the vmail directory and databases.

Thank You for the support.