Topic Resolution: Answered

Schlagwörter: 

Ansicht von 5 Antwort-Themen
  • Autor
    Beiträge
    • #31269
      Answered
      dgi
      Teilnehmer

        Hallo zusammen,

        bei meinem Versuch Otobo latest zu installieren, bin ich auf genau den folgenden Fehler gestoßen:

        failed to register layer”>otobo:latest-11_0 -> failed to register layer

        Ich verstehe aber nicht wie das Problem gelöst wurde oder werden kann. Ich bin für Hilfe dankbar.

        Beste Grüße

        Daniel

      • #31288
        bes
        Teilnehmer

          Hallo Daniel,

          ich vermute dass du in ein bekanntes Problem gelaufen bist. Die Ursache scheinen seltsame User-IDs zu sein die bei der Installation von Perl-Paketen auftreten. Dabei handelt es sich nur um temporäre Dateien die im endgültigen Docker-Image nicht gebraucht werden. Deshalb war der Ansatz dass man diese temporären Dateien während des Baus des Images löscht. Dies scheint aber nicht verlässlich zu funktionieren. Siehe https://github.com/RotherOSS/otobo-docker/issues/136 und https://github.com/RotherOSS/otobo/issues/3494 .

          Im Entwicklungszweig für OTOBO 11.0.4 ist ein Ansatz für einen Fix enthalten. Dieser ist aber noch ungetestet. Das Problem ist dass der Effekt anscheinend nur in bestimmten Umgebungen auftritt. Könntest du als Test in der .env Datei die Zeile 72:

          #OTOBO_IMAGE_OTOBO=rotheross/otobo:devel-rel-11_0

          einkommentieren? Also das Komentarzeichen # entfernen? Damit sollte eine Testversion verwendet werden bei der das Problem nicht auftritt.

          Viele Grüße,

          Bernhard Schmalhofer

           

           

           

           

           

           

           

        • #31289
          dgi
          Teilnehmer

            Hallo Bernhard,

            vielen Dank für Deine Antwort. Ich habe das heute morgen gleich versucht. Leider ohne Erfolg.

            Hier mal die Ausgabe:

            dockeradmin:~/otobo-docker$ docker-compose up --detach
            Creating network "otobo_default" with the default driver
            Creating volume "otobo_mariadb_data" with default driver
            Creating volume "otobo_opt_otobo" with default driver
            Creating volume "otobo_elasticsearch_data" with default driver
            Creating volume "otobo_redis_data" with default driver
            Pulling redis (redis:6.0-alpine)...
            6.0-alpine: Pulling from library/redis
            4abcf2066143: Pull complete
            7204db1a9cf0: Pull complete
            c0961b413398: Pull complete
            e5feabcc7b3f: Pull complete
            26bcd715be09: Pull complete
            f29edabf68e4: Pull complete
            4f4fb700ef54: Pull complete
            53f8400eb8da: Pull complete
            Digest: sha256:2b35fc7d2908e25aa6aa197f97882c8a67829d3b106ad5ea5c8028f816f26aa8
            Status: Downloaded newer image for redis:6.0-alpine
            Pulling db (mariadb:10.5)...
            10.5: Pulling from library/mariadb
            9ea8908f4765: Pull complete
            1b268493d4d2: Pull complete
            a3b094f7c6bf: Pull complete
            334647e97db1: Pull complete
            e86044fd4d27: Pull complete
            1a864630d5d5: Pull complete
            94ca447eca4b: Pull complete
            2f6e09ca08c7: Pull complete
            Digest: sha256:ada7996123f3101c4cd81c60a54cf990b61038d473096608e002c32c294d79ea
            Status: Downloaded newer image for mariadb:10.5
            Pulling elastic (rotheross/otobo-elasticsearch:latest-11_0)...
            latest-11_0: Pulling from rotheross/otobo-elasticsearch
            e0b25ef51634: Pull complete
            0ed156f90b4d: Pull complete
            0b3c161c8ebd: Pull complete
            157de9ee3c7a: Pull complete
            eea187b8272b: Pull complete
            a04594f99bf2: Pull complete
            c88cab9df767: Pull complete
            b95579404185: Pull complete
            3da4afe05b7a: Pull complete
            c2cc5091d694: Pull complete
            eff01d3b15eb: Pull complete
            ecda5fd8e4bd: Pull complete
            Digest: sha256:19bb0fc5a33256df661c432c3d1c3e4f3a075c4c471076b50405c3657e553285
            Status: Downloaded newer image for rotheross/otobo-elasticsearch:latest-11_0
            Pulling web (rotheross/otobo:devel-rel-11_0)...
            devel-rel-11_0: Pulling from rotheross/otobo
            fea1432adf09: Pull complete
            5651b5803b18: Pull complete
            3873416e6a33: Pull complete
            8a142b8b0e69: Pull complete
            350f7e62b759: Pull complete
            726cf271325b: Pull complete
            38cf6644cf40: Pull complete
            14bd0ec625bc: Pull complete
            4f4fb700ef54: Pull complete
            05bf67dd90ab: Pull complete
            3daadb0ada65: Extracting [==================================================>] 126.5MB/126.5MB
            4971c3db27b7: Download complete
            2816e1d1f73c: Download complete
            42064e480343: Download complete
            955afa58b338: Download complete
            049f23081e4b: Download complete
            970d6eb67b1f: Download complete
            14a7ce511b72: Download complete
            ERROR: failed to register layer: failed to Lchown "/root/.cpanm/work/1719243606.9224/Class-Accessor-Lite-0.08" for UID 378950266, GID 1522739515 (try increasing the number of subordinate IDs in /etc/subuid and /etc/subgid): lchown /root/.cpanm/work/1719243606.9224/Class-Accessor-Lite-0.08: invalid argument

             

            Ich hatte die .env wie folgt angepasst:

            # This file contains default values for environment values that are needed either by Docker Compose itself
            # or by the docker compose files.

            # COMPOSE_PROJECT_NAME declares the prefix of the name of the Docker containers. So if the
            # project name is 'acme_support' then the web container is named either 'acme_support_web_1' for
            # Compose V1 or 'acme_support-web-1 for Compose V2. The project name also declares
            # the prefix of named volumes. Thus changing the project name allows to have
            # seperate containers and volumes for separate installations of OTOBO.
            #
            # Note that when COMPOSE_PROJECT_NAME is set in the shell environment,
            # then that setting has higher precedence.
            COMPOSE_PROJECT_NAME=otobo
            #COMPOSE_PROJECT_NAME=acme_support

            # COMPOSE_FILE is a collection of files, separated by COMPOSE_PATH_SEPARATOR, that make up the final config.
            # The files usually reside in the subdirectory docker-compose.
            # Additional services can be added by concatenating more files to COMPOSE_FILE. An example would services
            # for S3 compatible storage. That is: :docker-compose/otobo-localstack.yml or :docker-compose/otobo-minio.yml
            COMPOSE_PATH_SEPARATOR=:
            COMPOSE_FILE=docker-compose/otobo-base.yml:docker-compose/otobo-override-http.yml

            # Database configuration
            # OTOBO_DB_ROOT_PASSWORD must be set
            OTOBO_DB_ROOT_PASSWORD=XXXXXXXXXXXX

            # Set this to a value in bytes to overwrite the default query size set for OTOBO
            #OTOBO_DB_QUERY_CACHE_SIZE=

            # HTTP options
            # Set OTOBO_WEB_HTTP_PORT when the HTTP port is not 80
            #OTOBO_WEB_HTTP_PORT=

            # Set OTOBO_WEB_HTTP_IPADDR when only requests addressed to a specific IP should be served.
            # See https://docs.docker.com/compose/compose-file/compose-file-v3/#ports
            #OTOBO_WEB_HTTP_IPADDR=

            # Elasticsearch options
            OTOBO_ELASTICSEARCH_ES_JAVA_OPTS=-Xms512m -Xmx512m

            ################################################################################
            # The Docker image for the service 'db' can be specified explicitly.
            # The default is mariadb:10.5
            ################################################################################
            #OTOBO_IMAGE_DB=

            ################################################################################
            # The Docker image for the services 'web' and 'daemon' can be specified explicitly.
            # The default is rotheross/otobo:latest-11_0
            ################################################################################

            # Examples:
            #OTOBO_IMAGE_OTOBO=rotheross/otobo:rel-11_0_3
            OTOBO_IMAGE_OTOBO=rotheross/otobo:devel-rel-11_0
            #OTOBO_IMAGE_OTOBO=otobo:local-11.0.x

            ################################################################################
            # The Docker image for the service 'eleastic' can be specified explicitly.
            # The default is rotheross/otobo-elasticsearch:latest-11_0
            ################################################################################

            # Examples:
            #OTOBO_IMAGE_OTOBO_ELASTICSEARCH=rotheross/otobo-elasticsearch:rel-11_0_3
            #OTOBO_IMAGE_OTOBO_ELASTICSEARCH=rotheross/otobo-elasticsearch:devel-rel-11_0
            #OTOBO_IMAGE_OTOBO_ELASTICSEARCH=otobo-elasticsearch:local-11.0.x

            ################################################################################
            # The Docker image for the service 'redis' can be specified explicitly.
            # The default is redis:6.0-alpine
            ################################################################################
            #OTOBO_IMAGE_REDIS=

             

            • Diese Antwort wurde geändert vor 3 Monaten von dgi.
            • Diese Antwort wurde geändert vor 3 Monaten von dgi.
          • #31293
            bes
            Teilnehmer

              Hallo Oliver,

              ich habe im Dockerfile noch etwas umgestellt, siehe https://github.com/RotherOSS/otobo/commit/55c79a0b560eaa36353847009ab67899f5fa5fa0 . Kannst du das neu gebaute Docker Image holen und es noch einmal probieren?  docker pull rotheross/otobo:devel-rel-11_0 .

              Noch eine Verständnissfrage, Läuft bei dir Docker in einem Linux Container?

              Viele Grüße,

              Bernhard

               

              • #31294
                dgi
                Teilnehmer

                  Hallo Bernhard,

                  ja Docker läuft bei mir in einem Container und Proxmox. Ich lasse gerade den Pull laufen und gebe dann Feedback.

                  Beste Grüße

                  Daniel

              • #31295
                dgi
                Teilnehmer

                  Hallo Bernhard,

                  jetzt hat es funktioniert. :-)

                  Beim nächsten Release wird das dann eingebaut sein?

                  Beste Grüße

                  Daniel

                • #31296
                  Best Answer
                  bes
                  Teilnehmer

                    Hallo Oliver,

                    sehr gut. Danke für das Testen. Der Fix ist eingecheckt und wird in OTOBO 11.0.4 enthalten sein. Es gibt aber noch kein fixes Datum wann 11.0.4 herausgegeben wird.

                    Viele Grüße,

                    Bernhard

                     

                     

                     

                     

                Ansicht von 5 Antwort-Themen
                • Du musst angemeldet sein, um auf dieses Thema antworten zu können.