Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] Im Docker von jsonl auf Redis umstellen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst] Im Docker von jsonl auf Redis umstellen

    This topic has been deleted. Only users with topic management privileges can see it.
    • mcBirne
      mcBirne @OliverIO last edited by

      @oliverio
      Danke,
      ich erhalte folgende Fehlermeldung bei der Installation
      docker: Error response from daemon: driver failed programming external connectivity on endpoint portainer (e86534670ab9c6ef082e228ef819a00fbc155a9486c93db378e8e93146835f07): Error starting userland proxy: listen tcp4 0.0.0.0:9000: bind: address already in use.
      kann ich den Port einfach ändern oder ist die 9000 ein muss? Wobei ich nicht weiß, wofür der Port 9000 aktuell genutzt wird

      Thomas Braun OliverIO 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @mcBirne last edited by

        @mcbirne sagte in Redis Umstellung:

        Wobei ich nicht weiß, wofür der Port 9000 aktuell genutzt wird

        Für die bisherige Datenbank jsonl.

        mcBirne 1 Reply Last reply Reply Quote 0
        • mcBirne
          mcBirne @Thomas Braun last edited by

          @thomas-braun OK, also sollte ich den ioBroker stoppen?

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @mcBirne last edited by

            @mcbirne

            Bei solchen Umbauarbeiten muss der iobroker natürlich gestoppt werden.

            mcBirne 1 Reply Last reply Reply Quote 1
            • mcBirne
              mcBirne @Thomas Braun last edited by

              @thomas-braun
              OK, das war es schon. Der Portainer läuft. Wie bekomme ich nun den ioBroker nun redis damit verbunden?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @mcBirne last edited by

                @mcbirne

                Ich glaube da muss per custom installation die neue Datenbank herangezogen werden. Weiß aber nicht genau wie das geht, müsste ich auch nachlesen.

                1 Reply Last reply Reply Quote 0
                • OliverIO
                  OliverIO @mcBirne last edited by OliverIO

                  @mcbirne

                  Ich habe den Portainer auf 9100 gemappt
                  Das kann man in den Container Einstellungen anpassen

                  https://www.synology-forum.de/threads/docker-local-port-und-container-port-tauschen-kein-fester-port-fuer-web.97189/#:~:text=Den Port auf der Synology,Synology ist dann auch statisch.

                  mcBirne 1 Reply Last reply Reply Quote 0
                  • mcBirne
                    mcBirne @OliverIO last edited by

                    @oliverio
                    Danke.
                    Diese Links haben mir viel geholfen.
                    https://smarthome.buanet.de/2020/12/redis-container-unter-portainer-bereitstellen/
                    https://smarthome.buanet.de/2020/12/iobroker-docker-container-mit-redis-db-verbinden/
                    Aber jetzt sieht es leider so aus:
                    dcea5a98-30de-4fa6-88b9-50c96990275e-image.png
                    der ioBroker startet nicht

                    mcBirne OliverIO 2 Replies Last reply Reply Quote 0
                    • mcBirne
                      mcBirne @mcBirne last edited by

                      Das steht im Log

                      --------------------------------------------------------------------------------
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -----                          System Information                          -----
                      
                      -----                    arch:                x86_64                       -----
                      
                      -----                    hostname:            buanet-iobroker-1            -----
                      
                      -----                                                                      -----
                      
                      -----                          Version Information                         -----
                      
                      -----                    image:               v9.0.1                       -----
                      
                      -----                    build:               2023-12-13T23:44:33+00:00    -----
                      
                      -----                    node:                v18.19.0                     -----
                      
                      -----                    npm:                 10.2.3                       -----
                      
                      -----                                                                      -----
                      
                      -----                        Environment Variables                         -----
                      
                      -----                    SETGID:              1000                         -----
                      
                      -----                    SETUID:              1000                         -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -----                   Step 1 of 5: Preparing container                   -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      Updating Linux packages on first run... Done.
                      
                       
                      
                       
                      
                       
                      
                      Registering maintenance script as command... Done.
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -----             Step 2 of 5: Detecting ioBroker installation             -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      Existing installation of ioBroker detected in "/opt/iobroker".
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -----             Step 3 of 5: Checking ioBroker installation              -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      (Re)setting permissions (This might take a while! Please be patient!)... Done.
                      
                       
                      
                      Checking Database connection... Failed.
                      
                      Please check your configuration and try again.
                      
                      For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs).
                      
                       
                      
                      This Script will exit now.
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -------------------------     2023-12-15 11:52:54      -------------------------
                      
                      --------------------------------------------------------------------------------
                      
                      -----                                                                      -----
                      
                      ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                      
                      ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                      
                      ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                      
                      ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                      
                      ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                      
                      ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                      
                      -----                                                                      -----
                      
                      -----              Welcome to your ioBroker Docker container!              -----
                      
                      -----                    Startupscript is now running!                     -----
                      
                      -----                          Please be patient!                          -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -----                          System Information                          -----
                      
                      -----                    arch:                x86_64                       -----
                      
                      -----                    hostname:            buanet-iobroker-1            -----
                      
                      -----                                                                      -----
                      
                      -----                          Version Information                         -----
                      
                      -----                    image:               v9.0.1                       -----
                      
                      -----                    build:               2023-12-13T23:44:33+00:00    -----
                      
                      -----                    node:                v18.19.0                     -----
                      
                      -----                    npm:                 10.2.3                       -----
                      
                      -----                                                                      -----
                      
                      -----                        Environment Variables                         -----
                      
                      -----                    SETGID:              1000                         -----
                      
                      -----                    SETUID:              1000                         -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -----                   Step 1 of 5: Preparing container                   -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      Updating Linux packages on first run... Done.
                      
                       
                      
                       
                      
                       
                      
                      Registering maintenance script as command... Done.
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -----             Step 2 of 5: Detecting ioBroker installation             -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      Existing installation of ioBroker detected in "/opt/iobroker".
                      
                       
                      
                      --------------------------------------------------------------------------------
                      
                      -----             Step 3 of 5: Checking ioBroker installation              -----
                      
                      --------------------------------------------------------------------------------
                      
                       
                      
                      (Re)setting permissions (This might take a while! Please be patient!)... Done.
                      
                       
                      
                      
                      OliverIO 1 Reply Last reply Reply Quote 0
                      • OliverIO
                        OliverIO @mcBirne last edited by

                        @mcbirne
                        da gestartet ist er schon.
                        es kann auch durchaus einige minuten dauern, bis iobroker unter ip/port erreichbar ist
                        alternativ auch mal in die log ansicht des containers schauen.

                        hast du nun das alles unter portainer oder direkt unter der synology oberfläche konfiguriert? du solltest dich in zukunft für eines entscheiden

                        mcBirne 1 Reply Last reply Reply Quote 0
                        • mcBirne
                          mcBirne @OliverIO last edited by

                          @oliverio
                          ich habe es alles im Portainer. Der zeigt aber die gleichen Caontainer wie Dacker im Synology an.

                          Er kann keine Datenbankverbindung herstellen und startet ständig neu.

                          Marc Berg 1 Reply Last reply Reply Quote 0
                          • OliverIO
                            OliverIO @mcBirne last edited by OliverIO

                            @mcbirne

                            ok das sieht nach boot schleife aus
                            stelle erst mal kein backup dem container zu verfügung. erstmal so als ob du komplett neu isntallierst.
                            wenn der iobroker dann läuft, dann das backup über backit up einspielen

                            mcBirne 1 Reply Last reply Reply Quote 0
                            • mcBirne
                              mcBirne @OliverIO last edited by mcBirne

                              @oliverio OK, hast du da auch eine schöne Anleitung? Vermutlich muss ich ja einiges anders machen als normalerweise, oder?

                              1 Reply Last reply Reply Quote 0
                              • Marc Berg
                                Marc Berg Most Active @mcBirne last edited by

                                @mcbirne sagte in Redis Umstellung:

                                Er kann keine Datenbankverbindung herstellen und startet ständig neu.

                                Kann es sein, dass du ioBroker im Hostmodus betreibst, nun Portainer installiert hast, welchen mit seinem Port 9000 den ioBroker blockiert?

                                Wie @OliverIO oben empfohlen hat, Portainer auf einen anderen Port als 9000 mappen, dann sollte ioBroker auch wieder hoch kommen.

                                mcBirne 1 Reply Last reply Reply Quote 0
                                • mcBirne
                                  mcBirne @Marc Berg last edited by

                                  @marc-berg
                                  Das ist eine Idee. ich habe den Port jetzt auf 9100 gestellt. Leider kann ich nun den Portainer nicht mehr erreichen.

                                  Marc Berg 1 Reply Last reply Reply Quote 0
                                  • Marc Berg
                                    Marc Berg Most Active @mcBirne last edited by

                                    @mcbirne sagte in Redis Umstellung:

                                    Das ist eine Idee.

                                    Ist das eine "Idee", oder ist es so, dass ioBroker im Hostmodus läuft?

                                    ich habe den Port jetzt auf 9100 gestellt.

                                    zeigen

                                    mcBirne 2 Replies Last reply Reply Quote 0
                                    • mcBirne
                                      mcBirne @Marc Berg last edited by

                                      @marc-berg
                                      a894f884-9587-450b-ba99-4c3e208687ed-image.png

                                      Marc Berg 1 Reply Last reply Reply Quote 0
                                      • mcBirne
                                        mcBirne @Marc Berg last edited by

                                        @marc-berg
                                        Ja, bei ioBroker ist das Netzwerk auf Host gestellt

                                        1 Reply Last reply Reply Quote 0
                                        • Marc Berg
                                          Marc Berg Most Active @mcBirne last edited by Marc Berg

                                          @mcbirne ich kenne die Synology nicht. Laut Internet wird das Portmapping so eingestellt:

                                          0edefa4a-82de-4b69-89f3-196720e48144-image.png

                                          Edit: Bild getauscht

                                          mcBirne 1 Reply Last reply Reply Quote 0
                                          • mcBirne
                                            mcBirne @Marc Berg last edited by

                                            @marc-berg
                                            ich habe den Port bei 9000 gelassen, da der ioBoroker auch bei ausgeschaltetem Portainer nicht mehr gestartet ist. Dafür habe ich den ioBroker neu aufgesetzt und nicht im Hostmodus sondern als bridge. Dort habe ich die verwendete iob_private bridge ausgewählt.

                                            Nun habe ich das Problem, das einige Adapter keine Verbindung mehr herstellen dürfen. z.B. der SQL Adapter.
                                            751a4997-11c3-4cf5-8c03-65772ab55f87-image.png

                                            Weiß jemand, wo ich das erlauben kann?

                                            mcBirne 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            612
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            47
                                            2795
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo