NEWS
[GELÖST] Umzug vom Pin64 auf Proxmox schlägt fehl.
-
iob diag
-
npm haste dir über den root verhunzt. Als user kannst du die Datei gar nicht löschen:
echad@chet:~ $ rm /usr/bin/npm rm: cannot remove '/usr/bin/npm': Permission denied echad@chet:~ $
Und deswegen halt NIE, NIE, NIE als root herumhampeln.
-
@thomas-braun Die lange Version
======== Start marking the full check here =========
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: iobroker01 Icon name: computer-container Chassis: container ☐ Virtualization: lxc Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.2.16-3-pve Architecture: x86-64 model name : Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz Docker : false Virtualization : lxc Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 19:28:57 up 3:56, 2 users, load average: 0.03, 0.09, 0.13 CPU threads: 2 *** Time and Time Zones *** Local time: Wed 2024-08-07 19:28:57 UTC Universal time: Wed 2024-08-07 19:28:57 UTC RTC time: n/a Time zone: Etc/UTC (UTC, +0000) System clock synchronized: yes NTP service: inactive RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': kurt HOME=/home/kurt GROUPS=kurt sudo users User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.3G 258M 3.6G 122K 425M 4.0G Swap: 1.1G 0B 1.1G Total: 5.4G 258M 4.7G Active iob-Instances: 2 4096 M total memory 247 M used memory 220 M active memory 391 M inactive memory 3443 M free memory 0 M buffer memory 405 M swap cache 1024 M total swap 0 M used swap 1024 M free swap *** top - Table Of Processes *** top - 19:28:57 up 3:56, 2 users, load average: 0.03, 0.09, 0.13 Tasks: 29 total, 1 running, 28 sleeping, 0 stopped, 0 zombie %Cpu(s): 50.0 us, 0.0 sy, 0.0 ni, 50.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 4096.0 total, 3441.6 free, 248.8 used, 405.6 buff/cache MiB Swap: 1024.0 total, 1024.0 free, 0.0 used. 3847.2 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * run-rpc_pipefs.mount loaded failed failed RPC Pipe File System * sys-kernel-config.mount loaded failed failed Kernel Configuration File System 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. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/pve-vm--100--disk--0 ext4 44G 4.6G 38G 11% / none tmpfs 492K 4.0K 488K 1% /dev udev devtmpfs 3.8G 0 3.8G 0% /dev/tty tmpfs tmpfs 3.8G 0 3.8G 0% /dev/shm tmpfs tmpfs 1.6G 116K 1.6G 1% /run 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--100--disk--0 ext4 rw,relatime,stripe=16 |-/run tmpfs tmpfs rw,nosuid,nodev,size=1588148k,nr_inodes=819200,mode=755,uid=100000,gid=100000,inode64 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,uid=100000,gid=100000,inode64 | |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/credentials/systemd-tmpfiles-setup.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/credentials/systemd-sysusers.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | `-/run/credentials/systemd-sysctl.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 |-/dev none tmpfs rw,relatime,size=492k,mode=755,uid=100000,gid=100000,inode64 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev,uid=100000,gid=100000,inode64 | |-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime | |-/dev/ttyUSB0 udev[/ttyACM0] devtmpfs rw,nosuid,relatime,size=3935852k,nr_inodes=983963,mode=755,inode64 | |-/dev/.lxc/proc proc proc rw,relatime | |-/dev/.lxc/sys sys sysfs rw,relatime | |-/dev/full udev[/full] devtmpfs rw,nosuid,relatime,size=3935852k,nr_inodes=983963,mode=755,inode64 | |-/dev/null udev[/null] devtmpfs rw,nosuid,relatime,size=3935852k,nr_inodes=983963,mode=755,inode64 | |-/dev/random udev[/random] devtmpfs rw,nosuid,relatime,size=3935852k,nr_inodes=983963,mode=755,inode64 | |-/dev/tty udev[/tty] devtmpfs rw,nosuid,relatime,size=3935852k,nr_inodes=983963,mode=755,inode64 | |-/dev/urandom udev[/urandom] devtmpfs rw,nosuid,relatime,size=3935852k,nr_inodes=983963,mode=755,inode64 | |-/dev/zero udev[/zero] devtmpfs rw,nosuid,relatime,size=3935852k,nr_inodes=983963,mode=755,inode64 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026 | |-/dev/ptmx devpts[/ptmx] devpts rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026 | |-/dev/console devpts[/0] devpts rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026 | |-/dev/tty1 devpts[/1] devpts rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026 | `-/dev/tty2 devpts[/2] devpts rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1026 |-/proc proc proc rw,nosuid,nodev,noexec,relatime | |-/proc/sys proc[/sys] proc ro,relatime | | |-/proc/sys/net proc[/sys/net] proc rw,nosuid,nodev,noexec,relatime | | `-/proc/sys/kernel/random/boot_id none[/.lxc-boot-id] tmpfs ro,nosuid,nodev,noexec,relatime,size=492k,mode=755,uid=100000,gid=100000,inode64 | |-/proc/sysrq-trigger proc[/sysrq-trigger] proc ro,relatime | |-/proc/cpuinfo lxcfs[/proc/cpuinfo] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other | |-/proc/diskstats lxcfs[/proc/diskstats] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other | |-/proc/loadavg lxcfs[/proc/loadavg] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other | |-/proc/meminfo lxcfs[/proc/meminfo] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other | |-/proc/slabinfo lxcfs[/proc/slabinfo] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other | |-/proc/stat lxcfs[/proc/stat] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other | |-/proc/swaps lxcfs[/proc/swaps] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other | `-/proc/uptime lxcfs[/proc/uptime] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other `-/sys sysfs sysfs ro,nosuid,nodev,noexec,relatime |-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime |-/sys/devices/virtual/net sysfs[/devices/virtual/net] sysfs rw,nosuid,nodev,noexec,relatime |-/sys/fs/cgroup none cgroup2 rw,nosuid,nodev,noexec,relatime `-/sys/devices/system/cpu lxcfs[/sys/devices/system/cpu] fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other Files in neuralgic directories: /var: 461M /var/ 251M /var/cache 247M /var/cache/apt 171M /var/cache/apt/archives 146M /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 8.0M in the file system. /opt/iobroker/backups: 3.9M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 299M /opt/iobroker/iobroker-data/ 269M /opt/iobroker/iobroker-data/files 52M /opt/iobroker/iobroker-data/files/backitup.admin 51M /opt/iobroker/iobroker-data/files/javascript.admin 48M /opt/iobroker/iobroker-data/files/telegram.admin The five largest files in iobroker-data are: 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 27M /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.ce422ec2.js.map 24M /opt/iobroker/iobroker-data/objects.jsonl 15M /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map 8.6M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.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' HINT: Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220812141627-if00 *** NodeJS-Installation *** /usr/bin/nodejs v20.16.0 /usr/bin/node v20.16.0 npm: N/A npx: N/A /usr/bin/corepack 0.28.2 *** nodejs is NOT correctly installed *** nodejs: Installed: 20.16.0-1nodesource1 Candidate: 20.16.0-1nodesource1 Version table: *** 20.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.15.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org bookworm-security/main amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 6.0.9 admin: 6.3.5 javascript: 6.1.4 nodejs modules from github: 0 Adapter State system.adapter.admin.0 : admin : iobroker01 - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alexa2.0 : alexa2 : iobroker01 - disabled system.adapter.alias-manager.0 : alias-manager : iobroker01 - disabled + system.adapter.backitup.0 : backitup : iobroker01 - enabled system.adapter.daswetter.0 : daswetter : iobroker01 - disabled system.adapter.devices.0 : devices : iobroker01 - disabled system.adapter.discovery.0 : discovery : iobroker01 - disabled system.adapter.history.0 : history : iobroker01 - disabled system.adapter.ical.0 : ical : iobroker01 - disabled system.adapter.jarvis.0 : jarvis : iobroker01 - disabled system.adapter.javascript.0 : javascript : iobroker01 - disabled system.adapter.mqtt.0 : mqtt : iobroker01 - disabled, port: 1883, bind: 0.0.0.0 system.adapter.net-tools.0 : net-tools : iobroker01 - disabled system.adapter.ping.0 : ping : iobroker01 - disabled system.adapter.sonoff.0 : sonoff : iobroker01 - disabled, port: 1888, bind: 0.0.0.0 system.adapter.telegram.0 : telegram : iobroker01 - disabled, port: 8443, bind: 0.0.0.0 system.adapter.tr-064.0 : tr-064 : iobroker01 - disabled system.adapter.trashschedule.0 : trashschedule : iobroker01 - disabled system.adapter.tuya.0 : tuya : iobroker01 - disabled system.adapter.web.0 : web : iobroker01 - disabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : iobroker01 - disabled, port: /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20220812141627-if00 + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : iobroker01 - enabled, port: 8081, bind: 0.0.0.0, 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-Instances Used repository: stable Adapter "admin" : 7.0.22 , installed 6.3.5 [Updatable] Adapter "alexa2" : 3.26.5 , installed 3.23.2 [Updatable] Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 3.0.16 , installed 2.5.10 [Updatable] Adapter "daswetter" : 3.1.15 , installed 3.1.4 [Updatable] Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 4.5.0 , installed 3.1.0 [Updatable] Adapter "history" : 3.0.1 , installed 2.2.4 [Updatable] Adapter "ical" : 1.15.0 , installed 1.13.2 [Updatable] Adapter "jarvis" : 3.1.8 , installed 3.1.2 [Updatable] Adapter "javascript" : 8.7.6 , installed 6.1.4 [Updatable] Controller "js-controller": 6.0.9 , installed 6.0.9 Adapter "mqtt" : 5.2.0 , installed 4.0.7 [Updatable] Adapter "net-tools" : 1.0.11 , installed 0.2.0 [Updatable] Adapter "ping" : 1.6.2 , installed 1.5.3 [Updatable] Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 4.2.0 [Updatable] Adapter "sonoff" : 3.1.0 , installed 2.5.1 [Updatable] Adapter "telegram" : 3.3.2 , installed 1.15.2 [Updatable] Adapter "tr-064" : 4.3.0 , installed 4.2.17 [Updatable] Adapter "trashschedule": 3.3.0 , installed 2.0.3 [Updatable] Adapter "tuya" : 3.15.0 , installed 3.12.1 [Updatable] Adapter "web" : 6.2.5 , installed 4.3.0 [Updatable] Adapter "ws" : 2.6.2 , installed 1.3.0 [Updatable] Adapter "zigbee" : 1.10.3 , installed 1.8.10 [Updatable] Objects and States Please stand by - This may take a while Objects: 8926 States: 8169 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_20.x nodistro 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 0.0.0.0:111 0.0.0.0:* LISTEN 0 499376 1/init tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 499841 315/master tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1000 838771 33332/iobroker.js-c tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1000 836556 33332/iobroker.js-c tcp6 0 0 :::22 :::* LISTEN 0 496489 1/init tcp6 0 0 :::111 :::* LISTEN 0 499378 1/init tcp6 0 0 ::1:25 :::* LISTEN 0 499842 315/master udp 0 0 0.0.0.0:68 0.0.0.0:* 0 496522 95/dhclient udp 0 0 0.0.0.0:111 0.0.0.0:* 0 499377 1/init udp6 0 0 :::111 :::* 0 499379 1/init *** Log File - Last 25 Lines *** 2024-08-07 19:09:19.252 - info: host.iobroker01 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node 2024-08-07 19:09:19.604 - info: host.iobroker01 21 instances found 2024-08-07 19:09:19.619 - info: host.iobroker01 starting 2 instances 2024-08-07 19:09:19.863 - info: host.iobroker01 Delete state "system.host.iobroker01.versions.nodeCurrent" 2024-08-07 19:09:19.883 - info: host.iobroker01 instance system.adapter.admin.0 in version "6.3.5" started with pid 33353 2024-08-07 19:09:19.915 - info: host.iobroker01 Delete state "system.host.iobroker01.versions.nodeNewest" 2024-08-07 19:09:19.918 - info: host.iobroker01 Delete state "system.host.iobroker01.versions.nodeNewestNext" 2024-08-07 19:09:19.921 - info: host.iobroker01 Delete state "system.host.iobroker01.versions.npmCurrent" 2024-08-07 19:09:19.923 - info: host.iobroker01 Delete state "system.host.iobroker01.versions.npmNewest" 2024-08-07 19:09:19.925 - info: host.iobroker01 Delete state "system.host.iobroker01.versions.npmNewestNext" 2024-08-07 19:09:19.928 - info: host.iobroker01 Some obsolete host states deleted. 2024-08-07 19:09:21.340 - info: admin.0 (33353) starting. Version 6.3.5 in /opt/iobroker/node_modules/iobroker.admin, node: v20.16.0, js-controller: 6.0.9 2024-08-07 19:09:21.360 - info: admin.0 (33353) requesting all states 2024-08-07 19:09:21.361 - info: admin.0 (33353) requesting all objects 2024-08-07 19:09:21.674 - warn: admin.0 (33353) Cannot get current npm version: Cannot find npm version 2024-08-07 19:09:22.251 - info: admin.0 (33353) received all objects 2024-08-07 19:09:22.326 - error: admin.0 (33353) Cannot create web-server: TypeError: Cannot read properties of undefined (reading 'createServerAsync') 2024-08-07 19:09:22.327 - info: admin.0 (33353) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-08-07 19:09:22.700 - error: admin.0 (33353) Cannot update news: TypeError: newNews.forEach is not a function 2024-08-07 19:09:22.861 - info: admin.0 (33353) terminating http server on port 8081 2024-08-07 19:09:22.904 - info: host.iobroker01 instance system.adapter.admin.0 terminated by request of the instance itself and will not be restarted, before user restarts it. 2024-08-07 19:09:22.905 - info: host.iobroker01 Do not restart adapter system.adapter.admin.0 because desired by instance 2024-08-07 19:09:23.838 - info: host.iobroker01 instance system.adapter.backitup.0 in version "2.5.10" started with pid 33371 2024-08-07 19:09:25.051 - info: backitup.0 (33371) starting. Version 2.5.10 in /opt/iobroker/node_modules/iobroker.backitup, node: v20.16.0, js-controller: 6.0.9 2024-08-07 19:09:25.085 - info: backitup.0 (33371) [iobroker] backup was activated at 02:40 every 1 day(s)
============ Mark until here for C&P =============
iob diag has finished.
und die Zusammenfassung
======================= SUMMARY ======================= v.2024-05-22 Static hostname: iobroker01 Icon name: computer-container Chassis: container ☐ Virtualization: lxc Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.2.16-3-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: 64 bit Timezone: Etc/UTC (UTC, +0000) User-ID: 1001 Display-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 21 Nodejs-Installation: /usr/bin/nodejs v20.16.0 /usr/bin/node v20.16.0 npm: N/A npx: N/A /usr/bin/corepack 0.28.2 Recommended versions are nodejs 16.20.2 and npm 8.19.4 *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixed. Please execute iobroker nodejs-update to fix these errors. MEMORY: total used free shared buff/cache available Mem: 4.3G 260M 3.6G 122K 425M 4.0G Swap: 1.1G 0B 1.1G Total: 5.4G 260M 4.7G Active iob-Instances: 2 Upgrade policy: none ioBroker Core: js-controller 6.0.9 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: system.adapter.admin.0 : admin : iobroker01 - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.web.0 : web : iobroker01 - disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 8926 States: 8169 Size of iob-Database: 24M /opt/iobroker/iobroker-data/objects.jsonl 5.1M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
nen neuen LXC einrichten dauert 5 min, iobroker drauf und backup einspielen, oder man diskutiert und blödelt noch mehrere Stunden herum
wie man einen LXC korrekt aufsetzt steht in der Doku
-
@kurt_88 sagte in Umzug vom Pin64 auf Proxmox schlägt fehl.:
*** Time and Time Zones ***
Zeitzone setzen.
Boot Target: graphical.target
sudo systemd set-default multi-user.target
Users in groups 'adm', 'systemd-journal' can see all messages.
Setz den kurt in die Gruppe adm.
nodejs:
sudo apt update sudo apt install --reinstall nodejs
Bring den ganzen ioBroker-Kram auf Stand.
-
@crunchip sagte in Umzug vom Pin64 auf Proxmox schlägt fehl.:
nen neuen LXC einrichten dauert 5 min, iobroker drauf und backup einspielen, oder man diskutiert und blödelt noch mehrere Stunden herum
Ja, ist die beste Variante. Wer weiß was da sonst noch verrootet worden ist.
-
@thomas-braun Es klappt jetzt.
Ich habe einmalsudo apt install --reinstall nodejs
ausprobiert und es hat geklappt.
Dann habe ich iobroker gestoppt und das momentane iobroker Verzeichnis umbenannt und iobroker noch mal installiert mit
sudo curl -sL -v https://iobroker.net/install.sh | bash -
Auf dem alten geupdateten iobroker Server nochmal ein Backup erstellt und auf den LXC Container übertragen und mit dem neuen iobroker das restore angestoßen.
Es ist alles sauber durchgelaufen und die Admin Oberfläche ist auch erreichbar, anbei das kleine Diag.======================= SUMMARY ======================= v.2024-05-22 Static hostname: iobroker01 Icon name: computer-container Chassis: container ☐ Virtualization: lxc Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.2.16-3-pve Architecture: x86-64 Installation: lxc Kernel: x86_64 Userland: 64 bit Timezone: Etc/UTC (UTC, +0000) User-ID: 0 Display-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v20.16.0 /usr/bin/node v20.16.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.28.2 Recommended versions are nodejs 20.16.0 and npm 10.8.1 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 4.3G 918M 403M 122K 3.0G 3.4G Swap: 1.1G 0B 1.1G Total: 5.4G 918M 1.5G Active iob-Instances: 3 Upgrade policy: none ioBroker Core: js-controller 6.0.9 admin 7.0.22 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker01 - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.web.0 : web : iobroker01 - disabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 9030 States: 8093 Size of iob-Database: 15M /opt/iobroker/iobroker-data/objects.jsonl 1.8M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
Schönen Abend noch und ein großes Dankschön an Thomas und Crunchip
Viele Grüße Kurt
-
@kurt_88 sagte in Umzug vom Pin64 auf Proxmox schlägt fehl.:
Timezone: Etc/UTC (UTC, +0000)
Immer noch falsch. Das ist WICHTIG!
sudo timedatectl set-timezone America/Los_Angeles
oder wo auch immer du residierst.
Boot Target auch nicht richtig gesetzt. Liest du eigentlich was man dir schreibt?
sudo systemd set-default multi-user.target
UND DU HAMPELST DA SCHON WIEDER ALS ROOT UMHER!
Echt, ich hab da KEINEN BOCK MEHR DRAUF! -
@kurt_88 sagte in Umzug vom Pin64 auf Proxmox schlägt fehl.:
Es klappt jetzt.
ne, nicht wirklich
lies doch bitte mal die Doku, wie ein LXC aufgesetzt werden muss -
@thomas-braun war ein bisschen viel heute, habe auch noch ander Sachen zu tun gehabt. Das mit root stimmt schon mal nicht ...
=================== END OF SUMMARY ====================
=== Mark text until here for copying ===
kurt@iobroker01:/opt/iobroker$Und das mit der Zeitzone habe ich noch auf den Schirm, morgen ist aber auch noch ein Tag ... :)
-
@kurt_88 sagte in Umzug vom Pin64 auf Proxmox schlägt fehl.:
User-ID: 0
Da bist du ROOT. Das sieht man.
Also hast du dich da schon mal nicht daran gehalten, das man sich gar nicht erst als root einloggt.Ich muss mal wieder den root aussperren in dem Skript... Nervt mich.
-
@thomas-braun nob, ich habe sudo iob diag ausgeführt.
-
Nächstes Ding...
ioBroker-Kommandos werden auch NIE, NIE, NIE als root / per sudo ausgeführt.
Also warst du doch root. Wenn auch nur für den Befehl. -
@thomas-braun Danke für den Tipp.
-