Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation scheitert wegen Port 9000?

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Installation scheitert wegen Port 9000?

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

      @Tomte

      Link Text

      1 Reply Last reply Reply Quote 0
      • T
        Tomte last edited by

        Hallo,
        Danke für die schnellen Antworten!
        Nein, mein iobroker wird nicht in einem Container durchgeführt.
        Ich habe den LMS auf Port 9010 verlegt. nun klappt die Installation des iobroker.
        Jedoch läuft er nicht, bzw. bricht gleich wieder ab:

        root@openmediavault:~# systemctl status iobroker
        ● iobroker.service - ioBroker Server
           Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
           Active: failed (Result: exit-code) since Thu 2019-10-03 23:15:02 CEST; 4min 3s ago
             Docs: http://iobroker.net
          Process: 29998 ExecStart=/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
         Main PID: 29998 (code=exited, status=1/FAILURE)
              CPU: 1.209s
        
        Okt 03 23:15:02 openmediavault systemd[1]: iobroker.service: Failed with result 'exit-code'.
        Okt 03 23:15:02 openmediavault systemd[1]: iobroker.service: Service hold-off time over, scheduling restart.
        Okt 03 23:15:02 openmediavault systemd[1]: Stopped ioBroker Server.
        Okt 03 23:15:02 openmediavault systemd[1]: iobroker.service: Start request repeated too quickly.
        Okt 03 23:15:02 openmediavault systemd[1]: Failed to start ioBroker Server.
        Okt 03 23:15:02 openmediavault systemd[1]: iobroker.service: Unit entered failed state.
        Okt 03 23:15:02 openmediavault systemd[1]: iobroker.service: Failed with result 'exit-code'.
        
        

        Auch eine Neuinstallation mit

        npm install iobroker.js-controller
        

        hilft nicht.
        Weiß jemand, wie ich mehr Info zum Problem bekommen kann, oder gar eine Lösung?

        VG Tomte.

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

          @Tomte

          Zeig mal :

          node -v
          nodejs -v 
          
          1 Reply Last reply Reply Quote 0
          • T
            Tomte last edited by

            root@openmediavault:~# node -v
            v10.16.3
            root@openmediavault:~# nodejs -v
            v10.16.3
            root@openmediavault:~#
            
            
            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @Tomte last edited by

              @Tomte

              Was gibt die nur :

              iobroker status
              

              kannst du das ausführen ?

              iobroker start 
              iobroker list instances 
              
              T 1 Reply Last reply Reply Quote 0
              • T
                Tomte @Glasfaser last edited by

                @Glasfaser

                root@openmediavault:~# iobroker status
                iobroker is not running
                
                Objects type: file
                States  type: file
                root@openmediavault:~# iobroker start
                root@openmediavault:~# iobroker list instances
                
                
                + instance is alive
                root@openmediavault:~# iobroker status
                iobroker is not running
                
                Objects type: file
                States  type: file
                root@openmediavault:~#
                
                
                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Tomte last edited by

                  @Tomte

                  Boey …😠 ….

                  Versuche :

                  sudo iobroker setup custom 
                  
                  T 1 Reply Last reply Reply Quote 0
                  • T
                    Tomte @Glasfaser last edited by

                    @Glasfaser

                    Danke!!

                    root@openmediavault:~#  iobroker setup custom
                    Type of objects DB [(f)ile, (c)ouch, (r)edis], default [file]:
                    
                    

                    Was muss ich dann tun/wählen?

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

                      @Tomte

                      Link Text

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

                        @Glasfaser

                        Ich weiss nicht genau, was ich einstellen sollte:

                        root@openmediavault:~#  iobroker setup custom
                        Type of objects DB [(f)ile, (c)ouch, (r)edis], default [file]:
                        Host / Unix Socket of objects DB(file), default[127.0.0.1]:
                        Port of objects DB(file), default[9001]:
                        Type of states DB [(f)file, (r)edis], default [file]:
                        Host / Unix Socket of states DB (file), default[127.0.0.1]:
                        Port of states DB (file), default[9000]:
                        Data directory (file), default[../../../iobroker-data/]:
                        Host name of this machine [openmediavault]:
                        creating conf/iobroker.json
                        root@openmediavault:~# iobroker start
                        root@openmediavault:~# iobroker list instances
                        
                        
                        + instance is alive
                        root@openmediavault:~# pwd
                        /root
                        root@openmediavault:~#
                        
                        

                        Das Data directory kommt mir nicht so schlau vor.
                        Wo sollte es eigentlich sein?

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

                          @Tomte

                          Mit dem OMV kenne ich mich leider nicht weiter aus .😕

                          Was ich vergessen habe :
                          Welche NPM hast du .

                          npm -v
                          

                          Vielleicht kann @wendy2702 hier weiter helfen , ich meine er hat ein OMV !?

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

                            @Glasfaser
                            Hallo,

                            im Prinzip habe ich ein Debian Stretch amd64 mit OMV.
                            Was wäre denn ein sinnvoller Pfad für das Data Directory?
                            Kann ich es einfach umbiegen, oder muss da vorab was rein?

                            root@openmediavault:~# npm -v
                            6.9.0
                            root@openmediavault:~# uname -a
                            Linux openmediavault 4.19.0-0.bpo.5-amd64 #1 SMP Debian 4.19.37-4~bpo9+1 (2019-06-19) x86_64 GNU/Linux
                            
                            

                            Viele Grüße, Tomte

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Tomte @Tomte last edited by

                              Das Data Directory zu ändern brachte keine Besserung:

                              Data directory (file), default[../../../iobroker-data/]: /opt/iobroker/iobroker-data/
                              Host name of this machine [openmediavault]:
                              creating conf/iobroker.json
                              root@openmediavault:~# iobroker start
                              root@openmediavault:~# iobroker status
                              iobroker is not running
                              
                              Objects type: file
                              States  type: file
                              
                              T 1 Reply Last reply Reply Quote 0
                              • T
                                Tomte @Tomte last edited by

                                So, ich habe mir nun mal die /opt/iobroker/log/iobroker.2019-10-05.log angesehen:

                                2019-10-05 15:59:10.200  - info: host.openmediavault InMemoryDB connected
                                2019-10-05 15:59:10.205  - error: uncaught exception: Cannot read property 'rows' of undefined
                                2019-10-05 15:59:10.207  - error: TypeError: Cannot read property 'rows' of undefined
                                    at /opt/iobroker/node_modules/iobroker.js-controller/controller.js:1239:28
                                    at _getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2817:13)
                                    at checkObjectRights (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2844:28)
                                    at checkObjectRights (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:1869:20)
                                    at ObjectsInMemServer.getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2840:13)
                                    at setMeta (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:1237:13)
                                    at checkHost (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:347:29)
                                    at /opt/iobroker/node_modules/iobroker.js-controller/controller.js:705:17
                                    at _getObjectView (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2817:13)
                                    at checkObjectRights (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2844:28)
                                2019-10-05 15:59:10.209  - info: host.openmediavault terminated
                                2019-10-05 15:59:10.212  - info: iobroker _restart
                                2019-10-05 15:59:10.533  - info: iobroker Starting node restart.js
                                2019-10-05 15:59:10.548  - info: iobroker exit 0
                                

                                mit

                                npm i iobroker.js-controller --production
                                npm i iobroker.admin --production
                                npm i iobroker.discovery --production
                                

                                lies sich das Problem leider auch nicht lösen.
                                Hat noch jemand einen Vorschlag?

                                Viele Grüße, Tomte

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tomte last edited by

                                  Da da Problem jetzt nichts mehr mit der Überschrift zu tun hat mache ich einen neuen Thread auf.
                                  Ich bitte um Verständnis.

                                  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

                                  817
                                  Online

                                  32.0k
                                  Users

                                  80.5k
                                  Topics

                                  1.3m
                                  Posts

                                  installation abgebrochen port 9000
                                  3
                                  17
                                  1368
                                  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