Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker + Docker + Synology: Problem mit Admin-Oberfläche

    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

    iobroker + Docker + Synology: Problem mit Admin-Oberfläche

    This topic has been deleted. Only users with topic management privileges can see it.
    • arteck
      arteck Developer Most Active @moongringo last edited by

      @moongringo

      pkill io
      

      so stoppt man den iobroker im doker

      und mit

      node node_modules/iobroker.js-controller/controller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 &
      

      startest du den wieder

      nicht mit iobroker start/stop

      1 Reply Last reply Reply Quote 0
      • M
        moongringo last edited by

        @arteck said in iobroker + Docker + Synology: Problem mit Admin-Oberfläche:

        node node_modules/iobroker.js-controller/controller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 &

        Hi und danke für die Antwort. Ich habe deine Befehle ausprobiert, ohne Ergebnis:

        root@3eaae20aff9c:/opt/iobroker# pkill io
        root@3eaae20aff9c:/opt/iobroker# node node_modules/iobroker.js-controller/controller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 &
        [1] 550
        root@3eaae20aff9c:/opt/iobroker# 
        
        arteck 1 Reply Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active @moongringo last edited by arteck

          @moongringo was heisst ohne Ergebniss ?? wie kommst du dadrauf ??

          der js-controller wurde gestartet mit der pid 550

          M 1 Reply Last reply Reply Quote 0
          • M
            moongringo @arteck last edited by

            @arteck Wie in dem Codeschnipsel im vorherigen Post angegeben wurde "[1] 550" ausgegeben, auf die Admin-Oberfläche komme ich aber weiterhin nicht.

            arteck 1 Reply Last reply Reply Quote 0
            • arteck
              arteck Developer Most Active @moongringo last edited by arteck

              @moongringo dann schau mal ins log vom iobroker.. ob der admin gestartet wird ..

              M 1 Reply Last reply Reply Quote 0
              • M
                moongringo @arteck last edited by

                @arteck Nein, offenbar werden die Instanzen wie Admin nicht gestartet. Die wurden zuvor immer unter "Starting ioBroker..." aufgelistet. Das Log zeigt dasselbe Startverhalten wie vorher:

                
                
                 
                
                ------------------------------------------------------------
                
                ---------------     2020-06-07 21:20:18      ---------------
                
                ------------------------------------------------------------
                
                 
                
                ------------------------------------------------------------
                
                -----       Welcome to your ioBroker-container!        -----
                
                -----          Startupscript is now running.           -----
                
                -----                Please be patient!                -----
                
                ------------------------------------------------------------
                
                 
                
                ------------------------------------------------------------
                
                -----              Debugging information               -----
                
                -----                                                  -----
                
                -----                      System                      -----
                
                -----               arch:      x86_64                  -----
                
                -----                                                  -----
                
                -----                     Versions                     -----
                
                -----               image:     v4.2.0                  -----
                
                -----               node:      v10.20.1                -----
                
                -----               npm:       6.14.4                  -----
                
                -----                                                  -----
                
                -----                       ENV                        -----
                
                -----               PACKAGES:  vi                      -----
                
                -----               SETGID:    1000                    -----
                
                -----               SETUID:    1000                    -----
                
                -----               USBDEVICES: /dev/ttyUSB0            -----
                
                ------------------------------------------------------------
                
                 
                
                ------------------------------------------------------------
                
                -----         Step 1 of 5: Preparing container         -----
                
                ------------------------------------------------------------
                
                 
                
                Installing additional packages is set by ENV.
                
                The following packages will be installed: vi...
                
                E: Paket vi kann nicht gefunden werden.
                
                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 folder permissions (This might take a while! Please be patient!)...
                
                Done.
                
                 
                
                Fixing "sudo-bug" by replacing sudo in iobroker with gosu...
                
                Done.
                
                 
                
                /opt/scripts/iobroker_startup.sh: Zeile 173: [: !=: Einstelliger (unärer) Operator erwartet.
                
                ------------------------------------------------------------
                
                -----      Step 4 of 5: Applying special settings      -----
                
                ------------------------------------------------------------
                
                 
                
                Some adapters have special requirements/ settings which can be activated by the use of environment variables.
                
                For more information take a look at readme.md on Github!
                
                 
                
                Usb-device-support is activated by ENV.
                
                Setting permissions for /dev/ttyUSB0...
                
                Done.
                
                 
                
                ------------------------------------------------------------
                
                -----          Step 5 of 5: ioBroker startup           -----
                
                ------------------------------------------------------------
                
                 
                
                Starting ioBroker...```
                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @moongringo last edited by

                  @moongringo

                  zeige mal :

                  iobroker list instances
                  iobroker list adapters
                  
                  1 Reply Last reply Reply Quote 0
                  • M
                    moongringo last edited by

                    @Glasfaser said in iobroker + Docker + Synology: Problem mit Admin-Oberfläche:

                    iobroker list adapters

                    Gern, dann erhalte ich die Redis-Fehlermeldung:

                    root@3eaae20aff9c:/opt/iobroker# iobroker list instances
                    No connection to states 192.168.0.3:6379[redis]
                    root@3eaae20aff9c:/opt/iobroker# iobroker list adapters
                    No connection to states 192.168.0.3:6379[redis]
                    root@3eaae20aff9c:/opt/iobroker# 
                    
                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @moongringo last edited by Glasfaser

                      @moongringo
                      Dein Log sieht mir am Anfang sehr kurz aus .

                      Hast du die anderen Einstellungen auch entfernt !?

                      So sieht meins aus :
                      .

                      
                      
                       
                      
                      ------------------------------------------------------------
                      
                      ---------------     2020-06-04 21:17:40      ---------------
                      
                      ------------------------------------------------------------
                      
                       
                      
                      ------------------------------------------------------------
                      
                      -----       Welcome to your ioBroker-container!        -----
                      
                      -----          Startupscript is now running.           -----
                      
                      -----                Please be patient!                -----
                      
                      ------------------------------------------------------------
                      
                       
                      
                      ------------------------------------------------------------
                      
                      -----              Debugging information               -----
                      
                      -----                                                  -----
                      
                      -----                      System                      -----
                      
                      -----               arch:      x86_64                  -----
                      
                      -----                                                  -----
                      
                      -----                     Versions                     -----
                      
                      -----               image:     v4.2.0                  -----
                      
                      -----               node:      v12.17.0                -----
                      
                      -----               npm:       6.14.4                  -----
                      
                      -----                                                  -----
                      
                      -----                       ENV                        -----
                      
                      -----               ADMINPORT: 8081                    -----
                      
                      -----               AVAHI:     false                   -----
                      
                      -----               IOB_OBJECTSDB_HOST: 127.0.0.1               -----
                      
                      -----               IOB_OBJECTSDB_PORT: 9001                    -----
                      
                      -----               IOB_OBJECTSDB_TYPE: file                    -----
                      
                      -----               PACKAGES:  nano                    -----
                      
                      -----               SETGID:    1000                    -----
                      
                      -----               SETUID:    1000                    -----
                      
                      -----               IOB_STATESDB_HOST: 127.0.0.1               -----
                      
                      -----               IOB_STATESDB_PORT: 9000                    -----
                      
                      -----               IOB_STATESDB_TYPE: file                    -----
                      
                      -----               USBDEVICES: /dev/ttyACM0;/dev/ttyACM2 -----
                      
                      -----               ZWAVE:     false                   -----
                      

                      .
                      1.JPG
                      1.JPG

                      M 2 Replies Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @moongringo last edited by

                        @moongringo sagte in iobroker + Docker + Synology: Problem mit Admin-Oberfläche:

                        die trotz Redis-Installation weiterhin auftritt:

                        hast du es auch hiermit eingestellt :

                        iobroker setup custom
                        
                        M 1 Reply Last reply Reply Quote 0
                        • M
                          moongringo @Glasfaser last edited by

                          @Glasfaser Ich habe nichts entfernt, nur eine frische Installation vom ioBroker aufgesetzt. Bin nicht einmal danach auf den Admin gekommen und habe nicht eingestellt oder verändert.

                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • M
                            moongringo @Glasfaser last edited by

                            @Glasfaser Ja, habe ich - nach bestem Wissen und Gewissen - an den Tutorials zu dem Redis-Problem langgehangelt und mit diesem Befehl auch eingestellt. Seit dem steht die IP-Adresse und der Port in der Fehlermeldung. Davor hatte ich die Fehlermeldung ohne IP und Port erhalten.

                            1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @moongringo last edited by

                              @moongringo sagte in iobroker + Docker + Synology: Problem mit Admin-Oberfläche:

                              nur eine frische Installation vom ioBroker aufgesetzt.

                              dann installiere es neu ... aber erstmal ohne Redis

                              und hier die Seite dazu !

                              Link Text

                              1 Reply Last reply Reply Quote 0
                              • M
                                moongringo @Glasfaser last edited by

                                @Glasfaser Ich habe mal spaßeshalber deine Umgebungsvariablen übernommen. Log sieht jetzt so aus:

                                Unselect
                                       
                                -----                                                  -----
                                
                                -----                     Versions                     -----
                                
                                -----               image:     v4.2.0                  -----
                                
                                -----               node:      v10.20.1                -----
                                
                                -----               npm:       6.14.4                  -----
                                
                                -----                                                  -----
                                
                                -----                       ENV                        -----
                                
                                -----               ADMINPORT: 8081                    -----
                                
                                -----               AVAHI:     false                   -----
                                
                                -----               IOB_OBJECTSDB_HOST: 127.0.0.1               -----
                                
                                -----               IOB_OBJECTSDB_PORT: 9001                    -----
                                
                                -----               IOB_OBJECTSDB_TYPE: file                    -----
                                
                                -----               PACKAGES:  nano                    -----
                                
                                -----               SETGID:    1000                    -----
                                
                                -----               SETUID:    1000                    -----
                                
                                -----               IOB_STATESDB_HOST: 127.0.0.1               -----
                                
                                -----               IOB_STATESDB_PORT: 9000                    -----
                                
                                -----               IOB_STATESDB_TYPE: file                    -----
                                
                                -----               USBDEVICES: /dev/ttyUSB0            -----
                                
                                -----               ZWAVE:     false                   -----
                                
                                ------------------------------------------------------------
                                
                                 
                                
                                ------------------------------------------------------------
                                
                                -----         Step 1 of 5: Preparing container         -----
                                
                                ------------------------------------------------------------
                                
                                 
                                
                                Installing additional packages is set by ENV.
                                
                                The following packages will be installed: nano...
                                
                                debconf: unable to initialize frontend: Dialog
                                
                                debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
                                
                                debconf: falling back to frontend: Readline
                                
                                debconf: unable to initialize frontend: Readline
                                
                                debconf: (This frontend requires a controlling tty.)
                                
                                debconf: falling back to frontend: Teletype
                                
                                dpkg-preconfigure: unable to re-open stdin: 
                                
                                Vormals nicht ausgewähltes Paket nano wird gewählt.
                                
                                (Lese Datenbank ... 
                                (Lese Datenbank ... 5%
                                (Lese Datenbank ... 10%
                                (Lese Datenbank ... 15%
                                (Lese Datenbank ... 20%
                                (Lese Datenbank ... 25%
                                (Lese Datenbank ... 30%
                                (Lese Datenbank ... 35%
                                (Lese Datenbank ... 40%
                                (Lese Datenbank ... 45%
                                (Lese Datenbank ... 50%
                                (Lese Datenbank ... 55%
                                (Lese Datenbank ... 60%
                                (Lese Datenbank ... 65%
                                (Lese Datenbank ... 70%
                                (Lese Datenbank ... 75%
                                (Lese Datenbank ... 80%
                                (Lese Datenbank ... 85%
                                (Lese Datenbank ... 90%
                                (Lese Datenbank ... 95%
                                (Lese Datenbank ... 100%
                                (Lese Datenbank ... 25499 Dateien und Verzeichnisse sind derzeit installiert.)
                                
                                Vorbereitung zum Entpacken von .../archives/nano_3.2-3_amd64.deb ...
                                
                                Entpacken von nano (3.2-3) ...
                                
                                nano (3.2-3) wird eingerichtet ...
                                
                                update-alternatives: /bin/nano wird verwendet, um /usr/bin/editor (editor) im automatischen Modus bereitzustellen
                                
                                update-alternatives: /bin/nano wird verwendet, um /usr/bin/pico (pico) im automatischen Modus bereitzustellen
                                
                                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 folder permissions (This might take a while! Please be patient!)...
                                
                                Done.
                                
                                 
                                
                                Fixing "sudo-bug" by replacing sudo in iobroker with gosu...
                                
                                Done.
                                
                                 
                                
                                /opt/scripts/iobroker_startup.sh: Zeile 173: [: !=: Einstelliger (unärer) Operator erwartet.
                                
                                ------------------------------------------------------------
                                
                                -----      Step 4 of 5: Applying special settings      -----
                                
                                ------------------------------------------------------------
                                
                                 
                                
                                Some adapters have special requirements/ settings which can be activated by the use of environment variables.
                                
                                For more information take a look at readme.md on Github!
                                
                                 
                                
                                /opt/scripts/iobroker_startup.sh: Zeile 199: [: 8081: Einstelliger (unärer) Operator erwartet.
                                
                                Usb-device-support is activated by ENV.
                                
                                Setting permissions for /dev/ttyUSB0...
                                
                                Done.
                                
                                 
                                
                                ENV IOB_OBJECTSDB_TYPE is set and value is different from detected ioBroker installation.
                                
                                Setting type of objects db to "file"...
                                
                                Done.
                                
                                ENV IOB_OBJECTSDB_HOST is set and value is different from detected ioBroker installation.
                                
                                Setting host of objects db to "127.0.0.1"...
                                
                                Done.
                                
                                ENV IOB_OBJECTSDB_PORT is set and value meets detected ioBroker installation. Nothing to do here.
                                
                                 
                                
                                ENV IOB_STATESDB_TYPE is set and value is different from detected ioBroker installation.
                                
                                Setting type of states db to "file"...
                                
                                Done.
                                
                                ENV IOB_STATESDB_HOST is set and value is different from detected ioBroker installation.
                                
                                Setting host of states db to "127.0.0.1"...
                                
                                Done.
                                
                                ENV IOB_STATESDB_PORT is set and value is different from detected ioBroker installation.
                                
                                Setting port of states db to "9000"...
                                
                                Done.
                                
                                 
                                
                                ------------------------------------------------------------
                                
                                -----          Step 5 of 5: ioBroker startup           -----
                                
                                ------------------------------------------------------------
                                
                                 
                                
                                Starting ioBroker...
                                
                                 
                                
                                host.iobroker check instance "system.adapter.admin.0" for host "a2ea88cc42b7"
                                
                                host.iobroker check instance "system.adapter.discovery.0" for host "a2ea88cc42b7"
                                
                                host.iobroker check instance "system.adapter.info.0" for host "a2ea88cc42b7"
                                

                                Und List liefert auch wieder etwas:

                                root@3eaae20aff9c:/opt/iobroker# iobroker list instances
                                  system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                  system.adapter.discovery.0             : discovery             -  enabled
                                  system.adapter.info.0                  : info                  -  enabled
                                
                                + instance is alive
                                root@3eaae20aff9c:/opt/iobroker# iobroker list adapters
                                system.adapter.admin                   : admin          - v4.0.10
                                system.adapter.discovery               : discovery      - v2.3.5
                                system.adapter.info                    : info           - v1.7.2
                                

                                Aber auf die Admin-Oberfläche komme ich weiterhin nicht...

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  moongringo @moongringo last edited by

                                  Ich bin mit folgender Anleitung jetzt erst mal wieder drauf gekommen:

                                  cd /opt/iobroker
                                  sudo iobroker stop
                                  sudo iobroker add admin --enabled --port 808X <- X durch eigenen Port ändern
                                  iobroker start
                                  

                                  "Admin-Oberfläche über den neuen Port versuchen.

                                  Dann kam ich rein und hab mich erst umgeschaut.

                                  Wenn soweit okay, hab ich beide admin instanzen deinstalliert, und nur eine wieder neu installiert."

                                  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

                                  940
                                  Online

                                  31.9k
                                  Users

                                  80.1k
                                  Topics

                                  1.3m
                                  Posts

                                  admin docker iobroker redis synology
                                  4
                                  18
                                  1232
                                  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