NEWS
Problem mit Admin
-
Hey Leute,
ich habe heute mal meine Adapter upgedatet, aber nun habe ich ein kleines, aber auch großes Problem. Ich kann meinen Admin nicht mehr aufrufen. Wenn ich http://meine_ip:8082 aufrufe funktioniert alles ( VIS, VIS Editor, Flot ), Aber Admin bzw. http://meine_ip:8081 nicht. Hier kommt nur folgender Text:
` > This adapter cannot be installed directly from github.
You must install it from npm.
Write for that "npm install iobroker.admin" in according directory. `
Folgendes habe ich schon versucht:
1. http://www.iobroker.net/docu/?page_id=3928&lang=de –> Kein Erfolg
` > ````
sudo pgrep -f '^io.*' |xargs kill -9
cd /opt/iobroker
sudp npm cache clean
sudo npm install iobroker.js-controller
sudo npm install iobroker.admin
sudo chmod 777 * -R
iobroker l i
iobroker start
```` ` –> Kein ErfolgNach den beiden Versuchen wurde der Raspi jedes mal neu gestartet.
Hier der Auszug von dem Befehl "iobroker list instances" :
pi@raspberry_io:/opt/iobroker $ iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.cloud.0 : cloud - enabled system.adapter.discovery.0 : discovery - disabled system.adapter.feiertage.0 : feiertage - enabled system.adapter.flot.0 : flot - disabled system.adapter.history.0 : history - disabled system.adapter.hm-rega.0 : hm-rega - enabled system.adapter.hm-rpc.0 : hm-rpc - enabled, port: 0 system.adapter.hm-rpc.1 : hm-rpc - enabled, port: 0 system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png - disabled system.adapter.icons-fatcow-hosting.0 : icons-fatcow-hosting - disabled system.adapter.icons-icons8.0 : icons-icons8 - disabled system.adapter.icons-material-png.0 : icons-material-png - disabled system.adapter.icons-material-svg.0 : icons-material-svg - disabled system.adapter.icons-mfd-png.0 : icons-mfd-png - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png - disabled system.adapter.javascript.0 : javascript - enabled system.adapter.jeelink.0 : jeelink - disabled system.adapter.mobile.0 : mobile - disabled system.adapter.node-red.0 : node-red - disabled, port: 1880 system.adapter.ping.0 : ping - enabled system.adapter.radar.0 : radar - disabled system.adapter.rpi2.0 : rpi2 - enabled system.adapter.sql.0 : sql - enabled, port: 0 system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command - enabled system.adapter.upnp.0 : upnp - disabled system.adapter.vis-bars.0 : vis-bars - disabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges - disabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch - disabled system.adapter.vis-history.0 : vis-history - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets - disabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd - enabled system.adapter.vis-justgage.0 : vis-justgage - disabled system.adapter.vis-material.0 : vis-material - enabled system.adapter.vis-metro.0 : vis-metro - disabled system.adapter.vis-players.0 : vis-players - disabled system.adapter.vis-rgraph.0 : vis-rgraph - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather - disabled system.adapter.vis-weather.0 : vis-weather - disabled system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin
Weis einer noch eine Lösung, so dass ich den Raspi nicht neu aufsetzen muss?
-
npm install https://github.com/ioBroker/ioBroker.js-controller/tarball/master —production
Gruß Rainer
-
pi@raspberry_io:/opt/iobroker $ sudo npm install https://github.com/ioBroker/io Broker.js-controller/tarball/master —production npm ERR! addLocal Could not install /opt/iobroker/—production npm ERR! fetch failed https://github.com/ioBroker/ioBroker.js-controller/tarball /master npm WARN retry will retry, error on last attempt: TypeError: The header content contains invalid characters npm ERR! fetch failed https://github.com/ioBroker/ioBroker.js-controller/tarball /master npm WARN retry will retry, error on last attempt: TypeError: The header content contains invalid characters npm ERR! fetch failed https://github.com/ioBroker/ioBroker.js-controller/tarball /master npm ERR! Linux 4.14.34-v7+ npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "https://github.com/ioBro ker/ioBroker.js-controller/tarball/master" "—production" npm ERR! node v6.14.1 npm ERR! npm v3.10.10 npm ERR! path /opt/iobroker/—production npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/—producti on' npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/—producti on' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent npm ERR! Please include the following file with any support request: npm ERR! /opt/iobroker/npm-debug.log
Hat leider keinen Erfolg gebracht. Hab es auch mit "sudo" versucht
-
Hallo,
ich frage mal vorsichtig: Ist npm 3.x noch aktuell?
Vielleicht solltest du npm mal updaten. Kann das jemand anderes bestätigen?
Pix
-
@pix:Ist npm 3.x noch aktuell? `
Ja, gehört zu nodejs 6.x. -
Also, ich habe jetzt mal IoBroker deinstalliert, neu installiert und das Backup eingespielt. Soweit läuft er wieder.
Kann man einfach Node ohne Probleme updaten?
Wenn ja hat jemand schnell eine Anleitung parat, da es über sudo APT-GET update && upgrade nicht upgedatet wird.
Gesendet von iPhone mit Tapatalk