NEWS
javascript bleibt rot bei iob Neustart
-
@thomas-braun
Das kann man aber nicht wissen.
Zumal im log ja was anderes stand.Aber Danke für die Info.
Muss ich mir mal aufschreiben. -
@bahnuhr sagte in javascript bleibt rot bei iob Neustart:
Zumal im log ja was anderes stand.
Im Log steht eigentlich genau das drin, wenn man
--production
verwendet. -
@Thomas-Braun
das stand im log@bahnuhr sagte in javascript bleibt rot bei iob Neustart:
Dort steht zum Schluss dann:
Please execute "npm install --production" in adapter directory manually. -
@thomas-braun
Was ist die empfohlene npm und nodejs Version aktuell ?
Ist das irgendwo immer aktuell beshrieben ? Hab leider nichts gefunden -
@gargano sagte in javascript bleibt rot bei iob Neustart:
@thomas-braun
Was ist die empfohlene npm und nodejs Version aktuell ?
Ist das irgendwo immer aktuell beshrieben ? Hab leider nichts gefundensteht doch bei Info drin:
-
Nodejs@16, die bringt die passende npm@8 gleich richtig mit.
Wenn nodejs denn richtig installiert wurde. -
@thomas-braun
@bahnuhr
Danke , dann habe ich die aktuellsteManchmal sieht man halt den Wald vor lauter Bäumen nicht.
-
-
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Debian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.6 ioBroker Status: iobroker is running on this host. At least one iobroker host is running. Objects type: redis States type: redis Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 1 Active repo(s): Beta (latest) Objects: 19917 States: 18221 Size of iob-Database: 5.2M /opt/iobroker/iobroker-data/objects.json.bak 5.2M /opt/iobroker/iobroker-data/objects.json 40K /opt/iobroker/iobroker-data/states.json.bak 40K /opt/iobroker/iobroker-data/states.json =================== END OF SUMMARY ====================
-
Passt grundsätzlich.
Schaufel das Update beim iobroker noch rein und stell das RunLevel / Boot Target auf Multi-User um. -
@thomas-braun
Das pending Update ist der Gerätemanager, der ist noch auf 1.1.1 , weil der 1.1.2 buggy ist und nicht funktioniert.
Warum boot Target auf multi User ? -
Weil Multi-User/ RunLevel 3 für den Betrieb als Server die richtige Einstellung ist.
-
Operatingsystem: Debian GNU/Linux 11 (bullseye) Installation: kvm Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: graphical.target
Ich hab das auch so.
Wo kommt dies her ?
Hab ich da bei der Installation von Debian 11 irgendwo was falsch angeklickt?Wie stellt man dies um?
Und ist dies notwendig? -
@thomas-braun Ich dachte ich hätte auf RunLevel 3 eingestellt, aber ich habe jetzt umgestellt.
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Debian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/Berlin User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.6 ioBroker Status: iobroker is running on this host. At least one iobroker host is running. Objects type: redis States type: redis Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 1 Active repo(s): Beta (latest) Objects: 19917 States: 18221 Size of iob-Database: 5.2M /opt/iobroker/iobroker-data/objects.json.bak 5.2M /opt/iobroker/iobroker-data/objects.json 40K /opt/iobroker/iobroker-data/states.json.bak 40K /opt/iobroker/iobroker-data/states.json =================== END OF SUMMARY ====================
-
# systemctl enable multi-user.target # systemctl set-default multi-user.target
-
@gargano sagte in javascript bleibt rot bei iob Neustart:
# systemctl enable multi-user.target # systemctl set-default multi-user.target
Danke dir.
Frage:
notwendig?
Vorteil/Nachteil -
Bei Containern musst du dir das selber suchen, hab ich keinen Plan von.
-
@thomas-braun sagte in javascript bleibt rot bei iob Neustart:
Containern
hab ich nicht.
Läuft in Proxmox in einer VM -
@bahnuhr Vorteil : weniger Ressourcen, Nachteil : ?
-
Jo, auch virtuelles Zeuch...