1

Topic: FreeBSD 12,1 install error

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

Iredmail 1.3.1
FreeBSD 12.1 Release
MySQL/  MariaDB


I noticed at the end of iredmail install 1.3.1  @ webpy part  errors !

How to Fix ?

----

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

2

Re: FreeBSD 12,1 install error

This is the message , afterward it doesn't continue installation / configuration  :

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 7, in <module>
    from web import __version__
  File "web/__init__.py", line 4, in <module>
    from . import (  # noqa: F401
  File "web/db.py", line 771
    print("ERR:", str(sql_query), file=debug)
                                      ^
SyntaxError: invalid syntax
*** Error code 1

Stop.
make: stopped in /usr/ports/www/webpy
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.

3

Re: FreeBSD 12,1 install error

# cd /usr/ports/www/webpy/work-py27
# mv web.py-0.61 web.py-0.61bak
# wget  https://github.com/webpy/webpy/archive/0.51.zip
# unzip  0.51.zip
# mv webpy-0.51 web.py-0.61
# cd /root/iRedMail-1.3.1
# bash iRedMail.sh

请按以上步骤执行即可

4

Re: FreeBSD 12,1 install error

You might also find that you cannot login at rouncube. For some reason install does not set the password for postmaster, you will need to update password manually.

root@127.0.0.1 [(none)]> use vmail
Database changed
root@127.0.0.1 [vmail]> select password from mailbox;
+----------+
| password |
+----------+
|          |
+----------+
1 row in set (0.000 sec)