NEWS
iObroker not accessible
-
@thomas-braun now is on version 16
pi@raspberrypi:~ $ node -v v16.18.1 pi@raspberrypi:~ $ iobroker start pi@raspberrypi:~ $ iobroker update node:internal/modules/cjs/loader:988 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15) at Function.Module._load (node:internal/modules/cjs/loader:833:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:22:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } pi@raspberrypi:~ $ iobroker fix library: loaded Library version=2022-06-15 ioBroker is not installed in /opt/iobroker! Cannot fix anything... pi@raspberrypi:~ $
-
The 'Buster' release has reached its End of Life.
Please install the actual stable Release 'Bullseye' -
@thomas-braun thank you for you help so far - can you help me little bit with this Bullseye? How exactly I should install it?
-
In german language only:
https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye
But I'm sure that there are plenty of instructions out there in English or even your native language.
-
@thomas-braun kein problem - ich kann auch Deutch verstehen
Vielen Dank - probiere ich und melde.
So nach Bullseye instalation soll alles OK sein oder muss ich noch ewas anderes zu tun? -
Nein, der iobroker wird nach einem Upgrade auf Bullseye immer noch kaputt sein. Aber dann ist die Basis schonmal aktuell und stabil.
-
@thomas-braun I did all as per manual. can we check if everything is ok before next steps?
-
sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
what is the feedback to this chain of commands?
-
pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l Kein Docker /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.18.1 v16.18.1 8.19.2 node:internal/modules/cjs/loader:988 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15) at Function.Module._load (node:internal/modules/cjs/loader:833:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:22:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } pi@raspberrypi:~ $
-
@vraanaa sagte in iObroker not accessible:
whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
-
@thomas-braun kommt diese
pi@raspberrypi:~ $ whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs pi pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker x11 LXDE-pi /home/pi Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://dl.yarnpkg.com/debian stable InRelease Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. nodejs: Installed: 16.18.1-deb-1nodesource1 Candidate: 16.18.1-deb-1nodesource1 Version table: *** 16.18.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages pi@raspberrypi:~ $
-
Turn the Desktop OFF.
A server is running headless. Always. -
@thomas-braun meinst du dass ich remote vnc desktop benutzen nicht?
kann ich auch durch putty zum ssh gehen. -
@vraanaa
Nein, auch kein remote DESKTOP.
NO DESKTOP.sudo raspi-config
Menu: 1 System Options S5 Boot / Auto Login B1 Console
-
@thomas-braun I did it:
pi@raspberrypi:~ $ whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_S ESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy n odejs pi pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin g pio i2c spi iobroker tty /home/pi Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:4 https://dl.yarnpkg.com/debian stable InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. nodejs: Installed: 16.18.1-deb-1nodesource1 Candidate: 16.18.1-deb-1nodesource1 Version table: *** 16.18.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
-
@vraanaa sagte in iObroker not accessible:
@thomas-braun meinst du dass ich remote vnc
desktop benutzen nicht?
kann ich auch durch putty zum ssh gehen. -
iobroker status
-
@thomas-braun gleiche
pi@raspberrypi:~ $ iobroker status node:internal/modules/cjs/loader:988 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15) at Function.Module._load (node:internal/modules/cjs/loader:833:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:22:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller npm ERR! code 24 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! Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"! npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-12-12T22_41_51_919Z-debug-0.log