kurz vorab, ich versuche hier meine ersten Schritte mit dem ioBroker und stehe am Beginn der Lernkurve. Die Installation mit dem Laptop ist mein Testballon.
was habe ich bisher gemacht:
- Laptop ist ganz frisch mit 32 bit Debian 12 installiert
- einen Standarduser habe ich sudo fähig gesetzt und curl manuell installiert
- dann die Installation des ioBrokers manuell wie in der Doku beschrieben gestartet, dabe wurde auch node.js mit installiert
- dabei gab es keine Fehlermeldungen
- beim Reboot habe ich gesehen das der iobroker automatisch aufgerufen wurde
- unter http://localhost:8081 gab es leider keine Verbindung
- ps -A zeigte auch keine Prozesse zum iobroker an
- manueller start via iob start beendete ohne Meldung, trotzdem kein Prozess am laufen
- "node node_modules/iobroker.js-controller/controller.js --logs" meldete dann "Speicherzugriffsfehler"
carl@debian12:/opt/iobroker$ node node_modules/iobroker.js-controller/controller.js --logs
2023-08-02 15:52:47.611 - info: host.debian12 iobroker.js-controller version 4.0.24 js-controller starting
2023-08-02 15:52:47.624 - info: host.debian12 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2023-08-02 15:52:47.626 - info: host.debian12 hostname: debian12, node: v18.13.0
2023-08-02 15:52:47.628 - info: host.debian12 ip addresses: 192.168.178.30 2a02:810d:640:32d0:6576:d2d8:9ca4:5da0 fe80::c499:6489:d941:6fac
Speicherzugriffsfehler
iob diag:
Skript v.2023-04-16
*** BASE SYSTEM ***
Architecture : i686
Docker : false
Virtualization : none
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Systemuptime and Load:
15:56:46 up 1:39, 2 users, load average: 1.28, 1.85, 1.86
CPU threads: 2
*** Time and Time Zones ***
Local time: Wed 2023-08-02 15:56:47 CEST
Universal time: Wed 2023-08-02 13:56:47 UTC
RTC time: Wed 2023-08-02 13:56:47
Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
*** User and Groups ***
thomas
/home/thomas
thomas cdrom floppy sudo audio dip video plugdev users netdev bluetooth lpadmin scanner iobroker
*** X-Server-Setup ***
X-Server: false
Desktop: gnome
Terminal: wayland
Boot Target: graphical.target
*** MEMORY ***
total used free shared buff/cache available
Mem: 2.1G 1.6G 208M 119M 661M 522M
Swap: 1.0G 234M 789M
Total: 3.1G 1.8G 997M
2002 M total memory
1504 M used memory
432 M active memory
1213 M inactive memory
198 M free memory
29 M buffer memory
601 M swap cache
975 M total swap
223 M used swap
752 M free swap
*** FILESYSTEM ***
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 977M 0 977M 0% /dev
tmpfs tmpfs 201M 1.4M 199M 1% /run
/dev/sda1 ext4 116G 5.9G 105G 6% /
tmpfs tmpfs 1002M 0 1002M 0% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 201M 2.5M 198M 2% /run/user/1000
Messages concerning ext4 filesystem in dmesg:
[Wed Aug 2 14:17:29 2023] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
[Wed Aug 2 14:17:30 2023] EXT4-fs (sda1): re-mounted. Quota mode: none.
Show mounted filesystems (real ones only):
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda1 ext4 rw,relatime,errors=remount-ro
`-/run/user/1000/doc portal fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
Files in neuralgic directories:
/var:
557M /var/
266M /var/lib
237M /var/cache
201M /var/cache/apt
153M /var/lib/apt/lists
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 8.0M in the file system.
/opt/iobroker/backups:
du: cannot access '/opt/iobroker/backups/': No such file or directory
/opt/iobroker/iobroker-data:
15M /opt/iobroker/iobroker-data/files
15M /opt/iobroker/iobroker-data/
13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js
13M /opt/iobroker/iobroker-data/files/admin.admin/custom/static
13M /opt/iobroker/iobroker-data/files/admin.admin/custom
The five largest files in iobroker-data are:
6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
2.8M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js
1.6M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map
652K /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map
384K /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js
*** NodeJS-Installation ***
/usr/bin/nodejs v18.13.0
/usr/bin/node v18.13.0
/usr/bin/npm 9.2.0
/usr/bin/npx 9.2.0
nodejs:
Installed: 18.13.0+dfsg1-1
Candidate: 18.13.0+dfsg1-1
Version table:
*** 18.13.0+dfsg1-1 500
500 http://deb.debian.org/debian bookworm/main i386 Packages
100 /var/lib/dpkg/status
Temp directories causing npm8 problem: 0
No problems detected
*** ioBroker-Installation ***
ioBroker Status
iobroker is not running on this host.
Objects type: jsonl
States type: jsonl
MULTIHOSTSERVICE/enabled: false
Core adapters versions
js-controller: 4.0.24
admin: 6.3.5
javascript: "javascript" not found
Adapters from github: 0
Adapter State
system.adapter.admin.0 : admin : debian12 - enabled, port: 8081, bind: 0.0.0.0, run as: admin
system.adapter.backitup.0 : backitup : debian12 - enabled
system.adapter.discovery.0 : discovery : debian12 - enabled
+ instance is alive
Enabled adapters with bindings
system.adapter.admin.0 : admin : debian12 - enabled, port: 8081, bind: 0.0.0.0, run as: admin
ioBroker-Repositories
stable : http://download.iobroker.net/sources-dist.json
beta : http://download.iobroker.net/sources-dist-latest.json
Active repo(s): stable
Installed ioBroker-Instances
Used repository: stable
Adapter "admin" : 6.3.5 , installed 6.3.5
Adapter "backitup" : 2.6.23 , installed 2.6.23
Adapter "discovery" : 3.1.0 , installed 3.1.0
Controller "js-controller": 4.0.24 , installed 4.0.24
Objects and States
Please stand by - This may take a while
Objects: 96
States: 21
*** OS-Repositories and Updates ***
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.nodesource.com/node_18.x bookworm InRelease
Reading package lists...
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:631 0.0.0.0:* LISTEN 0 20136 563/cupsd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 15484 1/init
tcp6 0 0 ::1:631 :::* LISTEN 0 20135 563/cupsd
tcp6 0 0 :::111 :::* LISTEN 0 15486 1/init
udp 0 0 0.0.0.0:45112 0.0.0.0:* 105 19966 488/avahi-daemon: r
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 15485 1/init
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 22688 770/cups-browsed
udp 0 0 0.0.0.0:5353 0.0.0.0:* 105 19964 488/avahi-daemon: r
udp6 0 0 fe80::c499:6489:d94:546 :::* 0 33523 530/NetworkManager
udp6 0 0 :::111 :::* 0 15487 1/init
udp6 0 0 :::5353 :::* 105 19965 488/avahi-daemon: r
udp6 0 0 :::59129 :::* 105 19967 488/avahi-daemon: r
*** Log File - Last 25 Lines ***
2023-08-02 15:59:00.195 - info: host.debian12 ip addresses: 192.168.178.30 2a02:810d:640:32d0:6576:d2d8:9ca4:5da0 fe80::c499:6489:d941:6fac
2023-08-02 15:59:05.685 - info: host.debian12 iobroker.js-controller version 4.0.24 js-controller starting
2023-08-02 15:59:05.696 - info: host.debian12 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2023-08-02 15:59:05.698 - info: host.debian12 hostname: debian12, node: v18.13.0
2023-08-02 15:59:05.699 - info: host.debian12 ip addresses: 192.168.178.30 2a02:810d:640:32d0:6576:d2d8:9ca4:5da0 fe80::c499:6489:d941:6fac
2023-08-02 15:59:11.110 - info: host.debian12 iobroker.js-controller version 4.0.24 js-controller starting
2023-08-02 15:59:11.120 - info: host.debian12 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2023-08-02 15:59:11.122 - info: host.debian12 hostname: debian12, node: v18.13.0
2023-08-02 15:59:11.122 - info: host.debian12 ip addresses: 192.168.178.30 2a02:810d:640:32d0:6576:d2d8:9ca4:5da0 fe80::c499:6489:d941:6fac
2023-08-02 15:59:16.409 - info: host.debian12 iobroker.js-controller version 4.0.24 js-controller starting
2023-08-02 15:59:16.420 - info: host.debian12 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2023-08-02 15:59:16.421 - info: host.debian12 hostname: debian12, node: v18.13.0
2023-08-02 15:59:16.422 - info: host.debian12 ip addresses: 192.168.178.30 2a02:810d:640:32d0:6576:d2d8:9ca4:5da0 fe80::c499:6489:d941:6fac
2023-08-02 15:59:21.869 - info: host.debian12 iobroker.js-controller version 4.0.24 js-controller starting
2023-08-02 15:59:21.879 - info: host.debian12 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2023-08-02 15:59:21.880 - info: host.debian12 hostname: debian12, node: v18.13.0
2023-08-02 15:59:21.881 - info: host.debian12 ip addresses: 192.168.178.30 2a02:810d:640:32d0:6576:d2d8:9ca4:5da0 fe80::c499:6489:d941:6fac
2023-08-02 15:59:29.177 - info: host.debian12 iobroker.js-controller version 4.0.24 js-controller starting
2023-08-02 15:59:29.192 - info: host.debian12 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2023-08-02 15:59:29.194 - info: host.debian12 hostname: debian12, node: v18.13.0
2023-08-02 15:59:29.194 - info: host.debian12 ip addresses: 192.168.178.30 2a02:810d:640:32d0:6576:d2d8:9ca4:5da0 fe80::c499:6489:d941:6fac
2023-08-02 15:59:35.644 - info: host.debian12 iobroker.js-controller version 4.0.24 js-controller starting
2023-08-02 15:59:35.657 - info: host.debian12 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
2023-08-02 15:59:35.658 - info: host.debian12 hostname: debian12, node: v18.13.0
2023-08-02 15:59:35.659 - info: host.debian12 ip addresses: 192.168.178.30 2a02:810d:640:32d0:6576:d2d8:9ca4:5da0 fe80::c499:6489:d941:6fac
ich hoffe jemand von Euch kann mir helfen. Besten Dank im Voraus.