Web UI just displays "Nothing to see here"
Tag/version of Container Images Choose from: 0.3
After following the setup instructions in the README and starting from the docker-compose-postorious.yaml, I just get the message "Nothing to see here." when I try to access http://localhost:8000.
I was expecting to see a Mailman UI — could somebody please tell me what I have done wrong here?
docker-compose.yml
version: '2'
services:
mailman-core:
image: maxking/mailman-core:0.3
container_name: mailman-core
hostname: mailman-core
volumes:
- ./config/core:/opt/mailman/
stop_grace_period: 30s
links:
- database:database
depends_on:
- database
environment:
- DATABASE_URL=postgres://mailman:REDACTED@database/mailmandb
- DATABASE_TYPE=postgres
- DATABASE_CLASS=mailman.database.postgresql.PostgreSQLDatabase
- HYPERKITTY_API_KEY=REDACTED
networks:
mailman:
ipv4_address: 172.19.199.2
mailman-web:
image: maxking/postorius:0.3
container_name: mailman-web
hostname: mailman-web
depends_on:
- database
links:
- mailman-core:mailman-core
- database:database
volumes:
- ./config/web:/opt/mailman-web-data
environment:
- MAILMAN_ADMIN_USER=admin
- [email protected]
- DATABASE_TYPE=postgres
- DATABASE_URL=postgres://mailman:REDACTED@database/mailmandb
- HYPERKITTY_API_KEY=REDACTED
- SECRET_KEY=REDACTED
- UWSGI_STATIC_MAP=/static=/opt/mailman-web-data/static
- SERVE_FROM_DOMAIN=mydomain.example.com
networks:
mailman:
ipv4_address: 172.19.199.3
database:
environment:
POSTGRES_DB: mailmandb
POSTGRES_USER: mailman
POSTGRES_PASSWORD: REDACTED
restart: always
image: postgres:9.6-alpine
volumes:
- ./config/database:/var/lib/postgresql/data
networks:
mailman:
ipv4_address: 172.19.199.4
networks:
mailman:
driver: bridge
ipam:
driver: default
config:
-
subnet: 172.19.199.0/24
docker-compose log mailman-web
Attaching to mailman-web
mailman-web | psql: could not connect to server: Connection refused
mailman-web | Is the server running on host "database" (172.19.199.4) and accepting
mailman-web | TCP/IP connections on port 5432?
mailman-web | Postgres is unavailable - sleeping
mailman-web | psql: could not connect to server: Connection refused
mailman-web | Is the server running on host "database" (172.19.199.4) and accepting
mailman-web | TCP/IP connections on port 5432?
mailman-web | Postgres is unavailable - sleeping
mailman-web | psql: could not connect to server: Connection refused
mailman-web | Is the server running on host "database" (172.19.199.4) and accepting
mailman-web | TCP/IP connections on port 5432?
mailman-web | Postgres is unavailable - sleeping
mailman-web | psql: could not connect to server: Connection refused
mailman-web | Is the server running on host "database" (172.19.199.4) and accepting
mailman-web | TCP/IP connections on port 5432?
mailman-web | Postgres is unavailable - sleeping
mailman-web | psql: could not connect to server: Connection refused
mailman-web | Is the server running on host "database" (172.19.199.4) and accepting
mailman-web | TCP/IP connections on port 5432?
mailman-web | Postgres is unavailable - sleeping
mailman-web | psql: could not connect to server: Connection refused
mailman-web | Is the server running on host "database" (172.19.199.4) and accepting
mailman-web | TCP/IP connections on port 5432?
mailman-web | Postgres is unavailable - sleeping
mailman-web | List of databases
mailman-web | Name | Owner | Encoding | Collate | Ctype | Access privileges
mailman-web | -----------+-------------+----------+------------+------------+-----------------------------
mailman-web | mailmandb | mailman | UTF8 | en_US.utf8 | en_US.utf8 |
mailman-web | postgres | mailman | UTF8 | en_US.utf8 | en_US.utf8 |
mailman-web | template0 | mailman | UTF8 | en_US.utf8 | en_US.utf8 | =c/mailman +
mailman-web | | | | | | mailman=CTc/mailman
mailman-web | template1 | mailman | UTF8 | en_US.utf8 | en_US.utf8 | =c/mailman +
mailman-web | | | | | | mailman=CTc/mailman
mailman-web | (4 rows)
mailman-web |
mailman-web | Postgres is up - continuing
mailman-web | Copying settings_local.py ...
mailman-web |
mailman-web | 0 static files copied to '/opt/mailman-web-data/static', 150 unmodified.
mailman-web | Operations to perform:
mailman-web | Apply all migrations: account, admin, auth, contenttypes, django_mailman3, openid, postorius, sessions, sites, socialaccount
mailman-web | Running migrations:
mailman-web | Applying contenttypes.0001_initial... OK
mailman-web | Applying auth.0001_initial... OK
mailman-web | Applying account.0001_initial... OK
mailman-web | Applying account.0002_email_max_length... OK
mailman-web | Applying admin.0001_initial... OK
mailman-web | Applying admin.0002_logentry_remove_auto_add... OK
mailman-web | Applying admin.0003_logentry_add_action_flag_choices... OK
mailman-web | Applying contenttypes.0002_remove_content_type_name... OK
mailman-web | Applying auth.0002_alter_permission_name_max_length... OK
mailman-web | Applying auth.0003_alter_user_email_max_length... OK
mailman-web | Applying auth.0004_alter_user_username_opts... OK
mailman-web | Applying auth.0005_alter_user_last_login_null... OK
mailman-web | Applying auth.0006_require_contenttypes_0002... OK
mailman-web | Applying auth.0007_alter_validators_add_error_messages... OK
mailman-web | Applying auth.0008_alter_user_username_max_length... OK
mailman-web | Applying auth.0009_alter_user_last_name_max_length... OK
mailman-web | Applying auth.0010_alter_group_name_max_length... OK
mailman-web | Applying auth.0011_update_proxy_permissions... OK
mailman-web | Applying sites.0001_initial... OK
mailman-web | Applying django_mailman3.0001_initial... OK
mailman-web | Applying django_mailman3.0002_maildomain... OK
mailman-web | Applying openid.0001_initial... OK
mailman-web | Applying postorius.0001_initial... OK
mailman-web | Applying postorius.0002_auto_20160210_0721... OK
mailman-web | Applying postorius.0003_drop_addressconfirmationprofile... OK
mailman-web | Applying postorius.0004_create_email_template... OK
mailman-web | Applying postorius.0005_auto_20180707_1107... OK
mailman-web | Applying postorius.0006_auto_20180711_1359... OK
mailman-web | Applying postorius.0007_auto_20180712_0536... OK
mailman-web | Applying postorius.0008_auto_20190310_0717... OK
mailman-web | Applying postorius.0009_auto_20190508_1604... OK
mailman-web | Applying postorius.0010_auto_20190821_0621... OK
mailman-web | Applying postorius.0011_auto_20191109_1219... OK
mailman-web | Applying sessions.0001_initial... OK
mailman-web | Applying sites.0002_alter_domain_unique... OK
mailman-web | Applying socialaccount.0001_initial... OK
mailman-web | Applying socialaccount.0002_token_max_lengths... OK
mailman-web | Applying socialaccount.0003_extra_data_default_dict... OK
mailman-web | Creating admin user admin ...
mailman-web | Superuser created successfully.
mailman-web | Setting mydomain.example.com as the default domain ...
mailman-web | [uWSGI] getting INI configuration from /opt/mailman-web/uwsgi.ini
mailman-web | [uwsgi-static] added mapping for /static => /opt/mailman-web-data/static
config/web/settings_local.py
# -*- coding: utf-8 -*-
LANGUAGE_CODE = 'en-gb'
TIME_ZONE = 'Europe/London'
SOCIALACCOUNT_PROVIDERS = {}
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'mail.mydomain.example.com'
EMAIL_PORT = 25```
</details>
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
Check at
Http://172.19.199.3:8000
On Sat, Aug 1, 2020, at 3:17 AM, John Yeates wrote:
Tag/version of Container Images Choose from: 0.3
After following the setup instructions in the README and starting from the
docker-compose-postorious.yaml, I just get the message "Nothing to see here." when I try to access http://localhost:8000.
I was expecting to see a Mailman UI — could somebody please tell me what I have done wrong here?
docker-compose.yml `version: '2'
services: mailman-core: image: maxking/mailman-core:0.3 container_name: mailman-core hostname: mailman-core volumes: - ./config/core:/opt/mailman/ stop_grace_period: 30s links: - database:database depends_on: - database environment: - DATABASE_URL=postgres://mailman:REDACTED@database/mailmandb - DATABASE_TYPE=postgres - DATABASE_CLASS=mailman.database.postgresql.PostgreSQLDatabase - HYPERKITTY_API_KEY=REDACTED networks: mailman: ipv4_address: 172.19.199.2
mailman-web: image: maxking/postorius:0.3 container_name: mailman-web hostname: mailman-web depends_on: - database links: - mailman-core:mailman-core - database:database volumes: - ./config/web:/opt/mailman-web-data environment: - MAILMAN_ADMIN_USER=admin - [email protected] - DATABASE_TYPE=postgres - DATABASE_URL=postgres://mailman:REDACTED@database/mailmandb - HYPERKITTY_API_KEY=REDACTED - SECRET_KEY=REDACTED - UWSGI_STATIC_MAP=/static=/opt/mailman-web-data/static - SERVE_FROM_DOMAIN=mydomain.example.com networks: mailman: ipv4_address: 172.19.199.3
database: environment: POSTGRES_DB: mailmandb POSTGRES_USER: mailman POSTGRES_PASSWORD: REDACTED restart: always image: postgres:9.6-alpine volumes: - ./config/database:/var/lib/postgresql/data networks: mailman: ipv4_address: 172.19.199.4
networks: mailman: driver: bridge ipam: driver: default config: - subnet: 172.19.199.0/24 `
docker-compose log mailman-web
Attaching to mailman-web mailman-web | psql: could not connect to server: Connection refused mailman-web | Is the server running on host "database" (172.19.199.4) and accepting mailman-web | TCP/IP connections on port 5432? mailman-web | Postgres is unavailable - sleeping mailman-web | psql: could not connect to server: Connection refused mailman-web | Is the server running on host "database" (172.19.199.4) and accepting mailman-web | TCP/IP connections on port 5432? mailman-web | Postgres is unavailable - sleeping mailman-web | psql: could not connect to server: Connection refused mailman-web | Is the server running on host "database" (172.19.199.4) and accepting mailman-web | TCP/IP connections on port 5432? mailman-web | Postgres is unavailable - sleeping mailman-web | psql: could not connect to server: Connection refused mailman-web | Is the server running on host "database" (172.19.199.4) and accepting mailman-web | TCP/IP connections on port 5432? mailman-web | Postgres is unavailable - sleeping mailman-web | psql: could not connect to server: Connection refused mailman-web | Is the server running on host "database" (172.19.199.4) and accepting mailman-web | TCP/IP connections on port 5432? mailman-web | Postgres is unavailable - sleeping mailman-web | psql: could not connect to server: Connection refused mailman-web | Is the server running on host "database" (172.19.199.4) and accepting mailman-web | TCP/IP connections on port 5432? mailman-web | Postgres is unavailable - sleeping mailman-web | List of databases mailman-web | Name | Owner | Encoding | Collate | Ctype | Access privileges mailman-web | -----------+-------------+----------+------------+------------+----------------------------- mailman-web | mailmandb | mailman | UTF8 | en_US.utf8 | en_US.utf8 | mailman-web | postgres | mailman | UTF8 | en_US.utf8 | en_US.utf8 | mailman-web | template0 | mailman | UTF8 | en_US.utf8 | en_US.utf8 | =c/mailman + mailman-web | | | | | | mailman=CTc/mailman mailman-web | template1 | mailman | UTF8 | en_US.utf8 | en_US.utf8 | =c/mailman + mailman-web | | | | | | mailman=CTc/mailman mailman-web | (4 rows) mailman-web | mailman-web | Postgres is up - continuing mailman-web | Copying settings_local.py ... mailman-web | mailman-web | 0 static files copied to '/opt/mailman-web-data/static', 150 unmodified. mailman-web | Operations to perform: mailman-web | Apply all migrations: account, admin, auth, contenttypes, django_mailman3, openid, postorius, sessions, sites, socialaccount mailman-web | Running migrations: mailman-web | Applying contenttypes.0001_initial... OK mailman-web | Applying auth.0001_initial... OK mailman-web | Applying account.0001_initial... OK mailman-web | Applying account.0002_email_max_length... OK mailman-web | Applying admin.0001_initial... OK mailman-web | Applying admin.0002_logentry_remove_auto_add... OK mailman-web | Applying admin.0003_logentry_add_action_flag_choices... OK mailman-web | Applying contenttypes.0002_remove_content_type_name... OK mailman-web | Applying auth.0002_alter_permission_name_max_length... OK mailman-web | Applying auth.0003_alter_user_email_max_length... OK mailman-web | Applying auth.0004_alter_user_username_opts... OK mailman-web | Applying auth.0005_alter_user_last_login_null... OK mailman-web | Applying auth.0006_require_contenttypes_0002... OK mailman-web | Applying auth.0007_alter_validators_add_error_messages... OK mailman-web | Applying auth.0008_alter_user_username_max_length... OK mailman-web | Applying auth.0009_alter_user_last_name_max_length... OK mailman-web | Applying auth.0010_alter_group_name_max_length... OK mailman-web | Applying auth.0011_update_proxy_permissions... OK mailman-web | Applying sites.0001_initial... OK mailman-web | Applying django_mailman3.0001_initial... OK mailman-web | Applying django_mailman3.0002_maildomain... OK mailman-web | Applying openid.0001_initial... OK mailman-web | Applying postorius.0001_initial... OK mailman-web | Applying postorius.0002_auto_20160210_0721... OK mailman-web | Applying postorius.0003_drop_addressconfirmationprofile... OK mailman-web | Applying postorius.0004_create_email_template... OK mailman-web | Applying postorius.0005_auto_20180707_1107... OK mailman-web | Applying postorius.0006_auto_20180711_1359... OK mailman-web | Applying postorius.0007_auto_20180712_0536... OK mailman-web | Applying postorius.0008_auto_20190310_0717... OK mailman-web | Applying postorius.0009_auto_20190508_1604... OK mailman-web | Applying postorius.0010_auto_20190821_0621... OK mailman-web | Applying postorius.0011_auto_20191109_1219... OK mailman-web | Applying sessions.0001_initial... OK mailman-web | Applying sites.0002_alter_domain_unique... OK mailman-web | Applying socialaccount.0001_initial... OK mailman-web | Applying socialaccount.0002_token_max_lengths... OK mailman-web | Applying socialaccount.0003_extra_data_default_dict... OK mailman-web | Creating admin user admin ... mailman-web | Superuser created successfully. mailman-web | Setting mydomain.example.com as the default domain ... mailman-web | [uWSGI] getting INI configuration from /opt/mailman-web/uwsgi.ini mailman-web | [uwsgi-static] added mapping for /static => /opt/mailman-web-data/staticconfig/web/settings_local.py `# -- coding: utf-8 --
LANGUAGE_CODE = 'en-gb'
TIME_ZONE = 'Europe/London'
SOCIALACCOUNT_PROVIDERS = {}
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'mail.mydomain.example.com' EMAIL_PORT = 25```
`
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/maxking/docker-mailman/issues/388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFC5VIDFT6D6TCQZZUDXFLR6PTVFANCNFSM4PRT2GCQ.
-- thanks, Abhilash Raj (maxking)
Connection refused when trying to connect to http://172.19.199.3:8000/ — surely that IP is only accessible from inside one of the containers? I'm trying to access the UI from a browser on my desktop system…
No, that IP is accessible from the Host since it is a bridge network created by Docker on the system you are running. If the services are running correctly, that IP should be reachable on the host at 8000. We don't bind to host port, because of which, the services aren't accessible at localhost/127.0.0.1
Closing due to inactivity.