Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Erster Start von ioBroker scheitert

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Erster Start von ioBroker scheitert

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

      @barzw sagte in Erster Start von ioBroker scheitert:

      Wäre schön hier ein paar Infos zu erhalten wo und was zu tun ist, gerne auch ein Verweis auf andere Beiträge die das erläutern oder andere Dokus.

      https://forum.iobroker.net/topic/4733/howto-iobroker-unter-docker-auf-synology-diskstation?page=1

      B 1 Reply Last reply Reply Quote 0
      • B
        barzw @wendy2702 last edited by

        @wendy2702
        ich nutze nicht docker sondern eine VM

        wendy2702 1 Reply Last reply Reply Quote 0
        • wendy2702
          wendy2702 @barzw last edited by wendy2702

          @barzw Naja, du wolltest eine Doku was zu tun ist um Iobroker auf Syn zum laufen zu bekommen. Das ist z.B. eine.

          Hat die VM eine GUI oder so? Zeige doch mal deren Einstellungen. Ist denn die IP der VM erreichbar? Kannst du aus der VM z.B. Dein Netzwerk / Internet erreichen?

          Der User @jan_xx hat es mal mit VM gemacht. Vielleicht kann er helfen.

          B 1 Reply Last reply Reply Quote 0
          • B
            barzw @wendy2702 last edited by

            @wendy2702
            ich habe die Version ohne grafische Oberfläche installiert, war die Empfehlung.
            Ping funktioniert auf einen andern PC in meinem Netzwerk und zu einer Internetadresse

            wendy2702 Thomas Braun 2 Replies Last reply Reply Quote 0
            • wendy2702
              wendy2702 @barzw last edited by

              @barzw sagte in Erster Start von ioBroker scheitert:

              war die Empfehlung.

              Wessen?

              B 1 Reply Last reply Reply Quote 0
              • B
                barzw @wendy2702 last edited by

                @wendy2702
                Es war ein Video von @verdrahtet

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

                  @barzw sagte in Erster Start von ioBroker scheitert:

                  ich habe die Version ohne grafische Oberfläche installiert

                  Vollkommen korrekt.

                  ip a
                  

                  sagt?

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

                    @thomas-braun

                    
                      System information as of Mo 30. Jan 09:29:12 UTC 2023
                    
                      System load:           0.1064453125
                      Usage of /:            9.1% of 96.88GB
                      Memory usage:          9%
                      Swap usage:            0%
                      Processes:             123
                      Users logged in:       1
                      IPv4 address for ens3: 192.168.115.63
                      IPv6 address for ens3: 2a02:810b:4540:50e4:11:32ff:fe26:4449
                    
                     * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
                       just raised the bar for easy, resilient and secure K8s cluster deployment.
                    
                       https://ubuntu.com/engage/secure-kubernetes-at-the-edge
                    
                    2 updates can be applied immediately.
                    To see these additional updates run: apt list --upgradable
                    
                    
                    *** System restart required ***
                    Last login: Sun Jan 29 17:20:38 2023 from 192.168.115.101
                    wb@ubuntu:~$ ip a
                    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group defaul                                                        t qlen 1000
                        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                        inet 127.0.0.1/8 scope host lo
                           valid_lft forever preferred_lft forever
                        inet6 ::1/128 scope host
                           valid_lft forever preferred_lft forever
                    2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP grou                                                        p default qlen 1000
                        link/ether 02:11:32:26:44:49 brd ff:ff:ff:ff:ff:ff
                        altname enp0s3
                        inet 192.168.115.63/24 metric 100 brd 192.168.115.255 scope global dynamic e                                                        ns3
                           valid_lft 804892sec preferred_lft 804892sec
                        inet6 2a02:810b:4540:50e4:11:32ff:fe26:4449/64 scope global dynamic mngtmpad                                                        dr noprefixroute
                           valid_lft 7148sec preferred_lft 3548sec
                        inet6 fe80::11:32ff:fe26:4449/64 scope link
                           valid_lft forever preferred_lft forever
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @barzw last edited by

                      @barzw

                      iob list instances
                      

                      sagt?

                      Und patch die Kiste durch.

                      sudo apt update
                      sudo apt full-upgrade
                      sudo reboot
                      
                      B 1 Reply Last reply Reply Quote 0
                      • B
                        barzw @Thomas Braun last edited by

                        @thomas-braun

                        
                        wb@ubuntu:~$ iob list instances
                        internal/modules/cjs/loader.js:818
                          throw err;
                          ^
                        
                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                            at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                            at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                            at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                            at internal/main/run_main_module.js:17:47 {
                          code: 'MODULE_NOT_FOUND',
                          requireStack: []
                        
                        

                        habe danach update, upgrade und reboot durchgeführt, Änderung noch keine
                        iob list instances bringt das gleiche Ergebnis

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

                          @barzw

                          cd /opt/iobroker
                          sudo -H -u iobroker npm install iobroker.js-controller
                          iob restart
                          
                          1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @barzw last edited by

                            @barzw

                            Und schau mal ob nodejs senkrecht installiert ist:

                            sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                            uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                            
                            
                            B 1 Reply Last reply Reply Quote 0
                            • B
                              barzw @Thomas Braun last edited by

                              @thomas-braun
                              irgendwas scheint da gar nicht zu funktionieren. Es wird wohl besser sein das alles nochmals neu zu beginnen.

                              
                              wb@ubuntu:~$ cd /opt/iobroker
                              sudo -H -u iobroker npm install iobroker.js-controller
                              iob restart
                              npm ERR! code EBADENGINE
                              npm ERR! engine Unsupported engine
                              npm ERR! engine Not compatible with your version of node/npm: fs-extra@11.1.0
                              npm ERR! notsup Not compatible with your version of node/npm: fs-extra@11.1.0
                              npm ERR! notsup Required: {"node":">=14.14"}
                              npm ERR! notsup Actual:   {"npm":"8.5.1","node":"v12.22.9"}
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2023-01-30T09_45_38_150Z-debug-0.log
                              wb@ubuntu:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                              uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              x86_64
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              /usr/bin/npx
                              v12.22.9
                              v12.22.9
                              8.5.1
                              8.5.1
                              internal/modules/cjs/loader.js:818
                                throw err;
                                ^
                              
                              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                  at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                                  at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                                  at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                                  at internal/main/run_main_module.js:17:47 {
                                code: 'MODULE_NOT_FOUND',
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @barzw last edited by Thomas Braun

                                @barzw

                                nodejs falsch bzw. nicht installiert.
                                Schau in meiner Signatur wie das richtig gemacht wird.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                745
                                Online

                                32.0k
                                Users

                                80.4k
                                Topics

                                1.3m
                                Posts

                                4
                                20
                                458
                                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