NEWS
iobroker läuft nicht mehr
-
ps auxww|grep io@thomas-braun ```
micros02@smartmeter:~ $ ps auxww|grep io root 34 0.0 0.0 0 0 ? I< 11:06 0:00 [blkcg_punt_bio] root 36 0.0 0.0 0 0 ? I< 11:06 0:00 [rpciod] root 38 0.0 0.0 0 0 ? I< 11:06 0:00 [xprtiod] root 40 0.0 0.0 0 0 ? I< 11:06 0:00 [nfsiod] root 44 0.0 0.0 0 0 ? I< 11:06 0:00 [DWC Notificatio] message+ 249 0.0 0.7 7688 3496 ? Ss 11:07 0:03 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only iobroker 2963 99.8 20.0 210548 88088 ? Rsl 12:29 0:28 iobroker.js-controller micros02 2978 0.0 0.4 7436 2028 pts/0 S+ 12:30 0:00 grep --color=auto io -
@thomas-braun ```
micros02@smartmeter:~ $ ps auxww|grep io root 34 0.0 0.0 0 0 ? I< 11:06 0:00 [blkcg_punt_bio] root 36 0.0 0.0 0 0 ? I< 11:06 0:00 [rpciod] root 38 0.0 0.0 0 0 ? I< 11:06 0:00 [xprtiod] root 40 0.0 0.0 0 0 ? I< 11:06 0:00 [nfsiod] root 44 0.0 0.0 0 0 ? I< 11:06 0:00 [DWC Notificatio] message+ 249 0.0 0.7 7688 3496 ? Ss 11:07 0:03 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only iobroker 2963 99.8 20.0 210548 88088 ? Rsl 12:29 0:28 iobroker.js-controller micros02 2978 0.0 0.4 7436 2028 pts/0 S+ 12:30 0:00 grep --color=auto io -
micros02@smartmeter:~ $ sudo kill 2963 kill: (2963): No such process -
micros02@smartmeter:~ $ sudo kill 2963 kill: (2963): No such processsystemctl status iobroker.service -
systemctl status iobroker.service@thomas-braun said in iobroker läuft nicht mehr:
systemctl status iobroker.service
micros02@smartmeter:~ $ systemctl status iobroker.service ● iobroker.service - ioBroker Server Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2022-04-27 12:44:50 CEST; 1s ago Docs: http://iobroker.net Process: 3329 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.j> Main PID: 3329 (code=exited, status=1/FAILURE) CPU: 44.948s Apr 27 12:44:53 smartmeter systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 82. Apr 27 12:44:53 smartmeter systemd[1]: Stopped ioBroker Server. Apr 27 12:44:53 smartmeter systemd[1]: iobroker.service: Consumed 44.948s CPU time. Apr 27 12:44:53 smartmeter systemd[1]: Started ioBroker Server. lines 1-12/12 (END) -
@thomas-braun said in iobroker läuft nicht mehr:
systemctl status iobroker.service
micros02@smartmeter:~ $ systemctl status iobroker.service ● iobroker.service - ioBroker Server Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2022-04-27 12:44:50 CEST; 1s ago Docs: http://iobroker.net Process: 3329 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.j> Main PID: 3329 (code=exited, status=1/FAILURE) CPU: 44.948s Apr 27 12:44:53 smartmeter systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 82. Apr 27 12:44:53 smartmeter systemd[1]: Stopped ioBroker Server. Apr 27 12:44:53 smartmeter systemd[1]: iobroker.service: Consumed 44.948s CPU time. Apr 27 12:44:53 smartmeter systemd[1]: Started ioBroker Server. lines 1-12/12 (END)sudo systemctl stop iobroker -
sudo systemctl stop iobrokermicros02@smartmeter:~ $ sudo systemctl stop iobroker micros02@smartmeter:~ $ -
micros02@smartmeter:~ $ sudo systemctl stop iobroker micros02@smartmeter:~ $Dann schau nochmal, was da läuft:
ps auxww|grep ioWenn da keine iobroker-Prozesse mehr zu sehen sind:
iobroker update iobroker upgrade -
Dann schau nochmal, was da läuft:
ps auxww|grep ioWenn da keine iobroker-Prozesse mehr zu sehen sind:
iobroker update iobroker upgradeDas funktioniert irgendwie nicht

