Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ESXI VM Iobroker install hängt

    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

    ESXI VM Iobroker install hängt

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

      Was heißt „bleibt hängen“?

      Das dauert recht lange (mit Phasen ohne das sich was zu tun scheint).

      Gruß,

      Eric

      1 Reply Last reply Reply Quote 0
      • D
        DeepCore last edited by

        Hier meine Schritte um ioBroker in einer VM zu installieren, als root angemeldet.

        Debian habe ich als Netinstall installiert, ohne GUI, nur mit SSH-Server und Standard…

        apt update
        apt upgrade
        apt install build-essential
        apt install curl
        curl -sL https://deb.nodesource.com/setup_6.x | bash -
        apt install nodejs
        apt install libavahi-compat-libdnssd-dev
        mkdir /opt/iobroker
        npm install node-gyp
        npm install iobroker
        
        1 Reply Last reply Reply Quote 0
        • K
          Kyocera007 last edited by

          @Eric

          Die CPU geht auf 100% und danach geht in Putty und auf vmware nix mehr.

          VMware Tools schaltet ab.

          Habe bis zu 20 min. gewartet

          Kann auch innerhalb ESXI nicht mehr die Console klicken. alles TOT

          Gruß Werner

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

            Hallo Werner,

            das hast Du bisher aber nicht geschrieben 😉

            Welche Schritte aus der Doku hast den durchgeführt?

            Gruß,

            Eric

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

              ich habe da angefangen

              npm install -g npm@4
              dann Punkt 4
              dann installation ioBroker
              
              

              habe gerade das von @deepcore mal durchgeführt

              bekomme dann folgendes

              ! ````
              root@debian:/opt/iobroker# npm install iobroker
              ! > iobroker@1.1.2 install /opt/iobroker/node_modules/iobroker
              node lib/prepareSetup.js && node lib/setup.js
              ! NPM version: 3.10.10
              npm install iobroker.discovery@stable --production --save
              iobroker.inst@1.1.2 /opt/iobroker
              └── iobroker.discovery@1.1.0
              ! packet folder is: /opt/iobroker/node_modules/iobroker.discovery | exists: true
              npm install iobroker.admin@stable --production --save
              iobroker.inst@1.1.2 /opt/iobroker
              └─┬ iobroker.admin@2.0.9
              ├─┬ body-parser@1.18.2
              │ ├── bytes@3.0.0
              │ ├── content-type@1.0.4
              │ ├─┬ debug@2.6.9
              │ │ └── ms@2.0.0
              │ ├── depd@1.1.2
              │ ├─┬ http-errors@1.6.2
              │ │ ├── depd@1.1.1
              │ │ ├── inherits@2.0.3
              │ │ └── setprototypeof@1.0.3
              │ ├── iconv-lite@0.4.19
              │ ├─┬ on-finished@2.3.0
              │ │ └── ee-first@1.1.1
              │ ├── qs@6.5.1
              │ ├─┬ raw-body@2.3.2
              │ │ └── unpipe@1.0.0
              │ └─┬ type-is@1.6.16
              │ └── media-typer@0.3.0
              ├── connect-flash@0.1.1
              ├─┬ cookie-parser@1.4.3
              │ ├── cookie@0.3.1
              │ └── cookie-signature@1.0.6
              ├─┬ express@4.16.3
              │ ├─┬ accepts@1.3.5
              │ │ └── negotiator@0.6.1
              │ ├── array-flatten@1.1.1
              │ ├── content-disposition@0.5.2
              │ ├─┬ debug@2.6.9
              │ │ └── ms@2.0.0
              │ ├── encodeurl@1.0.2
              │ ├── escape-html@1.0.3
              │ ├── etag@1.8.1
              │ ├─┬ finalhandler@1.1.1
              │ │ └─┬ debug@2.6.9
              │ │ └── ms@2.0.0
              │ ├── fresh@0.5.2
              │ ├── merge-descriptors@1.0.1
              │ ├── methods@1.1.2
              │ ├── parseurl@1.3.2
              │ ├── path-to-regexp@0.1.7
              │ ├─┬ proxy-addr@2.0.3
              │ │ ├── forwarded@0.1.2
              │ │ └── ipaddr.js@1.6.0
              │ ├── range-parser@1.2.0
              │ ├─┬ send@0.16.2
              │ │ ├── debug@2.6.9
              │ │ ├── destroy@1.0.4
              │ │ ├── mime@1.4.1
              │ │ └── ms@2.0.0
              │ ├── serve-static@1.13.2
              │ ├── setprototypeof@1.1.0
              │ ├── statuses@1.4.0
              │ ├── utils-merge@1.0.1
              │ └── vary@1.1.2
              ├─┬ express-fileupload@0.1.4
              │ ├─┬ busboy@0.2.14
              │ │ ├─┬ dicer@0.2.5
              │ │ │ └── streamsearch@0.1.2
              │ │ └─┬ readable-stream@1.1.14
              │ │ ├── core-util-is@1.0.2
              │ │ └── string_decoder@0.10.31
              │ ├─┬ fs-extra@0.22.1
              │ │ ├── jsonfile@2.4.0
              │ │ └─┬ rimraf@2.6.2
              │ │ └─┬ glob@7.1.2
              │ │ ├── fs.realpath@1.0.0
              │ │ ├─┬ inflight@1.0.6
              │ │ │ └── wrappy@1.0.2
              │ │ ├─┬ minimatch@3.0.4
              │ │ │ └─┬ brace-expansion@1.1.11
              │ │ │ ├── balanced-match@1.0.0
              │ │ │ └── concat-map@0.0.1
              │ │ ├── once@1.4.0
              │ │ └── path-is-absolute@1.0.1
              │ └── streamifier@0.1.1
              ├─┬ express-session@1.15.6
              │ ├── crc@3.4.4
              │ ├─┬ debug@2.6.9
              │ │ └── ms@2.0.0
              │ ├── on-headers@1.0.1
              │ └─┬ uid-safe@2.1.5
              │ └── random-bytes@1.0.0
              ├─┬ passport@0.3.2
              │ ├── passport-strategy@1.0.0
              │ └── pause@0.0.1
              ├── passport-local@1.0.0
              ├── passport.socketio@3.7.0
              ├─┬ request@2.85.0
              │ ├── aws-sign2@0.7.0
              │ ├── aws4@1.6.0
              │ ├── caseless@0.12.0
              │ ├─┬ combined-stream@1.0.6
              │ │ └── delayed-stream@1.0.0
              │ ├── forever-agent@0.6.1
              │ ├─┬ form-data@2.3.2
              │ │ └── asynckit@0.4.0
              │ ├─┬ har-validator@5.0.3
              │ │ ├─┬ ajv@5.5.2
              │ │ │ ├── co@4.6.0
              │ │ │ ├── fast-deep-equal@1.1.0
              │ │ │ ├── fast-json-stable-stringify@2.0.0
              │ │ │ └── json-schema-traverse@0.3.1
              │ │ └── har-schema@2.0.0
              │ ├─┬ hawk@6.0.2
              │ │ ├── boom@4.3.1
              │ │ ├─┬ cryptiles@3.1.2
              │ │ │ └── boom@5.2.0
              │ │ ├── hoek@4.2.1
              │ │ └── sntp@2.1.0
              │ ├─┬ http-signature@1.2.0
              │ │ ├── assert-plus@1.0.0
              │ │ ├─┬ jsprim@1.4.1
              │ │ │ ├── extsprintf@1.3.0
              │ │ │ ├── json-schema@0.2.3
              │ │ │ └── verror@1.10.0
              │ │ └─┬ sshpk@1.14.1
              │ │ ├── asn1@0.2.3
              │ │ ├── bcrypt-pbkdf@1.0.1
              │ │ ├── dashdash@1.14.1
              │ │ ├── ecc-jsbn@0.1.1
              │ │ ├── getpass@0.1.7
              │ │ ├── jsbn@0.1.1
              │ │ └── tweetnacl@0.14.5
              │ ├── is-typedarray@1.0.0
              │ ├── isstream@0.1.2
              │ ├── json-stringify-safe@5.0.1
              │ ├─┬ mime-types@2.1.18
              │ │ └── mime-db@1.33.0
              │ ├── oauth-sign@0.8.2
              │ ├── performance-now@2.1.0
              │ ├── stringstream@0.0.5
              │ ├─┬ tough-cookie@2.3.4
              │ │ └── punycode@1.4.1
              │ ├── tunnel-agent@0.6.0
              │ └── uuid@3.2.1
              ├─┬ socket.io@1.7.4
              │ ├─┬ debug@2.3.3
              │ │ └── ms@0.7.2
              │ ├─┬ engine.io@1.8.5
              │ │ ├── accepts@1.3.3
              │ │ ├── base64id@1.0.0
              │ │ ├─┬ debug@2.3.3
              │ │ │ └── ms@0.7.2
              │ │ ├─┬ engine.io-parser@1.3.2
              │ │ │ ├── after@0.8.2
              │ │ │ ├── arraybuffer.slice@0.0.6
              │ │ │ ├── base64-arraybuffer@0.1.5
              │ │ │ ├── blob@0.0.4
              │ │ │ └── wtf-8@1.0.0
              │ │ └─┬ ws@1.1.5
              │ │ ├── options@0.0.6
              │ │ └── ultron@1.0.2
              │ ├─┬ has-binary@0.1.7
              │ │ └── isarray@0.0.1
              │ ├── object-assign@4.1.0
              │ ├─┬ socket.io-adapter@0.5.0
              │ │ └─┬ debug@2.3.3
              │ │ └── ms@0.7.2
              │ ├─┬ socket.io-client@1.7.4
              │ │ ├── backo2@1.0.2
              │ │ ├── component-bind@1.0.0
              │ │ ├── component-emitter@1.2.1
              │ │ ├─┬ debug@2.3.3
              │ │ │ └── ms@0.7.2
              │ │ ├─┬ engine.io-client@1.8.5
              │ │ │ ├── component-emitter@1.2.1
              │ │ │ ├── component-inherit@0.0.3
              │ │ │ ├─┬ debug@2.3.3
              │ │ │ │ └── ms@0.7.2
              │ │ │ ├── has-cors@1.1.0
              │ │ │ ├── parsejson@0.0.3
              │ │ │ ├── parseqs@0.0.5
              │ │ │ ├── xmlhttprequest-ssl@1.5.3
              │ │ │ └── yeast@0.1.2
              │ │ ├── indexof@0.0.1
              │ │ ├── object-component@0.0.3
              │ │ ├─┬ parseuri@0.0.5
              │ │ │ └─┬ better-assert@1.0.2
              │ │ │ └── callsite@1.0.0
              │ │ └── to-array@0.1.4
              │ └─┬ socket.io-parser@2.3.1
              │ ├── component-emitter@1.1.2
              │ └── json3@3.3.2
              └── xtend@4.0.1
              ! packet folder is: /opt/iobroker/node_modules/iobroker.admin | exists: true
              npm install iobroker.js-controller@stable --production --save
              npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
              npm WARN prefer global npm@2.15.12 should be installed with -g
              ! > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
              node-gyp rebuild
              ! make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
              CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
              COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
              ! > ursa@0.9.4 install /opt/iobroker/node_modules/ursa
              node-gyp rebuild
              ! make: Verzeichnis „/opt/iobroker/node_modules/ursa/build“ wird betreten
              CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
              In file included from ../src/ursaNative.cc:3:0:
              ../src/ursaNative.h:10:17: fatal error: nan.h: Datei oder Verzeichnis nicht gefunden
              #include <nan.h>^
              compilation terminated.
              ursaNative.target.mk:96: die Regel für Ziel „Release/obj.target/ursaNative/src/ursaNative.o“ scheiterte
              make: Verzeichnis „/opt/iobroker/node_modules/ursa/build“ wird verlassen
              make: *** [Release/obj.target/ursaNative/src/ursaNative.o] Fehler 1
              gyp ERR! build error
              gyp ERR! stack Error: make failed with exit code: 2
              gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
              gyp ERR! stack at emitTwo (events.js:106:13)
              gyp ERR! stack at ChildProcess.emit (events.js:191:7)
              gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
              gyp ERR! System Linux 4.9.0-6-amd64
              gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/ursa
              gyp ERR! node -v v6.13.1
              gyp ERR! node-gyp -v v3.4.0
              gyp ERR! not ok
              ! > iobroker.js-controller@1.2.3 install /opt/iobroker/node_modules/iobroker.js-controller
              node iobroker.js setup first
              ! creating conf/iobroker.json
              /opt/iobroker/node_modules/socket.io-parser/index.js:6
              var debug = require('debug')('socket.io-parser');
              ^
              ! TypeError: require(...) is not a function
              at Object. <anonymous>(/opt/iobroker/node_modules/socket.io-parser/index.js:6:29)
              at Module._compile (module.js:577:32)
              at Object.Module._extensions..js (module.js:586:10)
              at Module.load (module.js:494:32)
              at tryModuleLoad (module.js:453:12)
              at Function.Module._load (module.js:445:3)
              at Module.require (module.js:504:17)
              at require (internal/module.js:20:19)
              at Object. <anonymous>(/opt/iobroker/node_modules/socket.io-client/lib/index.js:7:14)
              at Module._compile (module.js:577:32)
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: node-gyp rebuild
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
              npm ERR! Linux 4.9.0-6-amd64
              npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@stable" "--production" "--save"
              npm ERR! node v6.13.1
              npm ERR! npm v3.10.10
              npm ERR! code ELIFECYCLE
              ! npm ERR! iobroker.js-controller@1.2.3 install: node iobroker.js setup first
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the iobroker.js-controller@1.2.3 install script 'node iobroker.js setup first'.
              npm ERR! Make sure you have the latest version of node.js and npm installed.
              npm ERR! If you do, this is most likely a problem with the iobroker.js-controller package,
              npm ERR! not with npm itself.
              npm ERR! Tell the author that this fails on your system:
              npm ERR! node iobroker.js setup first
              npm ERR! You can get information on how to open an issue for this project with:
              npm ERR! npm bugs iobroker.js-controller
              npm ERR! Or if that isn't available, you can get their info via:
              npm ERR! npm owner ls iobroker.js-controller
              npm ERR! There is likely additional logging output above.
              ! npm ERR! Please include the following file with any support request:
              npm ERR! /opt/iobroker/npm-debug.log
              packet folder is: /opt/iobroker/node_modules/iobroker.js-controller | exists: false
              Cannot install as normal user. Try sudo...
              sudo npm install iobroker.js-controller@stable --production --save
              npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
              npm WARN prefer global npm@2.15.12 should be installed with -g
              ! > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
              node-gyp rebuild
              ! make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
              CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
              SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
              COPY Release/unix_dgram.node
              make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
              ! > ursa@0.9.4 install /opt/iobroker/node_modules/ursa
              node-gyp rebuild
              ! make: Verzeichnis „/opt/iobroker/node_modules/ursa/build“ wird betreten
              CXX(target) Release/obj.target/ursaNative/src/ursaNative.o
              In file included from ../src/ursaNative.cc:3:0:
              ../src/ursaNative.h:10:17: fatal error: nan.h: Datei oder Verzeichnis nicht gefunden
              #include <nan.h>^
              compilation terminated.
              ursaNative.target.mk:96: die Regel für Ziel „Release/obj.target/ursaNative/src/ursaNative.o“ scheiterte
              make: Verzeichnis „/opt/iobroker/node_modules/ursa/build“ wird verlassen
              make: *** [Release/obj.target/ursaNative/src/ursaNative.o] Fehler 1
              gyp ERR! build error
              gyp ERR! stack Error: make failed with exit code: 2
              gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
              gyp ERR! stack at emitTwo (events.js:106:13)
              gyp ERR! stack at ChildProcess.emit (events.js:191:7)
              gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
              gyp ERR! System Linux 4.9.0-6-amd64
              gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
              gyp ERR! cwd /opt/iobroker/node_modules/ursa
              gyp ERR! node -v v6.13.1
              gyp ERR! node-gyp -v v3.4.0
              gyp ERR! not ok
              ! > iobroker.js-controller@1.2.3 install /opt/iobroker/node_modules/iobroker.js-controller
              node iobroker.js setup first
              ! iobroker.inst@1.1.2 /opt/iobroker
              └─┬ iobroker.js-controller@1.2.3
              ├── daemonize2@0.4.2
              ├─┬ greenlock@2.1.19
              │ ├── asn1js@1.2.12
              │ ├─┬ certpem@1.0.1
              │ │ ├── buffer-v6-polyfill@1.0.5
              │ │ └── node.extend@1.1.6
              │ ├── homedir@0.6.0
              │ ├── le-acme-core@2.1.2
              │ ├─┬ le-challenge-sni@2.0.1
              │ │ └── le-tls-sni@0.1.4
              │ ├── le-store-certbot@2.0.5
              │ ├── localhost.daplie.me-certificates@1.3.5
              │ ├── node.extend@1.1.6
              │ ├── pkijs@1.3.33
              │ └─┬ rsa-compat@1.3.2
              │ └── node-forge@0.6.49
              ├─┬ jszip@3.1.5
              │ ├── core-js@2.3.0
              │ ├── es6-promise@3.0.2
              │ ├── lie@3.1.1
              │ ├── pako@1.0.6
              │ └─┬ readable-stream@2.0.6
              │ ├── isarray@1.0.0
              │ ├── process-nextick-args@1.0.7
              │ └── util-deprecate@1.0.2
              ├── le-challenge-fs@2.0.8
              ├── le-sni-auto@2.1.1
              ├─┬ mkdirp@0.5.1
              │ └── minimist@0.0.8
              ├── ncp@2.0.0
              ├─┬ node-schedule@1.3.0
              │ ├─┬ cron-parser@2.4.5
              │ │ ├── is-nan@1.2.1
              │ │ └─┬ moment-timezone@0.5.14
              │ │ └── moment@2.21.0
              │ ├── long-timeout@0.1.1
              │ └── sorted-array-functions@1.1.0
              ├─┬ node.extend@2.0.0
              │ └── is@3.2.1
              ├─┬ npm@2.15.12
              │ ├── abbrev@1.0.9
              │ ├── ansi@0.3.1
              │ ├── ansi-regex@2.0.0
              │ ├── ansicolors@0.3.2
              │ ├── ansistyles@0.1.3
              │ ├── archy@1.0.0
              │ ├── async-some@1.0.2
              │ ├── block-stream@0.0.9
              │ ├── char-spinner@1.0.1
              │ ├── chmodr@1.0.2
              │ ├── chownr@1.0.1
              │ ├── cmd-shim@2.0.2
              │ ├─┬ columnify@1.5.4
              │ │ └─┬ wcwidth@1.0.0
              │ │ └─┬ defaults@1.0.3
              │ │ └── clone@1.0.2
              │ ├─┬ config-chain@1.1.10
              │ │ └── proto-list@1.2.4
              │ ├─┬ dezalgo@1.0.3
              │ │ └── asap@2.0.3
              │ ├── editor@1.0.0
              │ ├── fs-vacuum@1.2.9
              │ ├─┬ fs-write-stream-atomic@1.0.8
              │ │ └── iferr@0.1.5
              │ ├── fstream@1.0.10
              │ ├─┬ fstream-npm@1.1.1
              │ │ └── fstream-ignore@1.0.5
              │ ├── github-url-from-git@1.4.0
              │ ├── github-url-from-username-repo@1.0.2
              │ ├─┬ glob@7.0.6
              │ │ ├── fs.realpath@1.0.0
              │ │ └── path-is-absolute@1.0.0
              │ ├── graceful-fs@4.1.6
              │ ├── hosted-git-info@2.1.5
              │ ├── imurmurhash@0.1.4
              │ ├── inflight@1.0.5
              │ ├── inherits@2.0.3
              │ ├── ini@1.3.4
              │ ├─┬ init-package-json@1.9.4
              │ │ ├─┬ glob@6.0.4
              │ │ │ └── path-is-absolute@1.0.0
              │ │ └── promzard@0.3.0
              │ ├── lockfile@1.0.1
              │ ├─┬ lru-cache@4.0.1
              │ │ ├── pseudomap@1.0.2
              │ │ └── yallist@2.0.0
              │ ├─┬ minimatch@3.0.3
              │ │ └─┬ brace-expansion@1.1.6
              │ │ ├── balanced-match@0.4.2
              │ │ └── concat-map@0.0.1
              │ ├─┬ mkdirp@0.5.1
              │ │ └── minimist@0.0.8
              │ ├─┬ node-gyp@3.6.0
              │ │ └── semver@5.3.0
              │ ├── nopt@3.0.6
              │ ├── normalize-git-url@3.0.2
              │ ├─┬ normalize-package-data@2.3.5
              │ │ └─┬ is-builtin-module@1.0.0
              │ │ └── builtin-modules@1.1.0
              │ ├── npm-cache-filename@1.0.2
              │ ├── npm-install-checks@1.0.7
              │ ├── npm-package-arg@4.1.0
              │ ├─┬ npm-registry-client@7.2.1
              │ │ ├─┬ concat-stream@1.5.2
              │ │ │ ├─┬ readable-stream@2.0.6
              │ │ │ │ ├── core-util-is@1.0.2
              │ │ │ │ ├── isarray@1.0.0
              │ │ │ │ ├── process-nextick-args@1.0.7
              │ │ │ │ ├── string_decoder@0.10.31
              │ │ │ │ └── util-deprecate@1.0.2
              │ │ │ └── typedarray@0.0.6
              │ │ └── retry@0.10.0
              │ ├── npm-user-validate@0.1.5
              │ ├─┬ npmlog@2.0.4
              │ │ ├─┬ are-we-there-yet@1.1.2
              │ │ │ └── delegates@1.0.0
              │ │ └─┬ gauge@1.2.7
              │ │ ├── has-unicode@2.0.0
              │ │ ├─┬ lodash.pad@4.4.0
              │ │ │ ├── lodash._baseslice@4.0.0
              │ │ │ ├── lodash._basetostring@4.12.0
              │ │ │ └── lodash.tostring@4.1.4
              │ │ ├── lodash.padend@4.5.0
              │ │ └── lodash.padstart@4.5.0
              │ ├── once@1.4.0
              │ ├── opener@1.4.1
              │ ├─┬ osenv@0.1.3
              │ │ ├── os-homedir@1.0.0
              │ │ └── os-tmpdir@1.0.1
              │ ├── path-is-inside@1.0.1
              │ ├─┬ read@1.0.7
              │ │ └── mute-stream@0.0.5
              │ ├─┬ read-installed@4.0.3
              │ │ ├── debuglog@1.0.1
              │ │ ├── readdir-scoped-modules@1.0.2
              │ │ └── util-extend@1.0.1
              │ ├─┬ read-package-json@2.0.4
              │ │ ├─┬ glob@6.0.4
              │ │ │ └── path-is-absolute@1.0.0
              │ │ └─┬ json-parse-helpfulerror@1.0.3
              │ │ └── jju@1.3.0
              │ ├─┬ readable-stream@2.1.5
              │ │ ├── buffer-shims@1.0.0
              │ │ ├── core-util-is@1.0.2
              │ │ ├── isarray@1.0.0
              │ │ ├── process-nextick-args@1.0.7
              │ │ ├── string_decoder@0.10.31
              │ │ └── util-deprecate@1.0.2
              │ ├── realize-package-specifier@3.0.1
              │ ├─┬ request@2.74.0
              │ │ ├── aws-sign2@0.6.0
              │ │ ├── aws4@1.4.1
              │ │ ├─┬ bl@1.1.2
              │ │ │ └─┬ readable-stream@2.0.6
              │ │ │ ├── core-util-is@1.0.2
              │ │ │ ├── isarray@1.0.0
              │ │ │ ├── process-nextick-args@1.0.7
              │ │ │ ├── string_decoder@0.10.31
              │ │ │ └── util-deprecate@1.0.2
              │ │ ├── caseless@0.11.0
              │ │ ├─┬ combined-stream@1.0.5
              │ │ │ └── delayed-stream@1.0.0
              │ │ ├── extend@3.0.0
              │ │ ├── forever-agent@0.6.1
              │ │ ├─┬ form-data@1.0.0-rc4
              │ │ │ └── async@1.5.2
              │ │ ├─┬ har-validator@2.0.6
              │ │ │ ├─┬ chalk@1.1.3
              │ │ │ │ ├── ansi-styles@2.2.1
              │ │ │ │ ├── escape-string-regexp@1.0.5
              │ │ │ │ ├── has-ansi@2.0.0
              │ │ │ │ └── supports-color@2.0.0
              │ │ │ ├─┬ commander@2.9.0
              │ │ │ │ └── graceful-readlink@1.0.1
              │ │ │ ├─┬ is-my-json-valid@2.13.1
              │ │ │ │ ├── generate-function@2.0.0
              │ │ │ │ ├─┬ generate-object-property@1.2.0
              │ │ │ │ │ └── is-property@1.0.2
              │ │ │ │ ├── jsonpointer@2.0.0
              │ │ │ │ └── xtend@4.0.1
              │ │ │ └─┬ pinkie-promise@2.0.1
              │ │ │ └── pinkie@2.0.4
              │ │ ├─┬ hawk@3.1.3
              │ │ │ ├── boom@2.10.1
              │ │ │ ├── cryptiles@2.0.5
              │ │ │ ├── hoek@2.16.3
              │ │ │ └── sntp@1.0.9
              │ │ ├─┬ http-signature@1.1.1
              │ │ │ ├── assert-plus@0.2.0
              │ │ │ ├─┬ jsprim@1.3.0
              │ │ │ │ ├── extsprintf@1.0.2
              │ │ │ │ ├── json-schema@0.2.2
              │ │ │ │ └── verror@1.3.6
              │ │ │ └─┬ sshpk@1.9.2
              │ │ │ ├── asn1@0.2.3
              │ │ │ ├── assert-plus@1.0.0
              │ │ │ ├── dashdash@1.14.0
              │ │ │ ├── ecc-jsbn@0.1.1
              │ │ │ ├── getpass@0.1.6
              │ │ │ ├── jodid25519@1.0.2
              │ │ │ ├── jsbn@0.1.0
              │ │ │ └── tweetnacl@0.13.3
              │ │ ├── is-typedarray@1.0.0
              │ │ ├── isstream@0.1.2
              │ │ ├── json-stringify-safe@5.0.1
              │ │ ├─┬ mime-types@2.1.11
              │ │ │ └── mime-db@1.23.0
              │ │ ├── node-uuid@1.4.7
              │ │ ├── oauth-sign@0.8.2
              │ │ ├── qs@6.2.1
              │ │ ├── stringstream@0.0.5
              │ │ ├── tough-cookie@2.3.1
              │ │ └── tunnel-agent@0.4.3
              │ ├── retry@0.10.0
              │ ├── rimraf@2.5.4
              │ ├── semver@5.1.0
              │ ├─┬ sha@2.0.1
              │ │ └─┬ readable-stream@2.0.2
              │ │ ├── core-util-is@1.0.1
              │ │ ├── isarray@0.0.1
              │ │ ├── process-nextick-args@1.0.3
              │ │ ├── string_decoder@0.10.31
              │ │ └── util-deprecate@1.0.1
              │ ├── slide@1.1.6
              │ ├── sorted-object@2.0.0
              │ ├── spdx-license-ids@1.2.2
              │ ├── strip-ansi@3.0.1
              │ ├── tar@2.2.1
              │ ├── text-table@0.2.0
              │ ├── uid-number@0.0.6
              │ ├── umask@1.1.0
              │ ├─┬ validate-npm-package-license@3.0.1
              │ │ ├── spdx-correct@1.0.2
              │ │ └─┬ spdx-expression-parse@1.0.2
              │ │ └── spdx-exceptions@1.0.4
              │ ├─┬ validate-npm-package-name@2.2.2
              │ │ └── builtins@0.0.7
              │ ├─┬ which@1.2.11
              │ │ └── isexe@1.1.2
              │ ├── wrappy@1.0.2
              │ └── write-file-atomic@1.1.4
              ├─┬ prompt@1.0.0
              │ ├── colors@1.2.1
              │ ├── pkginfo@0.4.1
              │ ├─┬ read@1.0.7
              │ │ └── mute-stream@0.0.7
              │ ├── revalidator@0.1.8
              │ ├─┬ utile@0.3.0
              │ │ ├── async@0.9.2
              │ │ ├── deep-equal@0.2.2
              │ │ ├── i@0.3.6
              │ │ └── ncp@1.0.1
              │ └─┬ winston@2.1.1
              │ ├── async@1.0.0
              │ ├── colors@1.0.3
              │ └── pkginfo@0.3.1
              ├── pyconf@1.1.2
              ├─┬ redis@2.8.0
              │ ├── double-ended-queue@2.1.0-0
              │ ├── redis-commands@1.3.5
              │ └── redis-parser@2.6.0
              ├── safe-replace@1.0.2
              ├─┬ tar@4.4.1
              │ ├── chownr@1.0.1
              │ ├── fs-minipass@1.2.5
              │ ├── minipass@2.2.4
              │ ├── minizlib@1.1.0
              │ └── yallist@3.0.2
              ├─┬ winston@2.4.1
              │ ├── async@1.0.0
              │ ├── colors@1.0.3
              │ ├── cycle@1.0.3
              │ ├── eyes@0.1.8
              │ └── stack-trace@0.0.10
              ├── winston-daily-rotate-file@1.7.2
              ├─┬ winston-syslog@1.2.6
              │ ├── glossy@0.1.7
              │ └─┬ unix-dgram@0.2.3
              │ ├── bindings@1.1.1
              │ └── nan@2.3.5
              └─┬ yargs@6.6.0
              └── yargs-parser@4.2.1
              ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: node-gyp rebuild
              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
              packet folder is: /opt/iobroker/node_modules/iobroker.js-controller | exists: true
              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.inst@1.1.2 /opt/iobroker
              └── iobroker@1.1.2</nan.h></anonymous></anonymous></nan.h>

              
              danach dieses
              
              >! ````
              root@debian:~# cd /opt/iobroker
              root@debian:/opt/iobroker# ./iobroker start
              Starting iobroker controller daemon...
              /opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136
                          throw new Error(msg.error);
                          ^
              >! Error: TypeError: define is not a function
                  at Object. <anonymous>(/opt/iobroker/node_modules/is-nan/index.js:11:1)
                  at Module._compile (module.js:577:32)
                  at Object.Module._extensions..js (module.js:586:10)
                  at Module.load (module.js:494:32)
                  at tryModuleLoad (module.js:453:12)
                  at Function.Module._load (module.js:445:3)
                  at Module.require (module.js:504:17)
                  at require (internal/module.js:20:19)
                  at Object. <anonymous>(/opt/iobroker/node_modules/cron-parser/lib/expression.js:7:17)
                  at Module._compile (module.js:577:32)
                  at ChildProcess. <anonymous>(/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:136:19)
                  at emitTwo (events.js:106:13)
                  at ChildProcess.emit (events.js:191:7)
                  at process.nextTick (internal/child_process.js:787:12)
                  at _combinedTickCallback (internal/process/next_tick.js:73:7)
                  at process._tickCallback (internal/process/next_tick.js:104:9)
              root@debian:/opt/iobroker#</anonymous></anonymous></anonymous> 
              

              Danke und gruß

              Werner

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

                @Kyocera007:

                ich habe da angefangen

                npm install -g npm@4
                dann Punkt 4
                dann installation ioBroker
                
                ```` `  
                

                Du hast aber gesehen, das der erste Befehl nur für den Fall gilt, das Du Dir vorher schon mit Node 8 ein npm v5 „eingefangen“ hast?

                355_3229512e-d996-4d35-93bb-1d8c2954fb35.jpeg

                WennDu das nicht hast, fängt die Doku für Nicht-Raspis mit Schritt 2 an.

                Gruß,

                Eric

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

                  hallo @Eric,

                  habe Schritt 2 + 3 ausgelassen, weil es eine ganz frische VM installation ist. gerade noch eine gemacht

                  Habe als erstes

                  apt update
                  apt upgrade
                  apt install curl
                  
                  ````ausgeführt
                  
                  danach dieses
                  
                  

                  Node.js neu installieren für Linux und Raspberry 2/3
                  curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
                  sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev nodejs
                  reboot

                  
                  und dann
                  
                  

                  sudo mkdir /opt/iobroker
                  sudo chmod 777 /opt/iobroker
                  cd /opt/iobroker
                  sudo npm install iobroker --unsafe-perm

                  
                  hängt wieder hier
                  

                  root@debian:/opt/iobroker# sudo npm install iobroker --unsafe-perm

                  iobroker@1.1.2 install /opt/iobroker/node_modules/iobroker
                  node lib/prepareSetup.js && node lib/setup.js

                  NPM version: 3.10.10
                  npm install iobroker.discovery@stable --production --save

                  serialport@4.0.7 install /opt/iobroker/node_modules/serialport
                  node-pre-gyp install --fallback-to-build

                  
                  jetzt nach 12 Minuten hat sich putty mit "Network error" abgemeldet.
                  
                  Das "node-pre-gyp install –fallback-to-build" scheint das Übel zu sein
                  
                  gruß Werner
                  1 Reply Last reply Reply Quote 0
                  • eric2905
                    eric2905 last edited by

                    Hi Werner,

                    hast Du vor dem

                    sudo mkdir /opt/iobroker
                    

                    mal ein

                    node -v
                    npm -v
                    

                    gemacht, und geprüft, welche Versionen drauf sind (npm 3 sehe ich oben und Node 6 dürfte es dann sein)?

                    Ich denke, Du bist als root angemeldet (weil Du vor dem apt update & Co. kein sudo angegeben hast).

                    Versuche die Installation mal komplett ohne das "sudo".

                    Welches Image hast Du denn als Vorlage genutzt? Download-URL wäre gut, dann teste ich es selber mal durch.

                    Gruß,

                    Eric

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

                      das war der link

                      https://www.debian.org/distrib/netinst#smallcd

                      Datei "debian-9.4.0-amd64-netinst.iso"

                      NPM version: 3.10.10
                      node version  6.13.1
                      
                      

                      Danke und Gruß

                      Werner

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

                        Dieses

                        sudo npm install -g npm@4
                        

                        hast Du aber <u>nicht</u> ausgeführt, oder?

                        Gruß,

                        Eric

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

                          Sag mal .. woran machst Du fest, das ioBroker nicht sauber installiert wurde?

                          In dem Log, welches Du weiter oben gepostet hast, steht

                          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.
                          

                          Wenn das nicht funktioniert, gibt es diesen FAQ-Eintrag (http://www.iobroker.net/docu/?page_id=2380&lang=de😞
                          355_start.png

                          Hast Du das mal probiert?

                          Gruß,

                          Eric

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

                            ja, habe beides ausprobiert.

                            Habe auch nachgesehen ob Dateien im Ordner ioBroker vorhanden sind.

                            per http://192.168.178.32:8081 komme ich nicht drauf

                            gruß Werner

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

                              habe auch jetzt nochmal bei dem neuen Verzeichnis iobroker geschaut,

                              da ist nur ein Verzeichnis "node_modules"

                              und eine datei "package.json"

                              Gruß

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

                                Moin,

                                meine Debian-Testinstallation mit dem ISO, was Du oben angegeben hast, ist problemlos durchgelaufen - hast insgesamt irgendwo um die 10 Minuten gedauert.

                                Bist Du Dir sicher, das Du die VM korrekt angelegt hast?

                                Genug RAM?

                                HDD groß genug?

                                Ausversehen eine suboptimal HDD-Version gewählt?

                                Usw?

                                Ich kann mir nicht denken, das es an ioBroker liegt, da ich die identischen Installationquellen (npm & Co.) genutzt habe.

                                Gruß,

                                Eric

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

                                  guten morgen Eric,

                                  ich habe es befürchtet, das ich ein Problem habe 😉

                                  Habe die VM genauso angelegt wie die VM-Fhem, die ja läuft.

                                  4 GB Ram

                                  32 GB Festplatte

                                  Debian läuft in der VM inkl. update und upgrade

                                  alles unter root installiert in der ioBroker VM

                                  Es hängt ja ab

                                  node-pre-gyp install --fallback-to-build
                                  
                                  

                                  Ist der Befehl denn richtig ?? mit den "-" (Bindestrich) dazwischen ??

                                  Gruß Werner
                                  5893_broker.png

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DeepCore last edited by

                                    Hast du````
                                    npm install node-gyp

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

                                      nein

                                      steht ja nicht in der Anleitung 😉

                                      Gruß

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

                                        ich habe jetzt das ISO-File von Raspberry geholt "Raspberry Pi Desktop (for PC and Mac)"

                                        https://www.raspberrypi.org/downloads/r … i-desktop/

                                        Habe wieder mal eine neue VM in ESXI angelegt mit den gleichen Parametern wie vorher

                                        Raspberry-Debian installiert

                                        Iobroker wie in der o.g. Anleitung installiert

                                        und jetzt ???

                                        Läuft 😮 🙂

                                        Update iobroker latest durchgeführt ioBroker.admin 3.3.3

                                        nur der TR-64.0 Adapter will noch nicht

                                        Fazit irgend etwas muss anders sein mit dem Originalen Debian 9, aber was ???

                                        Wäre schon Cool das noch heraus zu finden.

                                        Verstehe nicht das es bei dir @Eric funktioniert hat

                                        Gruß Werner

                                        EDIT: TR-64.0 läuft jetzt auch, bin jetzt auf dem Stand wie auch auf dem Raspi

                                        Laufen beide ESXI VM-ioBrocker und Raspberry-ioBroker parallel

                                        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

                                        884
                                        Online

                                        31.9k
                                        Users

                                        80.1k
                                        Topics

                                        1.3m
                                        Posts

                                        3
                                        19
                                        1408
                                        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