NEWS
Vis nach Restore nicht erreichbar
-
Hallo, ich habe ein ähnliches Problem. Meine Vis ist auch nicht erreichbar nach Restore.
Nachinstall geht aber nicht. Weder Terminal noch Adapter, noch Katze
iob upgrade vis@1.4.10
noch
iob upgrade vis@1.4.16iob upgrade vis@1.4.16 This upgrade of "vis" will at least introduce the following changes: ========================================================================== -> 1.4.16: Corrected connection with "only port" URLs -> 1.4.15: Better check of the offline license -> 1.4.14: Corrected GUI bug -> 1.4.13: The group attributes will be replaced recursively -> 1.4.12: Fixed bug with the export of specific widgets -> 1.4.11: Removed ES6 commands to be supported by older browsers Fixed problem with update of grouped widgets Added web manifest to be able to handle vis as the web app -> 1.4.8: Added support for js-controller 4.x ========================================================================== BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES! Would you like to upgrade vis from @0.0.0 to @1.4.16 now? [(y)es, (n)o]: y Update vis from @0.0.0 to @1.4.16 NPM version: 6.14.18 Installing iobroker.vis@1.4.16... (System call) > iobroker.vis@1.4.16 install /opt/iobroker/node_modules/iobroker.vis > node main.js --install host.solpiplog Cannot install iobroker.vis@1.4.16: 6
Hier der Log: Adpater Vis install:
$ iobroker add vis auto --host solpiplog --debug NPM version: 6.14.18 Installing iobroker.vis@1.4.16... (System call) > iobroker.vis@1.4.16 install /opt/iobroker/node_modules/iobroker.vis> node main.js --install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 6 npm ERR! iobroker.vis@1.4.16 install: `node main.js --install` npm ERR! Exit status 6npm ERR! npm ERR! Failed at the iobroker.vis@1.4.16 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-05-07T10_28_42_554Z-debug.log host.solpiplog Cannot install iobroker.vis@1.4.16: 6 ERROR: Process exited with code 25
Und das von der "Katze / Git Install)
$ iobroker url iobroker.vis --host solpiplog --debug install iobroker.vis NPM version: 6.14.18 Installing iobroker.vis... (System call) > iobroker.vis@1.4.16 install /opt/iobroker/node_modules/iobroker.vis> node main.js --install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! code ELIFECYCLE npm ERR! errno 6 npm ERR! iobroker.vis@1.4.16 install: `node main.js --install` npm ERR! Exit status 6npm ERR! npm ERR! Failed at the iobroker.vis@1.4.16 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-05-07T10_31_49_606Z-debug.log host.solpiplog Cannot install iobroker.vis: 6 ERROR: Process exited with code 25
Wer kann mir bitte helfen?
-
Hast du vor dem Einspielen des Backups den vis-Adapter installiert? Und lass sie Finger von der Katze/GitHub, wenn nicht unbedingt erforderlich.
-
iobroker upgrade iobroker.vis@1.4.0
dann Große Frage :
nach Restore.
denn
NPM version: 6.14.18
ist alt und nicht aktuell ... bzw. nicht auf die empfohlende NodeJS 18
-
@thomas-braun nein, habe ich nicht gewusst. Habe auf altem Pi den ioBroker installiert.
@Glasfaser wie kann ich denn npm updaten, ohne was kaputt zu machen und wie dann die vis installieren?
Ich habe das Backup. Ich könnte irgendwie nochmal von vorne anfangen und vis erst installieren und dann Backup einspielen. Nur wie und in welcher Reihenfolge bevor mehr Schaden nimmt. Quasi ein ioBroker Reset oder so?
-
@mika-0 sagte in Vis nach Restore nicht erreichbar:
@Glasfaser wie kann ich denn npm updaten, ohne was kaputt zu machen
Nicht nur nmp !!!
Schau in die Signatur von @Thomas-Braun da ist alles erklärt ! -
@glasfaser Was ist denn nun die Lösung? Hab das gleiche Problem. Alle anderen Adapter werden automatisch installiert und vis muß man vorhermanuell installieren?
-
@matis sagte in Vis nach Restore nicht erreichbar:
Alle anderen Adapter werden automatisch installiert und vis muß man vorhermanuell installieren?
Ja.
-
@thomas-braun
Danke, aber da muß man ja fast auf die Nase fallen.Hab es jetzt doch nachträglich installiert:
pkill -u iobroker
npm install iobroker.vis@1.4.16
Container neu starten
vis nochmals im GUI gelöscht und dann ging es installieren und hat auch funktioniert