1

Topic: Unable to access iredadmin after fresh install

1.3.1 MARIADB edition.
Installed via downloadable installer.
Debian 10
Nginx

I have just completed a fresh install on a clean Debian 10 server. On attempting to access the iredadmin page I get the message:
Internal Sever Error. I have looked at the logs and can find no errors.

2

Re: Unable to access iredadmin after fresh install

Any related error in /var/log/syslog? Or command out "service iredadmin status"?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: Unable to access iredadmin after fresh install

Ok, I wasn't aware of iredadmin running as a service. Thought it was just a webapp running under nginx. Looks like it tossed an error.

● iredadmin.service - iRedAdmin daemon service
   Loaded: loaded (/lib/systemd/system/iredadmin.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2020-07-30 17:55:00 EDT; 16h ago
  Process: 440 ExecStartPre=/bin/mkdir -p /var/run/iredadmin (code=exited, status=0/SUCCESS)
  Process: 447 ExecStartPre=/bin/chown iredadmin:iredadmin /var/run/iredadmin (code=exited, status=0/SUCCESS)
  Process: 460 ExecStartPre=/bin/chmod 0755 /var/run/iredadmin (code=exited, status=0/SUCCESS)
Main PID: 463 (uwsgi)
    Tasks: 6 (limit: 2347)
   Memory: 5.7M
   CGroup: /system.slice/iredadmin.service
           ├─463 /usr/bin/uwsgi --ini /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini --pidfile /var/run/iredadmin/iredadmin.pid
           ├─498 /usr/bin/uwsgi --ini /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini --pidfile /var/run/iredadmin/iredadmin.pid
           ├─499 /usr/bin/uwsgi --ini /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini --pidfile /var/run/iredadmin/iredadmin.pid
           ├─500 /usr/bin/uwsgi --ini /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini --pidfile /var/run/iredadmin/iredadmin.pid
           ├─501 /usr/bin/uwsgi --ini /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini --pidfile /var/run/iredadmin/iredadmin.pid
           └─502 /usr/bin/uwsgi --ini /opt/www/iredadmin/rc_scripts/uwsgi/debian.ini --pidfile /var/run/iredadmin/iredadmin.pid

Jul 30 18:32:23 mailserv uwsgi[463]:   File "/opt/www/iRedAdmin-1.0/libs/iredbase.py", line 7, in <module>
Jul 30 18:32:23 mailserv uwsgi[463]:
Jul 30 18:32:23 mailserv uwsgi[463]: import web
Jul 30 18:32:23 mailserv uwsgi[463]: ImportError
Jul 30 18:32:23 mailserv uwsgi[463]: :
Jul 30 18:32:23 mailserv uwsgi[463]: No module named web
Jul 30 18:32:23 mailserv uwsgi[463]:
Jul 30 18:32:23 mailserv uwsgi[463]: unable to load app 0 (mountpoint='192.168.5.6|/iredadmin') (callable not found or import error)
Jul 30 18:32:23 mailserv uwsgi[463]: --- no python application found, check your startup logs for errors ---
Jul 30 18:32:23 mailserv uwsgi[463]: 192.168.5.6 [pid: 501|app: -1|req: -1/3] 192.168.5.101 () {62 vars in 1028 bytes} [Thu Jul 30 18:32:23 2020] GET /iredadmin/ => generated 21 bytes in 13 msecs (HTTP/1.1

4

Re: Unable to access iredadmin after fresh install

Run commands below to fix it:

pip2 install web.py==0.51 pymysql 
service iredadmin restart

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

5

Re: Unable to access iredadmin after fresh install

That appears to have fixed it. Any ideas as to why that wouldn't have been done in the install script? Thanks for the assist.

6

Re: Unable to access iredadmin after fresh install

Did you capture the console output of iRedMail installation? I guess something wrong during installation.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

7

Re: Unable to access iredadmin after fresh install

1.3.1 MARIADB edition.
Installed via downloadable installer.
FreeBSD 12.1-RELEASE-p7 fresh install
Nginx

I have just completed a fresh install on a clean FreeBSD 12.1-RELEASE-p7 server. On attempting to access the iredadmin page I get the message:
Internal Sever Error.

No errors were seen during the install I do have a /usr/local/www/iredadmin -> /usr/local/www/iRedAdmin-1.0

8

Re: Unable to access iredadmin after fresh install

Re: Unable to access iredadmin after fresh install

1.3.1 OpenLDAP edition CentOS 8
If install via downloadable installer 502 error on /iredadmin

If install via GitHub /iredmail after login "intrnat server error"

Help please. Thanks in advance.

9

Re: Unable to access iredadmin after fresh install

neilg wrote:

1.3.1 MARIADB edition.
Installed via downloadable installer.
FreeBSD 12.1-RELEASE-p7 fresh

freebsd is currently broken as mentioned in release notes. I’m afraid that you have to run iRedMail-1.3.1 on FreeBSD without iRedAdmin(-Pro), or wait for some more days.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

10

Re: Unable to access iredadmin after fresh install

corsair wrote:

Re: Unable to access iredadmin after fresh install

1.3.1 OpenLDAP edition CentOS 8
If install via downloadable installer 502 error on /iredadmin

If install via GitHub /iredmail after login "intrnat server error"

Help please. Thanks in advance.

any error on console during installation?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

11

Re: Unable to access iredadmin after fresh install

RE: any error on console during installation?

Then install via downloadable installer error with uswgi setup. No errors then GitHub but in logs uswgi could not connect to port.
I think problem with uwsgi

12

Re: Unable to access iredadmin after fresh install

ZhangHuangbin wrote:
neilg wrote:

1.3.1 MARIADB edition.
Installed via downloadable installer.
FreeBSD 12.1-RELEASE-p7 fresh

freebsd is currently broken as mentioned in release notes. I’m afraid that you have to run iRedMail-1.3.1 on FreeBSD without iRedAdmin(-Pro), or wait for some more days.

Any idea how many days approximately? I only ask so that I can decide whether to use a different O/S or a different mail solution.

13

Re: Unable to access iredadmin after fresh install

- If you don't need iRedAdmin(-Pro), then iRedMail-1.3.1 works on FreeBSD.
- We have no ETA right now, but working hard on it. Sorry.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee