NEWS
js Controler auf 7.07 geht nicht Fehlermeldung iOb
-
Iobroker läuft
auf den neuen System
das alte habe ich erst mal runter gefahren.
am Ende der Instllation kam die info das ich iob fix eingeben soll nach dem es läuft.hier erhalte ich aber eine Fehlermeldung:
marcel@PiObroker:/opt/iobroker$ iob stop marcel@PiObroker:/opt/iobroker$ iob fix bash: /home/iobroker/.fix.sh: Permission denied marcel@PiObroker:/opt/iobroker$
habe aber den Befehl ausgeführt:
adduser marcel
Anschließend muss der User noch der sudo Gruppe zugeordnet werden.usermod -aG sudo marcel
marcel@PiObroker:/opt/iobroker$ 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 v22.19.0 v22.19.0 10.9.3 marcel /opt/iobroker Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://security.debian.org trixie-security InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease All packages are up to date. Warning: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details nodejs: Installed: 22.19.0-1nodesource1 Candidate: 22.19.0-1nodesource1 Version table: *** 22.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 22.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.4.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 20.19.2+dfsg-1 500 500 http://deb.debian.org/debian trixie/main amd64 Packages lines 16-57/57 (END)
-
@marcel-drzal sagte in js Controler auf 7.07 geht nicht Fehlermeldung iOb:
am Ende der Instllation kam die info das ich iob fix eingeben soll nach dem es läuft.
Die kommt immer, das muss nach der Erst Installation gemacht werden.
ls -l /home
sagt?
Edith: Einen User legt man als erstes an, dann kann der nämlich von iobroker-Installer direkt richtig konfiguriert werden.
-
habe erst einen User marcel angelegt wie in der Doku gesagt wurde komisch
marcel@PiObroker:~$ ls -l /home total 8 drwxr-x--- 2 iobroker iobroker 4096 Sep 11 17:50 iobroker drwx------ 5 marcel marcel 4096 Sep 11 18:06 marcel marcel@PiObroker:~$
CPU: 0,67 % RAM: 6 % Betriebszeit: 0h Verfügbar: 7.0.7 Installiert: 7.0.7 Ereignisse: ⇥5 / ↦13 Plattform: linux Betriebssystem: linux Architektur: x64 CPUs: 2 Geschwindigkeit: 400 MHz Modell: Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz RAM: 6 GB System-Betriebszeit: 00:04:45 Node.js: v22.19.0 Zeit: 11.9.2025, 18:19:25 Zeitversatz: -120 NPM: 10.9.3 Adapter-Anzahl: 576 Datenträgergröße: 7.8 GB Freier Festplattenspeicher: 5.5 GB Aktive Instanzen: 3 Pfad: /opt/iobroker/ Betriebszeit: 00:04:36 aktiv: true _nodeCurrent: 22.19.0 _nodeNewest: 22.19.0 _nodeNewestNext: 22.19.0 _npmCurrent: 10.9.3 _npmNewest: 10.9.3 _npmNewestNext: 10.9.3
-
-
was meinst du mit id
wir bekomme ich das gerade gezogen? -
Das ist ein Kommando in deinem Terminal.
-
sorry
marcel@PiObroker:~$ id uid=1000(marcel) gid=1000(marcel) groups=1000(marcel),27(sudo),100(users),1001(iobroker) marcel@PiObroker:~$
-
Starte die Kiste mal sauber durch.
-
@thomas-braun
danke jetzt hat iob Fix funktioniert -
@marcel-drzal und wo ist/war jetzt der Bug?
-
leider komme ich noch nicht drauf
marcel@PiObroker:~$ ls -l /home total 8 drwxr-x--- 3 iobroker iobroker 4096 Sep 13 11:23 iobroker drwx------ 5 marcel marcel 4096 Sep 13 11:23 marcel marcel@PiObroker:~$ id uid=1000(marcel) gid=1000(marcel) groups=1000(marcel),27(sudo),100(users),1001(iobroker)
-
Bitte KEINE Bildchen von Text.
Dafür gibt es die </> Codetags... -
Schalt die SSL-Verschlüsselung mal aus.
-
@thomas-braun
passt das so?
Soll ich es über den Backup Adapter nun auf spielen oder ist es besser jeden Adapter einzeln zu installieren und auf zu spielen?host.PiObroker 2025-09-13 11:10:05.874 warn Could not check for new OS updates: Command failed: sudo apt list --upgradeableWARNING: apt does not have a stable CLI interface. Use with caution in scripts.
CPU: 0,8 % RAM: 8 % Betriebszeit: 0h Verfügbar: 7.0.7 Installiert: 7.0.7 Ereignisse: ⇥4 / ↦13 Plattform: linux Betriebssystem: linux Architektur: x64 CPUs: 2 Geschwindigkeit: 4469 MHz Modell: unknown RAM: 6 GB System-Betriebszeit: 00:17:50 Node.js: v22.19.0 Zeit: 13.9.2025, 11:45:55 Zeitversatz: -120 NPM: 10.9.3 Adapter-Anzahl: 576 Datenträgergröße: 7.8 GB Freier Festplattenspeicher: 5.4 GB Aktive Instanzen: 3 Pfad: /opt/iobroker/ Betriebszeit: 00:17:39 aktiv: true _nodeCurrent: 22.19.0 _nodeNewest: 22.19.0 _nodeNewestNext: 22.19.0 _npmCurrent: 10.9.3 _npmNewest: 10.9.3 _npmNewestNext: 10.9.3
-
@marcel-drzal sagte in js Controler auf 7.07 geht nicht Fehlermeldung iOb:
passt das so?
Kann ich so nicht sagen.
Poste mal die Ausgabe voniob diag
-
@thomas-braun
haben noch eine Frage, da nun alles läuft wenn du das ok gibt würde ich über den Backup Adapter alles rüber ziehen. Oder soll ich alles lieber von Hand alles neu auf das neue System aufspielen und alle javascript´s usw?- Frage zu javascript Adapter nach der Installation erhalte ich folgende Meldung:
iobroker add javascript auto --host PiObroker --debug NPM version: 10.9.3 Installing iobroker.javascript@8.9.2... (System call) npm warn deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
hier die Ausgabe von
iob diag========== Start marking the full check here =========== ```bash Script v.2025-08-09 *** BASE SYSTEM *** Operating System: Debian GNU/Linux 13 (trixie) Static hostname: PiObroker Icon name: computer-container Chassis: container ☐ Virtualization: lxc Kernel: Linux 6.14.11-1-pve Architecture: x86-64 OS is similar to: model name : Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 12:59:48 up 19:11, 0 users, load average: 0.52, 0.31, 0.24 CPU threads: 2 *** LIFE CYCLE STATUS *** Operating System is the current Debian stable version codenamed 'trixie'! *** TIME AND TIMEZONES *** Local time: Mon 2025-09-15 12:59:48 CEST Universal time: Mon 2025-09-15 10:59:48 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': marcel HOME=/home/marcel GROUPS=marcel sudo users iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker SUDO_HOME=/home/marcel GROUPS=iobroker tty dialout audio video plugdev *** DISPLAY-SERVER SETUP *** Display-Server: false Unit display-manager.service could not be found. Display-Manager: Desktop: Session: *** MEMORY *** total used free shared buff/cache available Mem: 6.4G 526M 5.6G 548K 312M 5.9G Swap: 536M 0B 536M Total: 7.0G 526M 6.1G Active iob-Instances: 4 6144 M total memory 502 M used memory 659 M active memory 98 M inactive memory 5343 M free memory 0 M buffer memory 298 M swap cache 512 M total swap 0 M used swap 512 M free swap *** top - Table Of Processes *** top - 12:59:48 up 19:11, 0 users, load average: 0.52, 0.31, 0.24 Tasks: 38 total, 1 running, 37 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni, 95.7 id, 4.3 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 6144.0 total, 5342.9 free, 503.0 used, 298.5 buff/cache MiB Swap: 512.0 total, 512.0 free, 0.0 used. 5641.0 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * run-rpc_pipefs.mount loaded failed failed RPC Pipe File System * systemd-networkd-wait-online.service loaded failed failed Wait for Network to be Configured Legend: LOAD -> Reflects whether the unit definition was properly loaded. ACTIVE -> The high-level unit activation state, i.e. generalization of SUB. SUB -> The low-level unit activation state, values depend on unit type. 2 loaded units listed. *** DMESG CRITICAL ERRORS *** dmesg: read kernel buffer failed: Operation not permitted No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/pve-vm--161--disk--0 ext4 7.8G 2.4G 5.1G 33% / none tmpfs 492K 4.0K 488K 1% /dev udev devtmpfs 32G 0 32G 0% /dev/tty tmpfs tmpfs 32G 0 32G 0% /dev/shm tmpfs tmpfs 13G 120K 13G 1% /run tmpfs tmpfs 32G 412K 32G 1% /tmp tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/pve-vm--161--disk--0 ext4 rw,relatime,stripe=16 Files in neuralgic directories: /var: 460M /var/ 275M /var/cache 271M /var/cache/apt 181M /var/cache/apt/archives 161M /var/lib Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. Archived and active journals take up 8M in the file system. /opt/iobroker/backups: 7.1M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 120M /opt/iobroker/iobroker-data/ 64M /opt/iobroker/iobroker-data/files 47M /opt/iobroker/iobroker-data/files/admin.admin 46M /opt/iobroker/iobroker-data/files/admin.admin/custom/assets 46M /opt/iobroker/iobroker-data/files/admin.admin/custom The five largest files in iobroker-data are: 13M /opt/iobroker/iobroker-data/objects.jsonl 8.6M /opt/iobroker/iobroker-data/files/backitup.admin/assets/index-BBu8-Y_o.js 3.7M /opt/iobroker/iobroker-data/files/backitup.admin/custom/assets/index-00V6sJFg.js 3.7M /opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-ZPb95xPG.js 3.7M /opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-IIKn7Ixx.js USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' Zigbee Network Settings on your coordinator/in nvbackup are: zigbee.X Extended Pan ID: *** MASKED *** Pan ID: *** MASKED *** Channel: *** MASKED *** Network Key: *** MASKED *** To unmask the settings run 'iob diag --unmask' *** NodeJS-Installation *** /usr/bin/nodejs v22.19.0 /usr/bin/node v22.19.0 /usr/bin/npm 10.9.3 /usr/bin/npx 10.9.3 /usr/bin/corepack 0.34.0 nodejs: Installed: 22.19.0-1nodesource1 Candidate: 22.19.0-1nodesource1 Version table: *** 22.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 22.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.4.1-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 22.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_22.x nodistro/main amd64 Packages 20.19.2+dfsg-1 500 500 http://deb.debian.org/debian trixie/main amd64 Packages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected Checking for nodejs vulnerability: █████ ██ ██ ██████ ██████ ██████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ██ ██ ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ███████ ███████ ██████ ██████ ██████ ██████ ██ *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Hosts: PiObroker PiObroker (version: 7.0.7, hostname: PiObroker , alive, uptime: 69095) Core adapters versions js-controller: 7.0.7 admin: 7.7.2 javascript: "javascript" not found nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : PiObroker - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.backitup.0 : backitup : PiObroker - enabled + system.adapter.discovery.0 : discovery : PiObroker - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : PiObroker - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin ioBroker-Repositories ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): stable Upgrade policy: none Installed ioBroker-Adapters Used repository: stable Adapter "admin" : 7.7.2 , installed 7.7.2 Adapter "backitup" : 3.3.5 , installed 3.3.5 Adapter "discovery" : 5.0.0 , installed 5.0.0 Controller "js-controller": 7.0.7 , installed 7.0.7 Objects and States Please stand by - This may take a while Objects: 150 States: 109 *** OS-Repositories and Updates *** W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details Hit:1 http://deb.debian.org/debian trixie InRelease Hit:2 http://security.debian.org trixie-security InRelease Hit:3 http://deb.debian.org/debian trixie-updates InRelease Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease Reading package lists... W: https://deb.nodesource.com/node_22.x/dists/nodistro/InRelease: Policy will reject signature within a year, see --audit for details Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 5696549 213/iobroker.js-con tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 5696544 213/iobroker.js-con tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 5694401 344/master tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 5688065 1/init tcp6 0 0 ::1:25 :::* LISTEN 0 5694402 344/master tcp6 0 0 :::8081 :::* LISTEN 1001 5783631 614/io.admin.0 tcp6 0 0 :::111 :::* LISTEN 0 5688067 1/init tcp6 0 0 :::22 :::* LISTEN 0 5695624 1/init udp 0 0 10.10.50.184:68 0.0.0.0:* 0 5695850 184/dhcpcd: [BOOTP udp 0 0 0.0.0.0:111 0.0.0.0:* 0 5688066 1/init udp6 0 0 :::111 :::* 0 5688068 1/init udp6 0 0 fd48:3919:e463:2897:546 :::* 0 5697409 498/dhcpcd: [DHCP6 udp6 0 0 fd48:3919:e463:2897:546 :::* 0 5698316 497/dhcpcd: [DHCP6 udp6 0 0 fe80::20f6:8064:b75:546 :::* 0 5695824 162/dhcpcd: [DHCP6 *** Log File - Last 25 Lines *** 2025-09-15 12:18:23.624 - info: admin.0 (614) ==> Connected system.user.admin from ::ffff:10.10.50.158
============ Mark until here for C&P =============
iob diag has finished.
-
@marcel-drzal sagte in js Controler auf 7.07 geht nicht Fehlermeldung iOb:
nach der Installation erhalte ich folgende Meldung:
stimmt das was in der Meldung steht nicht?
-
@marcel-drzal sagte in js Controler auf 7.07 geht nicht Fehlermeldung iOb:
Kommentare dazu:
Static hostname: PiObroker
Man vermeidet in hostnames Großbuchstaben, ebenso in usernames (und Internet- wie Emailadressen).
*** FAILED SERVICES ***
In der ioBroker-Installations-Anleitung steht drin, wie man die Meldungen zu failed services vermeidet.
Ansonsten i. O.