NEWS
Iobroker kann nicht mehr gestartet werden
-
Hallo, ich bin gerade am verzweifeln. Nachdem mein odroid c1 sauber nun zwei Wochen lief, habe ich zur Lastverteilung auf meinem RPI 2 auch iobroker installiert und in dann über './iobroker setup custom' die IP des odroid mitgeteilt. Dann bin ich auf Host im odroid gegangen. Der hat mit angezeigt, dass es einen Update gibt. Leider ist der Update (warum auch immer) schief gegangen - und nicht nur das - jetzt kann ich auf dem odroid iobroker nicht mehr starten.
Wenn ich iobroker aufrufen kommt:
–-------------------------------------------
root@odroid:/opt/iobroker# ./iobroker start
module.js:340
throw err;
^
Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3
root@odroid:/opt/iobroker#
Was kann ich tun? Bin hier noch recht neu!
-
Ja, Multihostinstallation ist besonders mit Host-Updates über die Oberfläche etwas heikel - ich hatte da auch so meine Probleme damit. Mach jetzt auf dem Odroid mal folgendes:
iobroker stop npm install iobroker.js-controller iobroker start
Wenn es dann - hoffentlich! - wieder läuft nochmal einen Reboot des Odroiden…
Hoffe geholfen zu haben...
-
Danke, aber leider hat das auch nichts gebracht. Die Installation läuft einige Zeit und endet dann damit:
–--------------------------------------------------------------------------------
iobroker.js-controller@0.8.10 node_modules/iobroker.js-controller
├── mime@1.3.4
├── daemonize2@0.4.2
├── ncp@2.0.0
├── node.extend@1.1.5 (is@3.1.0)
├── adm-zip@0.4.7
├── semver@4.3.6
├── node-schedule@1.0.0 (long-timeout@0.0.2, cron-parser@1.1.0)
├── yargs@3.32.0 (decamelize@1.2.0, camelcase@2.1.1, y18n@3.2.1, window-size@0.1.4, os-locale@1.4.0, cliui@3.2.0, string-width@1.0.1)
├── winston@2.2.0 (cycle@1.0.3, stack-trace@0.0.9, eyes@0.1.8, isstream@0.1.2, pkginfo@0.3.1, async@1.0.0, colors@1.0.3)
├── socket.io@1.4.5 (has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, socket.io-adapter@0.4.0, engine.io@1.6.8)
├── winston-daily-rotate-file@1.0.1 (winston@2.1.1)
├── socket.io-client@1.4.5 (component-emitter@1.2.0, to-array@0.1.4, indexof@0.0.1, component-bind@1.0.0, backo2@1.0.2, object-component@0.0.3, parseuri@0.0.4, has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, engine.io-client@1.6.8)
├── request@2.72.0 (is-typedarray@1.0.0, aws-sign2@0.6.0, forever-agent@0.6.1, caseless@0.11.0, stringstream@0.0.5, tunnel-agent@0.4.2, oauth-sign@0.8.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, combined-stream@1.0.5, node-uuid@1.4.7, qs@6.1.0, aws4@1.3.2, mime-types@2.1.10, tough-cookie@2.2.2, form-data@1.0.0-rc4, bl@1.1.2, har-validator@2.0.6, hawk@3.1.3, http-signature@1.1.1)
├── prompt@1.0.0 (revalidator@0.1.8, colors@1.1.2, pkginfo@0.4.0, read@1.0.7, winston@2.1.1, utile@0.3.0)
├── iobroker.admin@1.0.2 (connect-flash@0.1.1, xtend@4.0.1, cookie-parser@1.4.1, passport-local@1.0.0, passport@0.2.2, express-session@1.13.0, body-parser@1.15.0, express@4.13.4)
├── tar.gz@1.0.3 (commander@2.9.0, tar@2.2.1, bluebird@2.10.2, fstream@1.0.8, chai@3.5.0, mout@0.11.1, mocha@2.4.5)
└── npm@2.15.4
root@odroid:~#
Schade. Gibt es noch andere Möglichkeiten?
-
Danke, aber leider hat das auch nichts gebracht. Die Installation läuft einige Zeit und endet dann damit:
–--------------------------------------------------------------------------------
iobroker.js-controller@0.8.10 node_modules/iobroker.js-controller
├── mime@1.3.4
├── daemonize2@0.4.2
├── ncp@2.0.0
├── node.extend@1.1.5 (is@3.1.0)
├── adm-zip@0.4.7
├── semver@4.3.6
├── node-schedule@1.0.0 (long-timeout@0.0.2, cron-parser@1.1.0)
├── yargs@3.32.0 (decamelize@1.2.0, camelcase@2.1.1, y18n@3.2.1, window-size@0.1.4, os-locale@1.4.0, cliui@3.2.0, string-width@1.0.1)
├── winston@2.2.0 (cycle@1.0.3, stack-trace@0.0.9, eyes@0.1.8, isstream@0.1.2, pkginfo@0.3.1, async@1.0.0, colors@1.0.3)
├── socket.io@1.4.5 (has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, socket.io-adapter@0.4.0, engine.io@1.6.8)
├── winston-daily-rotate-file@1.0.1 (winston@2.1.1)
├── socket.io-client@1.4.5 (component-emitter@1.2.0, to-array@0.1.4, indexof@0.0.1, component-bind@1.0.0, backo2@1.0.2, object-component@0.0.3, parseuri@0.0.4, has-binary@0.1.7, debug@2.2.0, socket.io-parser@2.2.6, engine.io-client@1.6.8)
├── request@2.72.0 (is-typedarray@1.0.0, aws-sign2@0.6.0, forever-agent@0.6.1, caseless@0.11.0, stringstream@0.0.5, tunnel-agent@0.4.2, oauth-sign@0.8.1, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, combined-stream@1.0.5, node-uuid@1.4.7, qs@6.1.0, aws4@1.3.2, mime-types@2.1.10, tough-cookie@2.2.2, form-data@1.0.0-rc4, bl@1.1.2, har-validator@2.0.6, hawk@3.1.3, http-signature@1.1.1)
├── prompt@1.0.0 (revalidator@0.1.8, colors@1.1.2, pkginfo@0.4.0, read@1.0.7, winston@2.1.1, utile@0.3.0)
├── iobroker.admin@1.0.2 (connect-flash@0.1.1, xtend@4.0.1, cookie-parser@1.4.1, passport-local@1.0.0, passport@0.2.2, express-session@1.13.0, body-parser@1.15.0, express@4.13.4)
├── tar.gz@1.0.3 (commander@2.9.0, tar@2.2.1, bluebird@2.10.2, fstream@1.0.8, chai@3.5.0, mout@0.11.1, mocha@2.4.5)
└── npm@2.15.4
root@odroid:~#
Schade. Gibt es noch andere Möglichkeiten? `
Es ist natürlich selbstverständlich, dass du diesen Befehl in ioBroker Verzeichnis ausführst. Ich denke, dass du es nicht gemacht hast und noch mal iobroker.js-controller in dein Homeverzeichnis installiert.cd /opt/iobroker iobroker stop npm install iobroker.js-controller iobroker start
-
Ok, war mir nicht bewusst.
npm install iobroker.js-controller unter /opt/iobroker funktioniert nun. Danke!!!!
-
Sorry dass ich den Verzeichniswechsel, also
cd /opt/iobroker
nicht dazugeschrieben und dir damit noch mehr Arbeit gemacht habe. Ich kann mich noch erinnern, dass sowas als ich mit Computern angefangen habe für mich auch keineswegs selbstverständlich war
Schön dass jetzt wieder alles läuft.
-
Hallo Thisoft: Kein Problem. Ich hoffe ich lerne dank eurer Unterstützung schnell dazu!
Hallo Bluefox: Auch dir noch einmal vielen Dank!
Im Übrigen ist iobroker schon eine tolle Sache.
Dann hätte ich noch eine Frage. Bei der Installation des js-controllers habe ich verschiedene Warnmeldungen bekommen. Sollte ich da was tun?
-
Dann hätte ich noch eine Frage. Bei der Installation des js-controllers habe ich verschiedene Warnmeldungen bekommen.
Sollte ich da was tun? `
Ja.Du muss die ignorieren. :lol:
-
Ok, werde ich tun