NEWS
IoBroker ist nicht mehr über Browser erreichbar
-
@thomas-braun
du schreibst dort ja von einem sauberen "npm tree"
der sieht bei mir aber nicht sauber aus!
kann ich damit dann weitermachen?
-
Ja. Oder direkt in die /etc/apt/sources.list.d/nodesource.list die 16 eintragen.
-
@thomas-braun
okay das hat glaube ich geklappt!
Und jetzt? -
Nicht glauben, prüfen.
uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
-
das wird ausgegeben
-
sudo -H -u iobroker npm cache clear cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
ich glaube das sieht nicht so gut aus
-
-
-
iobroker fix
-
@thomas-braun sagte in IoBroker ist nicht mehr über Browser erreichbar:
iobroker fix
-
-
Bitte statt der Spoiler lieber CodeTags verwenden. Danke.
-
pi@raspberrypi:~ $ iobroker fix library: loaded Library version=2022-12-09 ioBroker is not installed in /opt/iobroker! Cannot fix anything... pi@raspberrypi:~ $
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm ERR! code 22 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c -- node iobroker.js setup first npm ERR! No connection to databases possible ... npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-01-15T16_15_40_711Z-debug-0.log pi@raspberrypi:/opt/iobroker $
-
@bastel2021 sagte in IoBroker ist nicht mehr über Browser erreichbar:
sudo -H -u iobroker npm install iobroker.js-controller --debug
-
pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller --debug npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm ERR! code 22 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh -c -- node iobroker.js setup first npm ERR! No connection to databases possible ... npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2023-01-15T16_20_29_487Z-debug-0.log pi@raspberrypi:/opt/iobroker $
-
ls -lAh /opt/iobroker/iobroker-data/
-
pi@raspberrypi:/opt/iobroker $ ls -lAh /opt/iobroker/iobroker-data/ insgesamt 650M drwxrwxr-x+ 2 iobroker iobroker 4,0K 22. Mär 2022 backitup drwxrwxr-x+ 2 iobroker iobroker 4,0K 15. Jan 12:35 backup-objects drwxrwxr-x+ 17 iobroker iobroker 4,0K 14. Jan 17:26 files -rw-rwxr--+ 1 iobroker iobroker 7,4K 22. Mär 2022 iobroker.json drwxrwxr-x+ 4 iobroker iobroker 4,0K 1. Jan 14:32 node-red -rw-rw-r--+ 1 iobroker iobroker 3 25. Mär 2022 notifications.json -rw-rwxr--+ 1 iobroker iobroker 648M 15. Jan 14:12 objects.jsonl -rw-rw-r--+ 1 iobroker iobroker 1,7M 15. Jan 15:01 states.jsonl drwxrwxr-x+ 2 iobroker iobroker 4,0K 15. Jan 14:12 zigbee_0 pi@raspberrypi:/opt/iobroker $