NEWS
Update/upgrade Probleme / Cloud Down?
-
Nach längerer Zeit wollte ich das Sysgtem mal updaten.
Aktuell habe ich bei HOSTS folgendes Problem….siehe unten
Cloud Adapter startet auch nicht mehr und ist rot.
Jemand ne Idee, woran das liegen könnte?
Eine zweite Instanz der Cloud kann auch nicht installiert werden.
Ebenfalls kann ich den VIS Adapter nicht aktualisieren. Nachdem ich ihn gelöscht hatte, konnte ich ihn auch nicht wieder installieren.
Scheint generell ein Problem mit dem PARSEN zu haben!?
pi@ioBroker-Pi:/opt/iobroker $ sudo iobroker upgrade self Update js-controller from @1.2.1 to @1.4.2 npm install iobroker.js-controller@1.4.2 --unsafe-perm --production --prefix "/opt/iobroker" (System call) npm ERR! Linux 4.9.59-v7+ npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@1.4.2" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.12.0 npm ERR! npm v3.10.10 npm ERR! file /root/.npm/jsonwebtoken/8.2.1/package/package.json npm ERR! code EJSONPARSE npm ERR! Failed to parse json npm ERR! No data, empty input at 1:1 npm ERR! npm ERR! ^ npm ERR! File: /root/.npm/jsonwebtoken/8.2.1/package/package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! This is not a bug in npm. npm ERR! Tell the package author to fix their package.json file. JSON.parse npm ERR! Please include the following file with any support request: npm ERR! /opt/iobroker/npm-debug.log Host "ioBroker-Pi" (linux) updated Execute: chmod -R 777 /opt/iobroker Chmod finished. Restart controller Starting node restart.js pi@ioBroker-Pi:/opt/iobroker $ sudo iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 924 pi@ioBroker-Pi:/opt/iobroker $
-
npm cache clean
Ausführen und nochmal versuchen bitte.
Eine zweite cloud Instanz muss auch gehen. welche Fehler im log bei cloud wenn du startest wo rot ist?
-
Hi..cache geleert….folgende Fehlermeidung bei installation einer zweiten Instanz
> Fertig mit Fehler: module.js:597 throw err; ^ SyntaxError: /opt/iobroker/node_modules/iobroker.cloud/io-package.json: Unexpected end of JSON input at Object.parse (native) at Object.Module._extensions..json (module.js:594:27) 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 Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:220:23) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:611:24 at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:394:57)
folgendes bei sudo iobroker update:
` > pi@ioBroker-Pi:/opt/iobroker $ sudo iobroker update
Used repository: latest
update done
Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../no de_modules/iobroker.cloud/io-package.json: SyntaxError: Unexpected end of JSON i nput
Adapter "admin" : 3.4.3 , installed 3.4.3
Adapter "admin-2" : 2.0.10
Adapter "amazon-dash" : 0.2.9
Adapter "artnet" : 1.0.0
Adapter "b-control-em" : 0.2.1
Adapter "benq" : 0.2.0
Adapter "ble" : 0.5.2
Adapter "bmw" : 1.3.3
Adapter "boblight" : 0.0.1
Adapter "bosesoundtouch": 0.1.9
Adapter "botvac" : 1.0.0
Adapter "broadlink2" : 1.9.0
Adapter "chromecast" : 1.4.2
Adapter "cloud" : 2.6.1
Adapter "contactid" : 0.1.0
Adapter "cul" : 0.4.0
Adapter "daikin" : 1.0.2
Adapter "daswetter" : 1.0.3
Adapter "deconz" : 0.2.0
Adapter "discovery" : 1.1.0 , installed 1.1.0
Adapter "dwd" : 2.2.2
Adapter "ebus" : 0.5.1
Adapter "egigeozone" : 0.1.2
Adapter "ekey" : 0.2.1
Adapter "email" : 1.0.4
Adapter "enet" : 1.0.0
Adapter "epson_stylus_px830": 0.1.2
Adapter "fakeroku" : 0.2.1
Adapter "feiertage" : 1.0.6
Adapter "fhem" : 0.5.0
Adapter "find-my-iphone": 0.2.17
Adapter "firetv" : 0.0.33
Adapter "flot" : 1.7.9
Adapter "foobar2000" : 1.0.0
Adapter "fritzbox" : 0.2.1
Adapter "fritzdect" : 0.1.1
Adapter "fronius" : 1.0.2
Adapter "fullcalendar" : 0.2.4
Adapter "g-homa" : 0.3.0
Adapter "geofency" : 0.3.2
Adapter "habpanel" : 0.1.7
Adapter "haier" : 1.0.0
Adapter "harmony" : 0.9.0
Adapter "hid" : 0.1.17
Adapter "hilink" : 0.2.6
Adapter "history" : 1.7.4 , installed 1.7.4
Adapter "hm-rega" : 1.7.0
Adapter "hm-rpc" : 1.6.2
Adapter "hmm" : 1.0.1
Adapter "homepilot" : 1.0.1
Adapter "hp-ilo" : 1.0.0
Adapter "hs100" : 1.0.1
Adapter "hue" : 0.6.9
Adapter "hyperion" : 0.0.9
Adapter "i2c" : 0.0.3
Adapter "ical" : 1.6.0
Adapter "icons-addictive-flavour-png": 0.1.0
Adapter "icons-fatcow-hosting": 0.1.0
Adapter "icons-icons8" : 0.0.1
Adapter "icons-material-png": 0.1.0
Adapter "icons-material-svg": 0.1.0
Adapter "icons-mfd-png" : 1.0.2
Adapter "icons-mfd-svg" : 1.0.2
Adapter "icons-open-icon-library-png": 0.1.3
Adapter "icons-ultimate-png": 1.0.1
Adapter "influxdb" : 1.5.2
Adapter "info" : 0.1.0
Adapter "innogy-smarthome": 0.2.0
Adapter "javascript" : 3.6.4 , installed 3.6.4
Adapter "jeelink" : 0.0.4
Controller "js-controller" : 1.4.2 , installed 1.2.1 [Updateable]
Adapter "js2fs" : 0.1.5
Adapter "kecontact" : 0.0.3
Adapter "km200" : 1.1.6
Adapter "knx" : 1.0.10
Adapter "kodi" : 1.0.0
Adapter "landroid" : 1.0.0
Adapter "landroid-s" : 2.1.1
Adapter "lgtv" : 1.0.5
Adapter "lgtv-rs" : 0.0.4
Adapter "lgtv11" : 1.0.4
Adapter "lifx" : 0.0.5
Adapter "lightify" : 0.2.16
Adapter "loxone" : 0.4.0
Adapter "material" : 0.5.6
Adapter "maxcube" : 0.1.2
Adapter "maxcul" : 0.5.3
Adapter "mbus" : 0.1.8
Adapter "mclighting" : 0.0.10
Adapter "megad" : 1.2.1
Adapter "megadd" : 0.2.0
Adapter "megaesp" : 0.1.0
Adapter "miele" : 0.1.5
Adapter "mihome" : 1.0.5
Adapter "mihome-lamp" : 1.0.0
Adapter "mihome-plug" : 0.1.1
Adapter "mihome-vacuum" : 1.1.0
Adapter "mikrotik" : 1.0.0
Adapter "milight" : 0.3.4
Adapter "milight-smart-light": 0.1.8
Adapter "mobile" : 0.4.11 , installed 0.4.11
Adapter "modbus" : 1.1.1
Adapter "mpd" : 1.0.2
Adapter "mqtt" : 1.5.0
Adapter "mqtt-client" : 1.1.1
Adapter "musiccast" : 0.0.7
Adapter "mysensors" : 1.2.0
Adapter "netatmo" : 1.3.1
Adapter "node-red" : 1.5.1
Adapter "noolite" : 0.0.1
Adapter "nut" : 1.1.3
Adapter "onkyo" : 0.2.1
Adapter "openhab" : 0.2.1
Adapter "opi" : 0.1.1
Adapter "owfs" : 0.5.0
Adapter "owntracks" : 0.2.0
Adapter "panasonic-viera": 0.1.0
Adapter "parser" : 1.0.1
Adapter "paw" : 0.0.7
Adapter "phantomjs" : 1.0.1
Adapter "piface" : 1.0.0
Adapter "pimatic" : 0.1.5
Adapter "ping" : 1.3.2
Adapter "places" : 0.6.0
Adapter "plexconnect" : 0.0.6
Adapter "proxmox" : 0.1.0
Adapter "proxy" : 1.0.1
Adapter "pushbullet" : 0.0.11
Adapter "pushover" : 1.0.4 , installed 1.0.4
Adapter "pushsafer" : 0.1.8
Adapter "radar" : 1.1.3
Adapter "rflink" : 1.2.0
Adapter "rickshaw" : 0.4.5
Adapter "rpi2" : 0.3.2 , installed 0.3.2
Adapter "rwe-smarthome" : 0.1.11
Adapter "s7" : 1.1.3
Adapter "samsung" : 0.2.9
Adapter "sayit" : 1.6.8
Adapter "sbfspot" : 2.2.1
Adapter "scenes" : 1.1.0
Adapter "simple-api" : 1.6.3 , installed 1.6.3
Adapter "sma-em" : 0.5.3
Adapter "smartmeter" : 1.1.3
Adapter "snmp" : 0.5.0
Adapter "socketio" : 2.1.0 , installed 2.1.0
Adapter "solarwetter" : 1.0.0
Adapter "sonoff" : 2.1.3 , installed 2.1.3
Adapter "sonos" : 1.6.2
Adapter "sony-bravia" : 0.1.0
Adapter "spotify-premium": 0.2.1
Adapter "sql" : 1.8.0
Adapter "squeezebox" : 0.2.1
Adapter "starline" : 1.0.0
Adapter "synology" : 0.0.3
Adapter "systeminfo" : 0.2.2
Adapter "tankerkoenig" : 1.0.4
Adapter "telegram" : 1.2.3
Adapter "terminal" : 0.1.2
Adapter "text2command" : 1.2.2
Adapter "tr-064" : 0.4.18
Adapter "tradfri" : 1.4.1
Adapter "tvspielfilm" : 1.0.4
Adapter "unifi" : 0.3.1
Adapter "upnp" : 0.3.8
Adapter "vcard" : 0.0.9
Adapter "viessmann" : 0.4.0
Adapter "vis" : 1.1.4
Adapter "vis-bars" : 0.1.4
Adapter "vis-canvas-gauges": 0.1.5
Adapter "vis-colorpicker": 1.1.1
Adapter "vis-fancyswitch": 1.1.0
Adapter "vis-google-fonts": 0.1.0
Adapter "vis-history" : 0.2.7
Adapter "vis-hqwidgets" : 1.1.1
Adapter "vis-jqui-mfd" : 1.0.11
Adapter "vis-justgage" : 1.0.0
Adapter "vis-keyboard" : 0.0.2
Adapter "vis-lcars" : 1.0.4
Adapter "vis-map" : 1.0.1
Adapter "vis-material" : 0.1.3
Adapter "vis-metro" : 1.1.2
Adapter "vis-players" : 0.1.5
Adapter "vis-plumb" : 1.0.1
Adapter "vis-rgraph" : 0.0.2
Adapter "vis-timeandweather": 1.1.7
Adapter "vis-weather" : 1.2.0
Adapter "vr200" : 0.2.0
Adapter "weatherunderground": 1.1.2
Adapter "web" : 2.3.4 , installed 2.3.4
Adapter "wetty" : 0.1.1
Adapter "wifilight" : 0.2.0
Adapter "wm-bus" : 0.3.1
Adapter "wolf" : 0.9.2
Adapter "xs1" : 1.0.2
Adapter "yahka" : 0.7.1
Adapter "yamaha" : 0.3.19
Adapter "yr" : 1.0.6
Adapter "zont" : 0.5.2
Adapter "zwave" : 1.1.0 `
LOG:
` > host.ioBroker-Pi 2018-05-25 03:03:11.764 info Restart adapter system.adapter.cloud.0 because enabledhost.ioBroker-Pi 2018-05-25 03:03:11.764 error instance system.adapter.cloud.0 terminated with code 0 (OK)
host.ioBroker-Pi 2018-05-25 03:03:11.387 info instance system.adapter.cloud.0 started with pid 13076 `
-
Da hat es eine json Datei „zerschossen“. Am besten cloud Adapter mal manuell drüber installieren.
npm install iobroker.cloud —production —save
(das sind jeweils zwei minus Zeichen!)
Und mal Dateisystem checken nicht das die sd Karte nen Schuss weg hat.
-
@apollon77 habe selbiges Problem seit einigen Tagen, Neuinstallation hat nicht geholfen. Arbeite jedoch ohne cloud-adapter. Kannst Du helfen? BG
rock64@rock64:~$ npm cache clean npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guar anteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the o ther hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one. 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! /home/rock64/.npm/_logs/2019-07-19T22_34_16_894Z-debug.log rock64@rock64:~$ sudo iobroker update Used repository: default update done Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.telegram/io -package.json: SyntaxError: Unexpected end of JSON input Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.telegram/io -package.json: SyntaxError: Unexpected end of JSON input Adapter "admin" : 3.6.2 , installed 3.6.2 Adapter "alexa2" : 2.4.4 Adapter "alpha2" : 1.0.0 Adapter "amazon-dash" : 0.3.1 Adapter "artnet" : 1.0.0 Adapter "asterisk" : 1.0.6 Adapter "asuswrt" : 1.0.1 Adapter "b-control-em" : 0.2.1 Adapter "backitup" : 1.1.4 , installed 1.1.4
-
Da es eleider von oben keine Rückmeldung gab ob das was ich geschrieben habe geholfen hat mach doch mal das gleiche äquivalent ... nur anstelle cloud nimmst Du telegram ...