NEWS
History Adapter lässt sich nicht installieren
-
Hallo
kann einer von den Profis Mal hier drauf schauen? Wenn ich den History Adapter installieren möchte (über WebAdmin) dann bekomme ich den Fehler:
Fertig mit Fehler: reading io-package.json SyntaxError: Unexpected end of JSON inputHab dann gelesen, man könnte es Mal mit einem upload history über SSH probieren, hier das Ergebnis: :
iobroker upload history got /opt/iobroker/node_modules/iobroker.history/admin upload [6] history.admin /opt/iobroker/node_modules/iobroker.history/admin/words Custom.js wordsCustom.js application/javascript upload [5] history.admin /opt/iobroker/node_modules/iobroker.history/admin/words .js words.js application/javascript upload [4] history.admin /opt/iobroker/node_modules/iobroker.history/admin/index _m.html index_m.html text/html upload [3] history.admin /opt/iobroker/node_modules/iobroker.history/admin/index .html index.html text/html upload [2] history.admin /opt/iobroker/node_modules/iobroker.history/admin/histo ry.png history.png image/png upload [1] history.admin /opt/iobroker/node_modules/iobroker.history/admin/custo m_m.html custom_m.html text/html upload [0] history.admin /opt/iobroker/node_modules/iobroker.history/admin/custo m.html custom.html text/html Cannot find io-package.json in /opt/iobroker/node_modules/iobroker.history module.js:675 throw err; ^ SyntaxError: /opt/iobroker/node_modules/iobroker.history/io-package.json: Unexpe cted end of JSON input at JSON.parse (<anonymous>) at Object.Module._extensions..json (module.js:672:27) at Module.load (module.js:566:32) at tryModuleLoad (module.js:506:12) at Function.Module._load (module.js:498:3) at Module.require (module.js:597:17) at require (internal/module.js:11:18) at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/l ib/setup/setupUpload.js:219:23) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:890:52 at Upload.upgradeAdapterObjects (/opt/iobroker/node_modules/iobroker.js-cont roller/lib/setup/setupUpload.js:464:13) -
Was kommt bei:
iobroker list instances
-
iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bin d: 0.0.0.0, run as: admin system.adapter.discovery.0 : discovery - enabled system.adapter.flot.0 : flot - enabled system.adapter.rpi2.0 : rpi2 - enabled system.adapter.sql.0 : sql - enabled system.adapter.terminal.0 : terminal - enabled, port: 8088, bin d: 0.0.0.0, run as: admin system.adapter.vis-history.0 : vis-history - enabled system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bin d: 0.0.0.0, run as: admin -
iobroker list instances system.adapter.admin.0 : admin - enabled, port: 8081, bin d: 0.0.0.0, run as: admin system.adapter.discovery.0 : discovery - enabled system.adapter.flot.0 : flot - enabled system.adapter.rpi2.0 : rpi2 - enabled system.adapter.sql.0 : sql - enabled system.adapter.terminal.0 : terminal - enabled, port: 8088, bin d: 0.0.0.0, run as: admin system.adapter.vis-history.0 : vis-history - enabled system.adapter.vis.0 : vis - enabled system.adapter.web.0 : web - enabled, port: 8082, bin d: 0.0.0.0, run as: adminMach mal bitte auf der Konsole:
sudo -H npm cache clean -fAnschließend den Adapter (!!) löschen und neu installieren
-
Hat leider nicht geklappt. Trotzdem vielen Dank!
Dem nächsten mit diesen Problem hilft es hoffentlich.Hab jetzt die SD Karte platt gemacht, waren mir zu viele Restriktionen auf dem fertigen Stretch Image. Alle Beispiele die ich ausprobieren wollte gingen in die Hose und das hat mich viel zu viel Zeit gekostet und eine Datenbank konnte ich auch nicht installieren.
Hab iobroker jetzt selbst installiert, sieht bisher ganz gut aus. Aber ich lerne noch.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden