Topic: iRedMail-1.6.8: unable to start iredapd: AttributeError: module 'colle
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer?: iRedMail Easy
- Linux/BSD distribution name and version: FreeBSD 14.0-RELEASE amd64
- 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.
====
Сlean iRedMail-1.6.8 installation. The 'iredapd' service does not start with an error:
% service iredapd start
Starting iredapd.
/opt/iredapd/iredapd.py:6: DeprecationWarning: The asyncore module is deprecated and will be removed in Python 3.12. The recommended replacement is asyncio
import asyncore
Traceback (most recent call last):
File "/opt/iredapd/iredapd.py", line 20, in <module>
from libs import __version__, daemon, utils
File "/opt/iRedAPD-5.3.3/libs/utils.py", line 18, in <module>
from sqlalchemy import create_engine
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/__init__.py", line 9, in <module>
from .sql import (
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/__init__.py", line 8, in <module>
from .expression import (
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/expression.py", line 31, in <module>
from .functions import func, modifier, FunctionElement, Function
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/functions.py", line 11, in <module>
from . import sqltypes, schema
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/sqltypes.py", line 16, in <module>
from .elements import quoted_name, type_coerce, _defer_name
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/elements.py", line 21, in <module>
from .base import Executable, PARSE_AUTOCOMMIT, Immutable, NO_ARG
File "/usr/local/lib/python3.10/site-packages/sqlalchemy/sql/base.py", line 49, in <module>
class _DialectArgView(collections.MutableMapping):
AttributeError: module 'collections' has no attribute 'MutableMapping'
% pkg info |grep py39
py39-acme-2.7.4,1 ACME protocol implementation in Python
py39-certbot-2.7.4,1 Let's Encrypt client
py39-certifi-2023.11.17 Mozilla SSL certificates
py39-cffi-1.16.0 Foreign Function Interface for Python calling C code
py39-charset-normalizer-3.3.2 Real First Universal Charset Detector
py39-configargparse-1.5.3 Drop-in replacement for argparse
py39-configobj-5.0.8 Simple but powerful config file reader and writer
py39-cryptography-41.0.7_1,1 Cryptographic recipes and primitives for Python developers
py39-distro-1.8.0_2 Linux OS platform information API
py39-idna-3.6 Internationalized Domain Names in Applications (IDNA)
py39-importlib-metadata-7.0.1 Read metadata from Python packages
py39-josepy-1.14.0 JOSE protocol implementation in Python
py39-openssl-23.2.0,1 Python interface to the OpenSSL library
py39-parsedatetime-2.6 Python module for parsing 'human readable' date/time expressions
py39-pycparser-2.21 C parser in Python
py39-pyrfc3339-1.1 Generate and parse RFC 3339 timestamps
py39-pysocks-1.7.1 Python SOCKS module
py39-pytz-2023.3,1 World Timezone Definitions for Python
py39-requests-2.31.0 Python HTTP for Humans
py39-setuptools-63.1.0_1 Python packages installer
py39-six-1.16.0 Python 2 and 3 compatibility utilities
py39-urllib3-1.26.18,1 HTTP library with thread-safe connection pooling, file post, and more
py39-zipp-3.17.0 Backport of pathlib-compatible object wrapper for zip files
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.