Skip to content

Problem during installation #2562

@nomeme

Description

@nomeme

I experienced some problems during installation where the installation script could not detect the mailinabox service running.

● mailinabox.service - Mail-in-a-Box System Management Service
     Loaded: loaded (/lib/systemd/system/mailinabox.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2026-03-14 19:31:45 CET; 1h 2min ago
   Main PID: 78388 (gunicorn)
      Tasks: 3 (limit: 4552)
     Memory: 62.5M
        CPU: 1.430s
     CGroup: /system.slice/mailinabox.service
             ├─78388 /usr/local/lib/mailinabox/env/bin/python /usr/local/lib/mailinabox/env/bin/gunicorn -b <external-ip>:10222 -w 1 --timeout 630 wsgi:app
             └─78398 /usr/local/lib/mailinabox/env/bin/python /usr/local/lib/mailinabox/env/bin/gunicorn -b <external-ip>:10222 -w 1 --timeout 630 wsgi:app

The setup script start.sh explicitly searches for 127.0.0.1.

# Wait for the management daemon to start...
until nc -z -w 4 127.0.0.1 10222
do
        echo "Waiting for the Mail-in-a-Box management daemon to start..."
        sleep 2
done

Therefore this could somehow not be resolved even though the service was actually running.
As I did not have more time to investigate, I hope someone has a better solution than this:

#2561

Kind regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions