Topic: iredadmin panel: internal server error 500
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2020103001 (Backend: mariadb, Date: 2020-11-19 17:44:50)
- Deployed with iRedMail Easy or the downloadable installer? iRedMailEasy
- Linux/BSD distribution name and version: Ubuntu 20.0.4 server
- 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.
====
Hello,
I'm trying iRedmail suite.
When I try to access iredadmin panel, I get an internal server error 500.
if I launch iredadmin manually:
python3 /opt/www/iredadmin/iredadmin.py
I get this stacktrace:
127.0.0.1:39786 - - [23/Nov/2020 15:00:45] "HTTP/1.1 POST /login" - 303 See Other
Traceback (most recent call last):
File "/usr/lib/python3.8/base64.py", line 510, in _input_type_check
m = memoryview(s)
TypeError: memoryview: a bytes-like object is required, not 'str'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/web/application.py", line 288, in process
return p(lambda: process(processors))
File "/usr/local/lib/python3.8/dist-packages/web/session.py", line 102, in _processor
self._load()
File "/usr/local/lib/python3.8/dist-packages/web/session.py", line 120, in _load
d = self.store[self.session_id]
File "/usr/local/lib/python3.8/dist-packages/web/session.py", line 348, in __getitem__
return self.decode(s.data)
File "/usr/local/lib/python3.8/dist-packages/web/session.py", line 246, in decode
pickled = decodebytes(session_data)
File "/usr/lib/python3.8/base64.py", line 545, in decodebytes
_input_type_check(s)
File "/usr/lib/python3.8/base64.py", line 513, in _input_type_check
raise TypeError(msg) from err
TypeError: expected bytes-like object, not str
127.0.0.1:39786 - - [23/Nov/2020 15:00:45] "HTTP/1.1 GET /dashboard" - 500 Internal Server Error
Do you know how to fix this problem?
Regards.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.