Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo][Anleitung] Install von ioBroker auf Debian (Wheezy) in einer VM

    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

    [HowTo][Anleitung] Install von ioBroker auf Debian (Wheezy) in einer VM

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

      Sauber!

      Nun läuft der Dienst auch nach Neustart

      Gruß

      derAuge

      1 Reply Last reply Reply Quote 0
      • K
        Kev0 last edited by

        Hi,

        habe mit einen debian server aufgesetzt und bekomme nun ein Problem beim Neustart:

        Der Adapter Teil lädt nicht und im log von iobroker steht:

        ioBroker	2015-05-25 17:47:23	error	host.ioBroker Invalid request getInstalled. "callback" or "from" is null
        ioBroker	2015-05-25 17:47:23	error	host.ioBroker Invalid request getRepository. "callback" or "from" is null
        ioBroker	2015-05-25 17:47:23	info	host.ioBroker instance system.adapter.admin.0 started with pid 720
        

        beim manuellen Start über das bootscript kommt (weiss nicht ob das von Relevanz ist)

        root@ioBroker:/etc/init.d# sh iobroker.sh start
        iobroker.sh: 11: iobroker.sh: EUID: not found
        Starting ioBrokerStarting ioBroker controller daemon...
        ioBroker controller daemon started. PID: 796
        
        

        den node Pfad habe ich zu /usr/bin/node angepasst.

        nach dem händischen Starten geht alles wie es soll…

        1 Reply Last reply Reply Quote 0
        • derAuge
          derAuge last edited by

          @Kev0:

          Hi,

          habe mit einen debian server aufgesetzt und bekomme nun ein Problem beim Neustart:

          Der Adapter Teil lädt nicht und im log von iobroker steht:

          ioBroker	2015-05-25 17:47:23	error	host.ioBroker Invalid request getInstalled. "callback" or "from" is null
          ioBroker	2015-05-25 17:47:23	error	host.ioBroker Invalid request getRepository. "callback" or "from" is null
          ioBroker	2015-05-25 17:47:23	info	host.ioBroker instance system.adapter.admin.0 started with pid 720
          

          beim manuellen Start über das bootscript kommt (weiss nicht ob das von Relevanz ist)

          root@ioBroker:/etc/init.d# sh iobroker.sh start
          iobroker.sh: 11: iobroker.sh: EUID: not found
          Starting ioBrokerStarting ioBroker controller daemon...
          ioBroker controller daemon started. PID: 796
          
          

          den node Pfad habe ich zu /usr/bin/node angepasst.

          nach dem händischen Starten geht alles wie es soll… `

          Hallo Kev0

          willkommen im Forum

          HAst du mit "root" im "Verzeichniss" installiert?

          root@ioBroker:~# ### Install
          root@ioBroker:~# mkdir /opt/iobroker
          root@ioBroker:~# cd /opt/iobroker
          root@ioBroker:/opt/iobroker# npm install iobroker
          

          Gruß

          derAuge

          1 Reply Last reply Reply Quote 0
          • K
            Kev0 last edited by

            Ja alles so geschehen.

            Nach total Neustart der Maschine, nicht nur über reboot, gehts jetzt wundersamer Weise einwandfrei.

            Danke trotzdem

            1 Reply Last reply Reply Quote 0
            • S
              Sebbo last edited by

              Hallo zusammen,

              ich habe jetzt versucht anhand dieser Anleitung mein ioBroker zu virtualisieren.

              Bei mir kommt allerdings bei der Installation folgende Meldung:

              root@ioBrokerVM:/opt/iobroker# npm install iobroker
              \
              > iobroker@0.5.6 install /opt/iobroker/node_modules/iobroker
              > node lib/setup.js
              
              npm install iobroker.js-controller --production --prefix /opt/iobroker
              gyp ERR! build error
              gyp ERR! stack Error: not found: make
              gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
              gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
              gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
              gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
              gyp ERR! System Linux 3.16.0-4-amd64
              gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
              gyp ERR! node -v v0.10.40
              gyp ERR! node-gyp -v v1.0.1
              gyp ERR! not ok
              npm WARN optional dep failed, continuing utf-8-validate@1.2.1
              gyp ERR! build error
              gyp ERR! stack Error: not found: make
              gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
              gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
              gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
              gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
              gyp ERR! System Linux 3.16.0-4-amd64
              gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
              gyp ERR! node -v v0.10.40
              gyp ERR! node-gyp -v v1.0.1
              gyp ERR! not ok
              npm WARN optional dep failed, continuing utf-8-validate@1.2.1
              gyp ERR! build error
              gyp ERR! stack Error: not found: make
              gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
              gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
              gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
              gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
              gyp ERR! System Linux 3.16.0-4-amd64
              gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
              gyp ERR! node -v v0.10.40
              gyp ERR! node-gyp -v v1.0.1
              gyp ERR! not ok
              npm WARN optional dep failed, continuing bufferutil@1.2.1
              gyp ERR! build error
              gyp ERR! stack Error: not found: make
              gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
              gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
              gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
              gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
              gyp ERR! System Linux 3.16.0-4-amd64
              gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
              gyp ERR! node -v v0.10.40
              gyp ERR! node-gyp -v v1.0.1
              gyp ERR! not ok
              npm WARN optional dep failed, continuing bufferutil@1.2.1
              npm install iobroker.admin --production --prefix /opt/iobroker
              gyp ERR! build error
              gyp ERR! stack Error: not found: make
              gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
              gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
              gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
              gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
              gyp ERR! System Linux 3.16.0-4-amd64
              gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/iobroker.admin/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
              gyp ERR! node -v v0.10.40
              gyp ERR! node-gyp -v v1.0.1
              gyp ERR! not ok
              npm WARN optional dep failed, continuing utf-8-validate@1.2.1
              gyp ERR! build error
              gyp ERR! stack Error: not found: make
              gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
              gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
              gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
              gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
              gyp ERR! System Linux 3.16.0-4-amd64
              gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/iobroker.admin/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
              gyp ERR! node -v v0.10.40
              gyp ERR! node-gyp -v v1.0.1
              gyp ERR! not ok
              npm WARN optional dep failed, continuing bufferutil@1.2.1
              gyp ERR! build error
              gyp ERR! stack Error: not found: make
              gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
              gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
              gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
              gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
              gyp ERR! System Linux 3.16.0-4-amd64
              gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/iobroker.admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
              gyp ERR! node -v v0.10.40
              gyp ERR! node-gyp -v v1.0.1
              gyp ERR! not ok
              npm WARN optional dep failed, continuing utf-8-validate@1.2.1
              gyp ERR! build error
              gyp ERR! stack Error: not found: make
              gyp ERR! stack     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
              gyp ERR! stack     at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
              gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
              gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
              gyp ERR! System Linux 3.16.0-4-amd64
              gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/iobroker.admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
              gyp ERR! node -v v0.10.40
              gyp ERR! node-gyp -v v1.0.1
              gyp ERR! not ok
              npm WARN optional dep failed, continuing bufferutil@1.2.1
              Write "./iobroker start" to start the ioBroker
              Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
              iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
              iobroker@0.5.6 node_modules/iobroker
              âââ yargs@1.2.6 (minimist@0.1.0)
              root@ioBrokerVM:/opt/iobroker#</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous> 
              

              Ist das so normal?

              Grüße vom Sebbo

              1 Reply Last reply Reply Quote 0
              • S
                samsungfreak last edited by

                Hallo *,

                ich habe vor ca. 4 Monaten meine Installation vom IOBroker auf einem Debian System durchgeführt.

                Allerdings habe ich auch das Problem, dass der IOBroker Dienst nach einem Reboot nicht startet.

                Leider komme ich hier nicht voran um das Problem zu lösen.

                Hat jemand noch weitere Ideen wie ich das Problem lösen kann?

                1 Reply Last reply Reply Quote 0
                • Bluefox
                  Bluefox last edited by

                  @samsungfreak:

                  Hallo *,

                  ich habe vor ca. 4 Monaten meine Installation vom IOBroker auf einem Debian System durchgeführt.

                  Allerdings habe ich auch das Problem, dass der IOBroker Dienst nach einem Reboot nicht startet.

                  Leider komme ich hier nicht voran um das Problem zu lösen.

                  Hat jemand noch weitere Ideen wie ich das Problem lösen kann? `
                  Was passiert wenn du

                  sudo /etc/init.d/iobroker.sh start
                  

                  Aufrufst?

                  1 Reply Last reply Reply Quote 0
                  • S
                    samsungfreak last edited by

                    sudo /etc/init.d/iobroker.sh start
                    

                    Hallo Bluefox,

                    sudo /etc/init.d/iobroker.sh start
                    -bash: sudo: Kommando nicht gefunden.
                    

                    dann ist wohl doch noch was falsch :roll:

                    1 Reply Last reply Reply Quote 0
                    • Bluefox
                      Bluefox last edited by

                      @samsungfreak:

                      sudo /etc/init.d/iobroker.sh start
                      

                      Hallo Bluefox,

                      sudo /etc/init.d/iobroker.sh start
                      -bash: sudo: Kommando nicht gefunden.
                      

                      dann ist wohl doch noch was falsch :roll: `

                      Kann jemand /etc/init.d/iobroker.sh hier posten? Bin nicht am Rechner gerade.

                      1 Reply Last reply Reply Quote 0
                      • kmxak
                        kmxak Most Active last edited by

                        Das Problem mit dem Debian Autostart hatte ich gelöst. Sollte in einem meiner Beiträge stehen. Bin aber gerade nicht am Rechner. Edit http://forum.iobroker.net/viewtopic.php?t=6936

                        Gesendet von meinem SM-G930F mit Tapatalk

                        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

                        749
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        8
                        27
                        15760
                        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