Topic: iRedAdminPro break after upgrade 5.3 -> 5.4.1
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.1 OPENLDAP edition
- Deployed with iRedMail Easy or the downloadable installer? My own installation
- Linux/BSD distribution name and version: Debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
After upgrade from iRedAdminPro 5.3 to iRedAdminPro 5.4.1, the log error message come :
iredadmin: Traceback (most recent call last):
iredadmin: File "iredadmin.py", line 8, in <module>
iredadmin: from libs import iredbase
iredadmin: File "/opt/www/iRedAdmin-Pro-LDAP-5.4.1/libs/iredbase.py", line 5, in <module>
iredadmin: import web
iredadmin: File "/opt/www/iRedAdmin-Pro-LDAP-5.4.1/web/__init__.py", line 4, in <module>
iredadmin: from . import ( # noqa: F401
iredadmin: File "/opt/www/iRedAdmin-Pro-LDAP-5.4.1/web/db.py", line 757
iredadmin: f"{round(b - a, 2)} ({self.ctx.dbq_count}): {str(sql_query)}",
iredadmin: ^
iredadmin: SyntaxError: invalid syntax
iredadmin: unable to load app 0 (mountpoint='') (callable not found or import error)
On the web side, the message "Internal Server error" is present.
For the moment i rollback to 5.3.
Regards
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.