NEWS
[gelöst] Probleme mit Raspberry 3 Image
-
Welche Node- und npm-Versionen hast Du?
Gruß,
Eric
Von unterwegs getippert
-
Welche Node- und npm-Versionen hast Du?
Gruß,
Eric
Von unterwegs getippert `
pi@ioBroker-RasPi:/opt/iobroker $ nodejs -v
v8.11.1
pi@ioBroker-RasPi:/opt/iobroker $ npm –v
5.8.0
Zusätzlich:
pi@ioBroker-RasPi:/opt/iobroker $ sudo npm cache clean npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. npm ERR! npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-09-03T11_08_25_902Z-debug.log
Ps: echt schnelle Hilfe
-
Unexpected end of JSON input
lässt mich vermuten, dass da Dateien nicht sauber geschrieben wurden. Mag zwar doof klingen, aber eventuell den Admin einfach noch ein drittes Mal installieren?
-
Da stimmt doch irgendwas nicht:
pi@home:/opt/iobroker $ iobroker stop admin Cannot find any instances of "admin" pi@home:/opt/iobroker $ npm install iobroker.admin + iobroker.admin@3.5.7 updated 3 packages in 32.971s pi@home:/opt/iobroker $ iobroker list instances system.adapter.cloud.0 : cloud - disabled system.adapter.discovery.0 : discovery - enabled system.adapter.flot.0 : flot - enabled system.adapter.history.0 : history - enabled system.adapter.hm-rega.0 : hm-rega - disabled system.adapter.hm-rpc.0 : hm-rpc - enabled, port: 0 system.adapter.javascript.0 : javascript - enabled system.adapter.mobile.0 : mobile - disabled system.adapter.rpi2.0 : rpi2 - enabled system.adapter.socketio.0 : socketio - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin pi@home:/opt/iobroker $ iobroker upload admin got /opt/iobroker/node_modules/iobroker.admin/admin upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png pi@home:/opt/iobroker $ iobroker start admin Cannot find any instances of "admin" pi@home:/opt/iobroker $
Installation erfolgreich - aber starten kann ich ihn nicht :-?
-
bitte mach mal folgendes:
cd /opt/iobroker sudo iobroker stop sudo npm cache clean -f sudo npm install iobroker.admin --production sudo iobroker start
Gruß
Rainer
-
gesagt getan… leider ohne Erfolg:
pi@home:/opt/iobroker $ sudo iobroker stop Stopping iobroker controller daemon... iobroker controller daemon stopped. Exit code for "killall.sh": 123 pi@home:/opt/iobroker $ sudo npm cache clean -f npm WARN using --force I sure hope you know what you are doing. pi@home:/opt/iobroker $ sudo npm install iobroker.admin --production + iobroker.admin@3.5.7 updated 1 package in 26.591s pi@home:/opt/iobroker $ sudo iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 1502 pi@home:/opt/iobroker $ iobroker list instances system.adapter.cloud.0 : cloud - disabled system.adapter.discovery.0 : discovery - enabled system.adapter.flot.0 : flot - enabled system.adapter.history.0 : history - enabled system.adapter.hm-rega.0 : hm-rega - disabled system.adapter.hm-rpc.0 : hm-rpc - enabled, port: 0 system.adapter.javascript.0 : javascript - enabled system.adapter.mobile.0 : mobile - disabled system.adapter.rpi2.0 : rpi2 - enabled system.adapter.socketio.0 : socketio - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.vis.0 : vis - enabled
-
was sagt````
iobroker -v -
Da fehlt die Admin-Instanz. Da du den Adapter nicht einfach drübergebügelt hast, sondern vorher gelöscht, musst du erst noch eine Instanz hinzufügen.
iobroker add admin iobroker start admin.0
-
Da fehlt die Admin-Instanz. Da du den Adapter nicht einfach drübergebügelt hast, sondern vorher gelöscht, musst du erst noch eine Instanz hinzufügen.
iobroker add admin iobroker start admin.0 ```` `
Super. Genau das war es. Danke <emoji seq="1f600">
</emoji>
-
@Pep:Genau das war es. `
Markiere bitte das Thema im Betreff des ersten Beitrags als [gelöst].