Docker Installation Horde Fehler / klappt nicht

virtualization
german

#1

Hallo,

ich versuche mich gerade daran, Horde als Docker APP zu installieren. Die Installation bricht aber mit dem/den nachfolgenden Fehlermeldungen ab :frowning:
Hat da jemand eine Ahnung was das sein könnte?
Nicht über die xxx im Domänenname wundern, wurde absichtlich so maskiert
Der Server ist auf dem aktuellsten Patchlevel 4.1.4-359
Ich werde aus der Fehlermeldung nicht wirklich schlau…

Command '['docker', 'create', '--hostname', 'horde-1481797268138086', '-e', 'update_secure_apt=no', '-e', 'UPDATE_SECURE_APT=no', '-e', 'repository_app_center_server=appcenter.software-univention.de', '-e', 'REPOSITORY_APP_CENTER_SERVER=appcenter.software-univention.de', '-e', u'server_role=memberserver', '-e', u'SERVER_ROLE=memberserver', '-e', 'locale=en_US.UTF-8:UTF-8 de_DE.UTF-8:UTF-8', '-e', 'LOCALE=en_US.UTF-8:UTF-8 de_DE.UTF-8:UTF-8', '-e', u'db_port=5432', '-e', u'DB_PORT=5432', '-e', 'updater_identify=Docker App', '-e', 'UPDATER_IDENTIFY=Docker App', '-e', 'domainname=xxxx-datentechnik.de', '-e', 'DOMAINNAME=xxxx-datentechnik.de', '-e', u'ldap_hostdn=cn=horde-1481797268138086,cn=memberserver,cn=computers,dc=xxxx-datentechnik,dc=de', '-e', u'LDAP_HOSTDN=cn=horde-1481797268138086,cn=memberserver,cn=computers,dc=xxxx-datentechnik,dc=de', '-e', u'db_user=horde', '-e', u'DB_USER=horde', '-e', 'nameserver_option_timeout=2', '-e', 'NAMESERVER_OPTION_TIMEOUT=2', '-e', u'db_password=ade1d7d881f919f5d3bd85fccaf50824647cd1f60c33e2d5f228dd75bc92732b', '-e', u'DB_PASSWORD=ade1d7d881f919f5d3bd85fccaf50824647cd1f60c33e2d5f228dd75bc92732b', '-e', 'postgres8_autostart=no', '-e', 'POSTGRES8_AUTOSTART=no', '-e', 'update_warning_releasenotes=no', '-e', 'UPDATE_WARNING_RELEASENOTES=no', '-e', 'repository_online_server=https://updates.software-univention.de/', '-e', 'REPOSITORY_ONLINE_SERVER=https://updates.software-univention.de/', '-e', 'locale_default=de_DE.UTF-8:UTF-8', '-e', 'LOCALE_DEFAULT=de_DE.UTF-8:UTF-8', '-e', u'db_name=hordedb', '-e', u'DB_NAME=hordedb', '-e', 'ldap_master=odin.xxxxx-datentechnik.de', '-e', 'LDAP_MASTER=odin.xxxxxx-datentechnik.de', '-e', 'nameserver_external=false', '-e', 'NAMESERVER_EXTERNAL=false', '-e', 'horde_testdisable=True', '-e', 'HORDE_TESTDISABLE=True', '-e', 'nameserver1=192.168.1.1', '-e', 'NAMESERVER1=192.168.1.1', '-e', 'docker_host_name=odin.xxxxx-datentechnik.de', '-e', 'DOCKER_HOST_NAME=odin.xxxxxx-datentechnik.de', '-e', u'db_host=172.17.42.1', '-e', u'DB_HOST=172.17.42.1', '-e', 'ldap_master_port=7389', '-e', 'LDAP_MASTER_PORT=7389', '-e', 'horde_mailer_params_port=587', '-e', 'HORDE_MAILER_PARAMS_PORT=587', '-p', '40000:80', '-p', '40001:443', '-v', u'/var/lib/univention-appcenter/apps/horde/logs/apache2:/var/log/apache2', '-v', u'/var/lib/univention-appcenter/apps/horde/logs/horde:/var/log/horde', '-v', u'/var/lib/univention-appcenter/apps/horde/data:/var/lib/univention-appcenter/apps/horde/data', '-v', u'/var/lib/univention-appcenter/apps/horde/conf:/var/lib/univention-appcenter/apps/horde/conf', 'docker.software-univention.de/ucs-appbox-amd64:4.1-3', '/sbin/init']' returned non-zero exit status 1
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 191, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 67, in main
    return self.do_it(args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 109, in do_it
    self._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 65, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 82, in _do_it
    if self._install_app(app, args):
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 59, in _install_app
    self._start_docker_image(app, hostdn, password, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 200, in _start_docker_image
    container = docker.create(hostname, set_vars)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/docker.py", line 314, in create
    container = create(self.image, command, hostname, env, ports, volumes, env_file, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/docker.py", line 205, in create
    return check_output(['docker', 'create'] + _args + [image] + command).strip()
  File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['docker', 'create', '--hostname', 'horde-1481797268138086', '-e', 'update_secure_apt=no', '-e', 'UPDATE_SECURE_APT=no', '-e', 'repository_app_center_server=appcenter.software-univention.de', '-e', 'REPOSITORY_APP_CENTER_SERVER=appcenter.software-univention.de', '-e', u'server_role=memberserver', '-e', u'SERVER_ROLE=memberserver', '-e', 'locale=en_US.UTF-8:UTF-8 de_DE.UTF-8:UTF-8', '-e', 'LOCALE=en_US.UTF-8:UTF-8 de_DE.UTF-8:UTF-8', '-e', u'db_port=5432', '-e', u'DB_PORT=5432', '-e', 'updater_identify=Docker App', '-e', 'UPDATER_IDENTIFY=Docker App', '-e', 'domainname=xxxxxx-datentechnik.de', '-e', 'DOMAINNAME=xxxx-datentechnik.de', '-e', u'ldap_hostdn=cn=horde-1481797268138086,cn=memberserver,cn=computers,dc=xxxxx-datentechnik,dc=de', '-e', u'LDAP_HOSTDN=cn=horde-1481797268138086,cn=memberserver,cn=computers,dc=xxxxx-datentechnik,dc=de', '-e', u'db_user=horde', '-e', u'DB_USER=horde', '-e', 'nameserver_option_timeout=2', '-e', 'NAMESERVER_OPTION_TIMEOUT=2', '-e', u'db_password=ade1d7d881f919f5d3bd85fccaf50824647cd1f60c33e2d5f228dd75bc92732b', '-e', u'DB_PASSWORD=ade1d7d881f919f5d3bd85fccaf50824647cd1f60c33e2d5f228dd75bc92732b', '-e', 'postgres8_autostart=no', '-e', 'POSTGRES8_AUTOSTART=no', '-e', 'update_warning_releasenotes=no', '-e', 'UPDATE_WARNING_RELEASENOTES=no', '-e', 'repository_online_server=https://updates.software-univention.de/', '-e', 'REPOSITORY_ONLINE_SERVER=https://updates.software-univention.de/', '-e', 'locale_default=de_DE.UTF-8:UTF-8', '-e', 'LOCALE_DEFAULT=de_DE.UTF-8:UTF-8', '-e', u'db_name=hordedb', '-e', u'DB_NAME=hordedb', '-e', 'ldap_master=odin.xxxxxx-datentechnik.de', '-e', 'LDAP_MASTER=odin.xxxxxx-datentechnik.de', '-e', 'nameserver_external=false', '-e', 'NAMESERVER_EXTERNAL=false', '-e', 'horde_testdisable=True', '-e', 'HORDE_TESTDISABLE=True', '-e', 'nameserver1=192.168.1.1', '-e', 'NAMESERVER1=192.168.1.1', '-e', 'docker_host_name=odin.xxxxxxx-datentechnik.de', '-e', 'DOCKER_HOST_NAME=odin.xxxxx-datentechnik.de', '-e', u'db_host=172.17.42.1', '-e', u'DB_HOST=172.17.42.1', '-e', 'ldap_master_port=7389', '-e', 'LDAP_MASTER_PORT=7389', '-e', 'horde_mailer_params_port=587', '-e', 'HORDE_MAILER_PARAMS_PORT=587', '-p', '40000:80', '-p', '40001:443', '-v', u'/var/lib/univention-appcenter/apps/horde/logs/apache2:/var/log/apache2', '-v', u'/var/lib/univention-appcenter/apps/horde/logs/horde:/var/log/horde', '-v', u'/var/lib/univention-appcenter/apps/horde/data:/var/lib/univention-appcenter/apps/horde/data', '-v', u'/var/lib/univention-appcenter/apps/horde/conf:/var/lib/univention-appcenter/apps/horde/conf', 'docker.software-univention.de/ucs-appbox-amd64:4.1-3', '/sbin/init']' returned non-zero exit status 1
Traceback (most recent call last):
  File "/usr/bin/univention-app", line 90, in <module>
    main()
  File "/usr/bin/univention-app", line 77, in main
    ret = args.func(args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/__init__.py", line 191, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 67, in main
    return self.do_it(args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install_base.py", line 109, in do_it
    self._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 65, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/install.py", line 82, in _do_it
    if self._install_app(app, args):
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_install.py", line 59, in _install_app
    self._start_docker_image(app, hostdn, password, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/actions/docker_base.py", line 200, in _start_docker_image
    container = docker.create(hostname, set_vars)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/docker.py", line 314, in create
    container = create(self.image, command, hostname, env, ports, volumes, env_file, args)
  File "/usr/lib/pymodules/python2.7/univention/appcenter/docker.py", line 205, in create
    return check_output(['docker', 'create'] + _args + [image] + command).strip()
  File "/usr/lib/python2.7/subprocess.py", line 544, in check_output
    raise CalledProcessError(retcode, cmd, output=output)

#2

Ich denke mal, hier geht es schief:

Digest: sha256:783946bce673ce72ed6735a7f548440cb6f13ac019a5979684a3c0763b12c209
Status: Image is up to date for docker.software-univention.de/ucs-appbox-amd64:4.1-3
Initializing app image
time="2016-12-15T14:49:09+01:00" level=fatal msg="Error response from daemon: error creating overlay mount to /var/lib/docker/overlay/6492e5db20ca2fb221b3f2fa2d148144dee51c04bb8d81ffbe3b5f9561243703-init/merged: invalid argument" 
Going to remove Horde Groupware Webmail Edition (5.2.7-3)

#3

und DAS:

egistering the container host horde-1481810569436287 for horde
Verifying Docker registry manifest for app image docker.software-univention.de/ucs-appbox-amd64:4.1-3
Downloading app image docker.software-univention.de/ucs-appbox-amd64:4.1-3
4.1-3: Pulling from docker.software-univention.de/ucs-appbox-amd64
11dfab8a205f: Already exists 
cf7e803d70a6: Already exists 
26f7f1e0de46: Already exists 
964dd49306b2: Already exists 
Digest: sha256:783946bce673ce72ed6735a7f548440cb6f13ac019a5979684a3c0763b12c209
Status: Image is up to date for docker.software-univention.de/ucs-appbox-amd64:4.1-3
Initializing app image
Unable to find image 'docker.software-univention.de/ucs-appbox-amd64:4.1-3' locally
4.1-3: Pulling from docker.software-univention.de/ucs-appbox-amd64
11dfab8a205f: Already exists
cf7e803d70a6: Already exists
26f7f1e0de46: Already exists
964dd49306b2: Already exists
964dd49306b2: Already exists
Digest: sha256:783946bce673ce72ed6735a7f548440cb6f13ac019a5979684a3c0763b12c209
Status: Image is up to date for docker.software-univention.de/ucs-appbox-amd64:4.1-3
time="2016-12-15T15:02:52+01:00" level=fatal msg="Error response from daemon: No such image: docker.software-univention.de/ucs-appbox-amd64:4.1-3 (tag: 4.1-3)" 
Going to remove Horde Groupware Webmail Edition (5.2.7-3)

#4

Hallo zash,

liegt da evtl. etwa in “/var/lib/docker/tmp” ? Wenn ja kannst du ja mal versuchen das zu löschen.

MfG
Gronkdalonka


#5

/var/lib/docker/tmp

ist “leider” komplett leer