micros02@smartmeter:~ $ ps auxww|grep io root 34 0.0 0.0 0 0 ? I< 11:06 0:00 [blkcg_punt_bio] root 36 0.0 0.0 0 0 ? I< 11:06 0:00 [rpciod] root 38 0.0 0.0 0 0 ? I< 11:06 0:00 [xprtiod] root 40 0.0 0.0 0 0 ? I< 11:06 0:00 [nfsiod] root 44 0.0 0.0 0 0 ? I< 11:06 0:00 [DWC Notificatio] message+ 249 0.0 0.7 7688 3324 ? Ss 11:07 0:05 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only micros02 4485 0.0 0.4 7436 1944 pts/0 S+ 13:39 0:00 grep --color=auto io micros02@smartmeter:~ $ iobroker update No connection to databases possible ... -
Du hast die Frage noch nicht beantwortet:
@homoran sagte in iobroker läuft nicht mehr:
ist das ein Multihost-System?
-
Du hast die Frage noch nicht beantwortet:
@homoran sagte in iobroker läuft nicht mehr:
ist das ein Multihost-System?
sorry, die Frage ist bei mir untergegangen.
Nein, es ist nur ein raspi, der den Stromverbrauch misst. -
sorry, die Frage ist bei mir untergegangen.
Nein, es ist nur ein raspi, der den Stromverbrauch misst.Prüf mal die nodeJS-Installation:
sudo ln -s /usr/bin/node /usr/bin/nodejs which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs -
sorry, die Frage ist bei mir untergegangen.
Nein, es ist nur ein raspi, der den Stromverbrauch misst.@emi-0
Wenn nodejs in Version 14 sauber installiert ist:cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller -
@emi-0
Wenn nodejs in Version 14 sauber installiert ist:cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controllermicros02@smartmeter:~ $ cd /opt/iobroker micros02@smartmeter:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller removed 82 packages in 1m 38 packages are looking for funding run `npm fund` for details micros02@smartmeter:/opt/iobroker $soll ich iobroker nochmal starten?
-
Prüf mal die nodeJS-Installation:
sudo ln -s /usr/bin/node /usr/bin/nodejs which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejsich interpretiere das so, dass die nodeJS-Installatiion i.O ist:
micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v12.22.5 v12.22.5 7.5.2 micros02 /home/micros02 Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 54 packages can be upgraded. Run 'apt list --upgradable' to see them. nodejs: Installed: 12.22.5~dfsg-2~11u1 Candidate: 12.22.5~dfsg-2~11u1 Version table: *** 12.22.5~dfsg-2~11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/statusaber ich sehe gerade, dass es die 12.22.5 ist
-
ich interpretiere das so, dass die nodeJS-Installatiion i.O ist:
micros02@smartmeter:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs /usr/bin/nodejs /usr/bin/node /usr/bin/npm v12.22.5 v12.22.5 7.5.2 micros02 /home/micros02 Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 54 packages can be upgraded. Run 'apt list --upgradable' to see them. nodejs: Installed: 12.22.5~dfsg-2~11u1 Candidate: 12.22.5~dfsg-2~11u1 Version table: *** 12.22.5~dfsg-2~11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages 100 /var/lib/dpkg/statusaber ich sehe gerade, dass es die 12.22.5 ist
@emi-0 sagte in iobroker läuft nicht mehr:
dass die nodeJS-Installatiion i.O ist:
mit:
@emi-0 sagte in iobroker läuft nicht mehr:
v12.22.5
7.5.2npm v7 eher nicht
-
@emi-0 sagte in iobroker läuft nicht mehr:
dass die nodeJS-Installatiion i.O ist:
mit:
@emi-0 sagte in iobroker läuft nicht mehr:
v12.22.5
7.5.2npm v7 eher nicht
-
Und es ist auch die dfsg-Version, nicht die von nodesource gepackte.
Installier sauber node14, Anleitung in meiner Signatur. -
Und es ist auch die dfsg-Version, nicht die von nodesource gepackte.
Installier sauber node14, Anleitung in meiner Signatur.Habe es nach Deiner Anleitung mehrfach versucht.
micros02@smartmeter:~ $ sudo apt update Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB] Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [282 kB] Fetched 306 kB in 6s (48.4 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension micros02@smartmeter:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: rpi-eeprom 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 2,037 kB of archives. After this operation, 1,574 kB of additional disk space will be used. N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension Do you want to continue? [Y/n] Y Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf rpi-eeprom armhf 13.13-1 [2,037 kB] Fetched 2,037 kB in 1s (1,540 kB/s) Reading changelogs... Done N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension (Reading database ... 53199 files and directories currently installed.) Preparing to unpack .../rpi-eeprom_13.13-1_armhf.deb ... Unpacking rpi-eeprom (13.13-1) over (13.12-1) ... Setting up rpi-eeprom (13.13-1) ... Processing triggers for man-db (2.9.4-2) ... micros02@smartmeter:~ $ uname -a Linux smartmeter 5.15.32+ #1538 Thu Mar 31 19:37:58 BST 2022 armv6l GNU/Linux micros02@smartmeter:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye micros02@smartmeter:~ $ nodejs -v v12.22.5 micros02@smartmeter:~ $Bleibt aber bei v12.22.5
-
Habe es nach Deiner Anleitung mehrfach versucht.
micros02@smartmeter:~ $ sudo apt update Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB] Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [282 kB] Fetched 306 kB in 6s (48.4 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension micros02@smartmeter:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: rpi-eeprom 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 2,037 kB of archives. After this operation, 1,574 kB of additional disk space will be used. N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension Do you want to continue? [Y/n] Y Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf rpi-eeprom armhf 13.13-1 [2,037 kB] Fetched 2,037 kB in 1s (1,540 kB/s) Reading changelogs... Done N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'nodesource.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension (Reading database ... 53199 files and directories currently installed.) Preparing to unpack .../rpi-eeprom_13.13-1_armhf.deb ... Unpacking rpi-eeprom (13.13-1) over (13.12-1) ... Setting up rpi-eeprom (13.13-1) ... Processing triggers for man-db (2.9.4-2) ... micros02@smartmeter:~ $ uname -a Linux smartmeter 5.15.32+ #1538 Thu Mar 31 19:37:58 BST 2022 armv6l GNU/Linux micros02@smartmeter:~ $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye micros02@smartmeter:~ $ nodejs -v v12.22.5 micros02@smartmeter:~ $Bleibt aber bei v12.22.5
@emi-0 sagte in iobroker läuft nicht mehr:
Da fehlt die Datei nodesource.list
Dafür hast du da nodesource.list.save.xy drin. Die werden nicht eingelesen, nur Dateiendungen .list werden berücksichtigt.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login