Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed parameter "url". #79

Closed
kodl opened this issue Mar 24, 2020 · 3 comments
Closed

Malformed parameter "url". #79

kodl opened this issue Mar 24, 2020 · 3 comments

Comments

@kodl
Copy link

kodl commented Mar 24, 2020

Describe the bug
During clear installation, web_1 container failed to start

To Reproduce
git clone

  • git@github.com:jeboehm/docker-mailserver.git
  • Copy the file .env.dist to .env
MYSQL_USER=mailserver
MYSQL_PASSWORD=*****
MYSQL_ROOT_PASSWORD=****
MAILNAME=mail.brilcode.cz
POSTMASTER=postmaster@brilcode.cz
RELAYHOST=false
FILTER_MIME=false
FILTER_VIRUS=true
ENABLE_IMAP=true
ENABLE_POP3=true
CONTROLLER_PASSWORD=****
WAITSTART_TIMEOUT=2m
  • bin/production.sh pull
  • bin/production.sh up -d
  • bin/production.sh logs -f

LOG:

...
filter_1  | 2020/03/24 09:45:22 Problem with dial: dial tcp 172.21.0.4:3310: getsockopt: connection refused. Sleeping 1s
mta_1     | 2020/03/24 09:45:22 Problem with dial: dial tcp 172.21.0.6:11332: getsockopt: connection refused. Sleeping 1s
web_1     | 2020/03/24 09:45:22 Problem with dial: dial tcp 172.21.0.2:25: getsockopt: connection refused. Sleeping 1s
...
filter_1  | 2020-03-24 09:45:27 #21(rspamd_proxy) <3a65c7>; milter; rspamd_milter_process_command: got connection from 172.21.0.7:42520
filter_1  | 2020-03-24 09:45:27 #21(rspamd_proxy) <3a65c7>; proxy; proxy_milter_finish_handler: finished milter connection
mta_1     | Mar 24 09:45:26 postfix/smtpd[40]: lost connection after CONNECT from docker-mailserver_web_1.docker-mailserver_default[172.21.0.7]
mta_1     | Mar 24 09:45:26 postfix/smtpd[40]: disconnect from docker-mailserver_web_1.docker-mailserver_default[172.21.0.7] commands=0/0
web_1     |
web_1     |  [WARNING] Some commands could not be registered:
web_1     |
web_1     | In DriverManager.php line 275:
web_1     |
web_1     |   Malformed parameter "url".
web_1     |
web_1     |
... repeat ...
web_1     | doctrine:migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--all-or-nothing [ALL-OR-NOTHING]] [--configuration [CONFIGURATION]] [--db-configuration [DB-CONFIGURATION]] [--db DB] [--em EM] [--shard SHARD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<version>]
web_1     |
docker-mailserver_web_1 exited with code 1

Expected behavior
should be installed and work correctly

Screenshots

Docker environment (please complete the following information):

  • Output of docker info
 Debug Mode: false

Server:
 Containers: 9
  Running: 1
  Paused: 0
  Stopped: 8
 Images: 10
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 4.15.0-88-generic
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.789GiB
 Name: vmi352656.contaboserver.net
 ID: ZCHB:FCUZ:G5ZY:NN6E:CC4E:C42G:A2KY:HZDD:KDKJ:OCBF:N6DT:GDDF
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support
  • Output of docker-compose version
docker-compose version 1.25.4, build 8d51620a
docker-py version: 4.1.0
CPython version: 3.7.5
OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019

Additional context
Add any other context about the problem here.

@kodl
Copy link
Author

kodl commented Mar 24, 2020

ps

docker-mailserver_filter_1   /usr/local/bin/entrypoint.sh     Up (healthy)     11332/tcp, 11334/tcp
docker-mailserver_mda_1      /usr/local/bin/entrypoint.sh     Up (healthy)     0.0.0.0:110->110/tcp, 0.0.0.0:143->143/tcp, 2003/tcp, 4190/tcp, 0.0.0.0:587->587/tcp, 0.0.0.0:993->993/tcp, 0.0.0.0:995->995/tcp
docker-mailserver_mta_1      /usr/local/bin/entrypoint.sh     Up (healthy)     0.0.0.0:25->25/tcp
docker-mailserver_ssl_1      /usr/local/bin/create_tls.sh     Exit 0
docker-mailserver_virus_1    /usr/local/bin/entrypoint.sh     Up (unhealthy)   3310/tcp
docker-mailserver_web_1      docker-php-entrypoint /usr ...   Exit 1

@jeboehm
Copy link
Owner

jeboehm commented Mar 31, 2020

Hi @kodl ,
I guess that there is the MYSQL_HOST environment variable missing. It seems that you are not using the original db service, do you?

@jeboehm
Copy link
Owner

jeboehm commented Jun 2, 2020

Was completely wrong here, because all services were healthy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants