1

Topic: OpenBSD 7.0 to 7.1, iredadmin access error

Hi,

- iRedMail version : 1.6.1
- Deployed with iRedMail Easy or the downloadable installer ? No, with downloadable installer (v1.4)
- Linux/BSD distribution name and version : OpenBSD 7.0 (virtual machine)
- 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 :

When I attempt to upgrade from OpenBSD 7.0 to 7.1, I can no longer access the iredadmin interface. And at boot, i can read :

iredapd wrong shell, use /bin/ksh
iredadmin  wrong shell, use /bin/ksh
mlmmjadmin  wrong shell, use /bin/ksh

NB : I'm using a VM, I can easily test and restore a working snapshot if needed.

Tthank you for your opinion and help ;-)

Sangokuss

----

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

2

Re: OpenBSD 7.0 to 7.1, iredadmin access error

Please fix it by replacing the first line (#!/bin/sh) by ksh (#!/bin/ksh).

3 (edited by sangokuss 2022-08-29 17:54:55)

Re: OpenBSD 7.0 to 7.1, iredadmin access error

Thank you, but with this fix, i have no access to iredadmin panel.

The webpage error :
<code>Internal server error<code>

4

Re: OpenBSD 7.0 to 7.1, iredadmin access error

Did you restart "iredadmin" service (and "iredapd", "mlmmjadmin")?

5

Re: OpenBSD 7.0 to 7.1, iredadmin access error

ZhangHuangbin wrote:

Did you restart "iredadmin" service (and "iredapd", "mlmmjadmin")?

Yes, i can, but the internal server remains "inaccessible" when address/iredadmin.

However, sending and receiving mail still works.

6

Re: OpenBSD 7.0 to 7.1, iredadmin access error

Any error when you run iRedAdmin manually?

cd /opt/www/iredadmin/
python3 iredadmin.py

7

Re: OpenBSD 7.0 to 7.1, iredadmin access error

Hi,

Sorry for the delay,

Yes, i can see an error when pkg_add -u after upgrade :

"collision in py3-pip-20.3-setuptools-57.4(...) -> py3-pip22.0.4+py3-setuptools-57.4(...)"

If i choose "N" -> error with the new py3 install, but iredadmin access is "ok".

If i choose "repair" -> "internal server error"
And :
cd /opt/www/iredadmin/
python3 iredadmin.py

--> no error

8

Re: OpenBSD 7.0 to 7.1, iredadmin access error

After upgraded all packages, please don't forget to install required Python modules from pypi required by iRedAdmin. It can easily fixed by downloading the latest iRedAdmin package (even you're already running the latest one) and run its upgrade script, you can use the script to help install required Python modules.

FYI https://docs.iredmail.org/migrate.or.up … admin.html

9

Re: OpenBSD 7.0 to 7.1, iredadmin access error

Thank's ! :-)