NEWS
Test Adapter Lgtv v2.0.x
-
@mcm57 vielen Dank euch.
-
Ich kann leider den Adapter nicht mehr installieren. (Weder über die Adapterliste noch über Github) Im Log steht folgendes.
Wo ist bei mir der Fehler? Muss ich noch irgendwas vorinstallieren? Iobroker wurde erst kürzlich neu aufgesetzt.
LG WebOS SmartTV: Verfügbare Version: 2.1.2
js-controller: 5.0.16
*** NodeJS-Installation ***
/usr/bin/nodejs v18.18.2
/usr/bin/node v18.18.2
/usr/bin/npm 9.8.1
/usr/bin/npx 9.8.1
/usr/bin/corepack 0.19.0iobroker npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/bufferutilnpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@7.1.2npm ERR! gyp info using node@18.18.2 | linux | armnpm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm ERR! (node:5467) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! gyp info spawn /usr/bin/python3npm ERR! gyp info spawn args [npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',npm ERR! gyp info spawn args 'binding.gyp',npm ERR! gyp info spawn args '-f',npm ERR! gyp info spawn args 'make',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/bufferutil/build/config.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',npm ERR! gyp info spawn args '-Dlibrary=shared_library',npm ERR! gyp info spawn args '-Dvisibility=default',npm ERR! gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/bufferutil',npm ERR! gyp info spawn args '-Dnode_engine=v8',npm ERR! gyp info spawn args '--depth=.',npm ERR! gyp info spawn args '--no-parallel',npm ERR! gyp info spawn args '--generator-output',npm ERR! gyp info spawn args 'build',npm ERR! gyp info spawn args '-Goutput_dir=.'npm ERR! gyp info spawn args ]npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-rpi4-rpi-v8npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/bufferutilnpm ERR! gyp ERR! node -v v18.18.2npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-01T21_03_47_957Z-debug-0.log
-
Wie genau installierst du den? Läuft nämlich hier 1A durch:
echad@chet:/opt/iobroker $ iob url https://github.com/iobroker-community-adapters/ioBroker.lgtv install iobroker-community-adapters/ioBroker.lgtv#65177d6a00ac1822e440176a5f2f48df013b3d9b NPM version: 10.2.0 Installing iobroker-community-adapters/ioBroker.lgtv#65177d6a00ac1822e440176a5f2f48df013b3d9b... (System call) added 17 packages in 21s 106 packages are looking for funding run `npm fund` for details upload [3] lgtv.admin /opt/iobroker/node_modules/iobroker.lgtv/admin/index.html index.html text/html upload [2] lgtv.admin /opt/iobroker/node_modules/iobroker.lgtv/admin/index_m.html index_m.html text/html upload [1] lgtv.admin /opt/iobroker/node_modules/iobroker.lgtv/admin/lgtv.png lgtv.png image/png upload [0] lgtv.admin /opt/iobroker/node_modules/iobroker.lgtv/admin/words.js words.js application/javascript echad@chet:/opt/iobroker $
-
Im ersten Beitrag hier https://forum.iobroker.net/topic/3263/lgtv-adapter-zur-steuerung-von-lg-webos-smarttvs/859 stand da noch eine Zeile mehr im Log:
iobroker npm WARN skipping integrity check for git dependency ssh://git@github.com/iobroker-community-adapters/ioBroker.lgtv.git npm ERR! code 1
Die Meldung kenn ich nur von github installationen.
Und bevor wer wegen Doppelpost schreit: ICH habe darume rsucht mit dem Thema in diesen aktuellen Topic zu wechseln. DANKE @snigga und Danke für das Ergänzen der Versionen.
Und damit es klar ist:
Der Adapter ist ganz normal im Repository verfügbar. Von einer Installation via Github rate ich explizit AB - dazu sollte es keinen Grund geben ! -
@thomas-braun normal über die Adapter. Github habe ich nur versucht, da ich den Fehler bekommen habe.
-
@snigga
Was (zumindest mir) als Info noch fehlt ist das o/s auf dem das Problem existiert.
Obwohl bei mir funktioniert die Installation auch auf Windows.Ich erspar dann mal Thomas seine Standardbitte
Bitte post mal den Output von 'iob diag'. Ev. sieht dann wer was ...
-
@mcm57
======== Start marking the full check here =========
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: iobroker Icon name: computer Operating System: Raspbian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi4-rpi-v8 Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.2 Docker : false Virtualization : none Kernel : aarch64 Userland : armhf Systemuptime and Load: 17:36:26 up 7 min, 5 users, load average: 1.97, 1.34, 0.72 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Fri 2023-11-03 17:36:26 CET Universal time: Fri 2023-11-03 16:36:26 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input render netdev lp admin gpio i2c spi iobroker *** X-Server-Setup *** X-Server: true Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 4.0G 1.4G 1.8G 16M 809M 2.5G Swap: 104M 0B 104M Total: 4.1G 1.4G 1.9G 3792 M total memory 1368 M used memory 1459 M active memory 369 M inactive memory 1743 M free memory 85 M buffer memory 686 M swap cache 99 M total swap 0 M used swap 99 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.6G 0 1.6G 0% /dev tmpfs tmpfs 380M 980K 379M 1% /run /dev/sda2 ext4 56G 6.4G 47G 12% / tmpfs tmpfs 1.9G 8.0K 1.9G 1% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/sda1 vfat 510M 113M 398M 23% /boot/firmware tmpfs tmpfs 380M 40K 380M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Nov 3 17:29:04 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.ena ble_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:7F:20:A0 vc_mem. mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty 1 root=PARTUUID=00401c0a-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splas h plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=DE [Fri Nov 3 17:29:08 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Fri Nov 3 17:29:11 2023] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437 ,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 506M /var/ 143M /var/cache 137M /var/lib 136M /var/cache/apt 125M /var/log/journal/2633d84c20934117aaba6d9ff4478d36 Archived and active journals take up 124.0M in the file system. /opt/iobroker/backups: 285M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 454M /opt/iobroker/iobroker-data/ 254M /opt/iobroker/iobroker-data/files 146M /opt/iobroker/iobroker-data/backup-objects 67M /opt/iobroker/iobroker-data/files/javascript.admin 48M /opt/iobroker/iobroker-data/files/javascript.admin/static The five largest files in iobroker-data are: 37M /opt/iobroker/iobroker-data/objects.jsonl 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56. js.map 33M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.m ap 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.m ap 18M /opt/iobroker/iobroker-data/states.jsonl USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 nodejs: Installed: 18.18.2-1nodesource1 Candidate: 18.18.2-1nodesource1 Version table: *** 18.18.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 18.18.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.18.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.17.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.17.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.16.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.16.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.15.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.13.0+dfsg1-1+rpi1 500 500 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Package s 18.13.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.12.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.11.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.10.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.9.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.9.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.8.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.7.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.6.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.5.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.4.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.3.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.2.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.1.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.0.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf 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: 5.0.16 admin: 6.12.1 javascript: 7.1.6 Adapters from github: 4 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: ::, run as: admin system.adapter.alias-manager.0 : alias-manager : iobroker - disabled system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.bosch-ebike.0 : bosch-ebike : iobroker - enabled + system.adapter.chromecast.0 : chromecast : iobroker - enabled system.adapter.cloud.0 : cloud : iobroker - enabled + system.adapter.device-reminder.0 : device-reminder : iobroker - enabled system.adapter.device-watcher.0 : device-watcher : iobroker - enabled system.adapter.devices.0 : devices : iobroker - disabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.energiefluss.0 : energiefluss : iobroker - enabled system.adapter.fb-checkpresence.0 : fb-checkpresence : iobroker - enabled + system.adapter.fronius.0 : fronius : iobroker - enabled system.adapter.google-sharedlocations.0 : google-sharedlocations: iobroker - disabled system.adapter.google-sharedlocations.1 : google-sharedlocations: iobroker - disabled system.adapter.history.0 : history : iobroker - disabled system.adapter.homepilot20.0 : homepilot20 : iobroker - enabled + system.adapter.ical.0 : ical : iobroker - enabled system.adapter.info.0 : info : iobroker - enabled system.adapter.iot.0 : iot : iobroker - enabled system.adapter.javascript.0 : javascript : iobroker - enabled system.adapter.javascript.1 : javascript : iobroker - disabled system.adapter.parcel.0 : parcel : iobroker - enabled + system.adapter.radar2.0 : radar2 : iobroker - enabled + system.adapter.roomba.0 : roomba : iobroker - enabled system.adapter.sayit.0 : sayit : iobroker - enabled system.adapter.senec.0 : senec : iobroker - enabled + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 system.adapter.smartgarden.0 : smartgarden : iobroker - disabled system.adapter.socketio.0 : socketio : iobroker - disabled, port: 8084, bind: 0.0.0.0 (SSL), run as: admin system.adapter.sourceanalytix.0 : sourceanalytix : iobroker - enabled system.adapter.statistics.0 : statistics : iobroker - enabled system.adapter.tankerkoenig.0 : tankerkoenig : iobroker - enabled system.adapter.telegram-menu.0 : telegram-menu : iobroker - disabled + system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command : iobroker - enabled + system.adapter.tr-064.0 : tr-064 : iobroker - enabled system.adapter.trashschedule.0 : trashschedule : iobroker - enabled system.adapter.virtualpowermeter.0 : virtualpowermeter : iobroker - enabled system.adapter.vw-connect.0 : vw-connect : iobroker - disabled system.adapter.vw-connect.1 : vw-connect : iobroker - disabled system.adapter.vw-connect.2 : vw-connect : iobroker - enabled system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: ::, run as: admin + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : iobroker - enabled, port: 8082, 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): beta Installed ioBroker-Instances Used repository: beta Adapter "admin" : 6.12.2 , installed 6.12.1 [Updatable] Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 2.9.1 , installed 2.9.1 Adapter "bosch-ebike" : 0.1.0 , installed 0.1.0 Adapter "chromecast" : 3.0.3 , installed 3.1.0 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "device-reminder": 3.0.0 , installed 3.0.0 Adapter "device-watcher": 2.9.4 , installed 2.9.4 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 4.2.0 , installed 4.2.0 Adapter "fb-checkpresence": 1.2.2 , installed 1.2.2 Adapter "fronius" : 2.0.2 , installed 2.0.2 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "info" : 2.0.0 , installed 2.0.0 Adapter "iot" : 2.0.11 , installed 2.0.11 Adapter "javascript" : 7.1.6 , installed 7.1.6 Controller "js-controller": 5.0.16 , installed 5.0.16 Adapter "parcel" : 0.1.6 , installed 0.1.6 Adapter "radar2" : 2.1.0 , installed 2.1.0 Adapter "roomba" : 1.2.2 , installed 1.2.2 Adapter "sayit" : 3.0.5 , installed 3.0.5 Adapter "senec" : 1.6.10 , installed 1.6.10 Adapter "shelly" : 6.6.1 , installed 6.6.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartgarden" : 2.0.0 , installed 2.0.0 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "sourceanalytix": 0.4.14 , installed 0.4.14 Adapter "statistics" : 2.3.0 , installed 2.3.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 2.0.1 , installed 2.0.1 Adapter "telegram-menu": 0.8.3 , installed 0.8.3 Adapter "text2command" : 3.0.2 , installed 3.0.2 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "trashschedule": 2.3.0 , installed 2.3.0 Adapter "virtualpowermeter": 1.4.6, installed 1.4.6 Adapter "vw-connect" : 0.2.0 , installed 0.2.0 Adapter "web" : 6.1.10 , installed 6.1.10 Adapter "weblogin" : 0.1.1 , installed 0.1.1 Adapter "ws" : 2.5.8 , installed 2.5.8 Objects and States Please stand by - This may take a while Objects: 55929 States: 54865 *** OS-Repositories and Updates *** W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease Hit:3 https://deb.nodesource.com/node_18.x nodistro InRelease Reading package lists... W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) 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 0.0.0.0:22 0.0.0.0:* LISTEN 0 16710 799/sshd: /usr/sbin tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 16701 775/cupsd tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 28779 3071/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 27459 3071/iobroker.js-co tcp 0 0 0.0.0.0:5999 0.0.0.0:* LISTEN 0 16048 786/vncserver-virtu tcp6 0 0 :::22 :::* LISTEN 0 16712 799/sshd: /usr/sbin tcp6 0 0 ::1:631 :::* LISTEN 0 16700 775/cupsd tcp6 0 0 :::5999 :::* LISTEN 0 16047 786/vncserver-virtu tcp6 0 0 :::8081 :::* LISTEN 1001 29788 3113/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 29629 3759/io.web.0 udp 0 0 0.0.0.0:631 0.0.0.0:* 0 19526 1068/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 31989 3246/io.chromecast. udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 2029 582/avahi-daemon: r udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 31349 3223/io.shelly.0 udp 0 0 0.0.0.0:40621 0.0.0.0:* 104 2031 582/avahi-daemon: r udp 0 0 0.0.0.0:5999 0.0.0.0:* 0 16049 786/vncserver-virtu udp 0 0 0.0.0.0:67 0.0.0.0:* 1001 29249 3200/io.radar2.0 udp6 0 0 :::33845 :::* 104 2032 582/avahi-daemon: r udp6 0 0 :::5353 :::* 104 2030 582/avahi-daemon: r udp6 0 0 :::5999 :::* 0 16050 786/vncserver-virtu *** Log File - Last 25 Lines *** 2023-11-03 17:38:48.950 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010043-35000262.Position Destination Power: homepilot20.0.Actuator.1010043-35000262.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010043-35000262.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:48.951 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010045-35000262.Position 2023-11-03 17:38:49.254 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010045-35000262.Position Destination Power: homepilot20.0.Actuator.1010045-35000262.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010045-35000262.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:49.264 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010046-35000262.Position 2023-11-03 17:38:49.733 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010046-35000262.Position Destination Power: homepilot20.0.Actuator.1010046-35000262.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010046-35000262.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:49.734 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010047-35000262.Position 2023-11-03 17:38:50.079 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010047-35000262.Position Destination Power: homepilot20.0.Actuator.1010047-35000262.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010047-35000262.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:50.080 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010049-35000262.Position 2023-11-03 17:38:50.432 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010049-35000262.Position Destination Power: homepilot20.0.Actuator.1010049-35000262.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010049-35000262.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:50.433 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010052-35140462.Position 2023-11-03 17:38:50.720 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010052-35140462.Position Destination Power: homepilot20.0.Actuator.1010052-35140462.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010052-35140462.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:50.721 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010063-35000262.Position 2023-11-03 17:38:51.217 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010063-35000262.Position Destination Power: homepilot20.0.Actuator.1010063-35000262.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010063-35000262.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:51.217 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010064-35000262.Position 2023-11-03 17:38:51.612 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010064-35000262.Position Destination Power: homepilot20.0.Actuator.1010064-35000262.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010064-35000262.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:51.613 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010065-35000262.Position 2023-11-03 17:38:52.000 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010065-35000262.Position Destination Power: homepilot20.0.Actuator.1010065-35000262.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010065-35000262.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:38:52.008 - info: cloud.0 (3356) Trying to connect as system.user.admin to cloud 2023-11-03 17:38:52.000 - info: virtualpowermeter.0 (3734) initial homepilot20.0.Actuator.1010068-35140462.Position 2023-11-03 17:38:52.181 - info: cloud.0 (3356) Connection changed: connect 2023-11-03 17:38:52.565 - info: virtualpowermeter.0 (3734) initial done homepilot20.0.Actuator.1010068-35140462.Position Destination Power: homepilot20.0.Actuator.1010068-35140462.Virtual_Energy_Power Destination EnergyTotal: homepilot20.0.Actuator.1010068-35140462.Virtual_Energy_Total Destination Group: virtualpowermeter.0.group_Licht. 2023-11-03 17:39:05.458 - info: virtualpowermeter.0 (3734) initial completed 2023-11-03 17:39:15.049 - info: sourceanalytix.0 (3600) Initialization of 0_userdata.0.HP8620.Info.Scanner_ADF successfully 2023-11-03 17:39:15.051 - info: sourceanalytix.0 (3600) Initialising (2 of 47) "0_userdata.0.HP8620.Info.Scanner_Gesamt" 2023-11-03 17:39:18.027 - info: statistics.0 (3635) [SETUP] observing 10 values after startup
============ Mark until here for C&P =============
iob diag has finished.
Press any key for a summary
Copy text starting here:
======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker Icon name: computer Operating System: Raspbian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi4-rpi-v8 Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 Recommended versions are nodejs Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"! and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 4.0G 2.0G 1.2G 16M 841M 2.0G Swap: 104M 0B 104M Total: 4.1G 2.0G 1.3G Active iob-Instances: 33 Active repo(s): beta ioBroker Core: js-controller 5.0.16 admin 6.12.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: ::, run as: admin + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 55929 States: 54865 Size of iob-Database: 41M /opt/iobroker/iobroker-data/objects.jsonl 21M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
pi@iobroker:~ $ -
Desktop ausschalten, dann den gpg-Schlüssel verschieben.
sudo mv /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/
-
@thomas-braun Erledigt. Jetzt habe ich aber fehler im iob diag
======== Start marking the full check here =========
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: iobroker Icon name: computer Operating System: Raspbian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi4-rpi-v8 Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.2 Docker : false Virtualization : none Kernel : aarch64 Userland : armhf Systemuptime and Load: 18:20:04 up 10 min, 2 users, load average: 1.85, 2.45, 1.57 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Fri 2023-11-03 18:20:04 CET Universal time: Fri 2023-11-03 17:20:04 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input render netdev lp admin gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 4.0G 2.1G 1.3G 1.0M 644M 1.8G Swap: 104M 0B 104M Total: 4.1G 2.1G 1.4G 3792 M total memory 2028 M used memory 2022 M active memory 386 M inactive memory 1225 M free memory 52 M buffer memory 562 M swap cache 99 M total swap 0 M used swap 99 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.6G 0 1.6G 0% /dev tmpfs tmpfs 380M 912K 379M 1% /run /dev/sda2 ext4 56G 6.4G 47G 12% / tmpfs tmpfs 1.9G 8.0K 1.9G 1% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/sda1 vfat 510M 113M 398M 23% /boot/firmware tmpfs tmpfs 380M 36K 380M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Nov 3 18:09:49 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.ena ble_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:7F:20:A0 vc_mem. mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 console=tty 1 root=PARTUUID=00401c0a-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splas h plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=DE [Fri Nov 3 18:09:53 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none. [Fri Nov 3 18:09:56 2023] EXT4-fs (sda2): re-mounted. Quota mode: none. Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437 ,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 522M /var/ 143M /var/cache 141M /var/log/journal/2633d84c20934117aaba6d9ff4478d36 141M /var/log/journal 141M /var/log Archived and active journals take up 140.0M in the file system. /opt/iobroker/backups: 285M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 478M /opt/iobroker/iobroker-data/ 254M /opt/iobroker/iobroker-data/files 146M /opt/iobroker/iobroker-data/backup-objects 67M /opt/iobroker/iobroker-data/files/javascript.admin 48M /opt/iobroker/iobroker-data/files/javascript.admin/static The five largest files in iobroker-data are: 58M /opt/iobroker/iobroker-data/objects.jsonl 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56. js.map 33M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.m ap 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.m ap 20M /opt/iobroker/iobroker-data/states.jsonl USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 nodejs: Installed: 18.18.2-1nodesource1 Candidate: 18.18.2-1nodesource1 Version table: *** 18.18.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 18.18.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.18.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.17.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.17.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.16.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.16.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.15.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.2-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.14.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.13.0+dfsg1-1+rpi1 500 500 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Package s 18.13.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.12.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.11.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.10.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.9.1-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.9.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.8.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.7.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.6.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.5.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.4.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.3.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.2.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.1.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages 18.0.0-1nodesource1 500 500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: npm ERR! code ELSPROBLEMS npm ERR! extraneous: @abandonware/bluetooth-hci-socket@0.5.3-10 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket npm ERR! extraneous: node-addon-api@4.3.0 /opt/iobroker/node_modules/node-addon-api npm ERR! extraneous: node-gyp-build@4.6.1 /opt/iobroker/node_modules/node-gyp-build npm ERR! extraneous: usb@1.9.2 /opt/iobroker/node_modules/usb npm ERR! extraneous: debug@4.3.4 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/debug npm ERR! extraneous: ms@2.1.2 /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/ms npm ERR! missing: mytelegrammenu@^0.0.17, required by iobroker.javascript@7.1.6 npm ERR! A complete log of this run can be found in: /home/pi/.npm/_logs/2023-11-03T17_20_16_493Z-debug-0.log *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.16 admin: 6.12.2 javascript: 7.1.6 Adapters from github: 4 Adapter State + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: ::, run as: admin system.adapter.alias-manager.0 : alias-manager : iobroker - disabled + system.adapter.backitup.0 : backitup : iobroker - enabled + system.adapter.bosch-ebike.0 : bosch-ebike : iobroker - enabled + system.adapter.chromecast.0 : chromecast : iobroker - enabled + system.adapter.cloud.0 : cloud : iobroker - enabled + system.adapter.device-reminder.0 : device-reminder : iobroker - enabled + system.adapter.device-watcher.0 : device-watcher : iobroker - enabled system.adapter.devices.0 : devices : iobroker - disabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.energiefluss.0 : energiefluss : iobroker - enabled + system.adapter.fb-checkpresence.0 : fb-checkpresence : iobroker - enabled + system.adapter.fronius.0 : fronius : iobroker - enabled system.adapter.google-sharedlocations.0 : google-sharedlocations: iobroker - disabled system.adapter.google-sharedlocations.1 : google-sharedlocations: iobroker - disabled system.adapter.history.0 : history : iobroker - disabled + system.adapter.homepilot20.0 : homepilot20 : iobroker - enabled system.adapter.ical.0 : ical : iobroker - enabled + system.adapter.info.0 : info : iobroker - enabled + system.adapter.iot.0 : iot : iobroker - enabled + system.adapter.javascript.0 : javascript : iobroker - enabled system.adapter.javascript.1 : javascript : iobroker - disabled + system.adapter.parcel.0 : parcel : iobroker - enabled + system.adapter.radar2.0 : radar2 : iobroker - enabled + system.adapter.roomba.0 : roomba : iobroker - enabled + system.adapter.sayit.0 : sayit : iobroker - enabled + system.adapter.senec.0 : senec : iobroker - enabled + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 system.adapter.smartgarden.0 : smartgarden : iobroker - disabled system.adapter.socketio.0 : socketio : iobroker - disabled, port: 8084, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.sourceanalytix.0 : sourceanalytix : iobroker - enabled + system.adapter.statistics.0 : statistics : iobroker - enabled + system.adapter.tankerkoenig.0 : tankerkoenig : iobroker - enabled system.adapter.telegram-menu.0 : telegram-menu : iobroker - disabled + system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : iobroker - enabled + system.adapter.tr-064.0 : tr-064 : iobroker - enabled + system.adapter.trashschedule.0 : trashschedule : iobroker - enabled + system.adapter.virtualpowermeter.0 : virtualpowermeter : iobroker - enabled system.adapter.vw-connect.0 : vw-connect : iobroker - disabled system.adapter.vw-connect.1 : vw-connect : iobroker - disabled + system.adapter.vw-connect.2 : vw-connect : iobroker - enabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: ::, run as: admin + system.adapter.shelly.0 : shelly : iobroker - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : iobroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : iobroker - enabled, port: 8082, 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): beta Installed ioBroker-Instances Used repository: beta Adapter "admin" : 6.12.2 , installed 6.12.2 Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 2.9.1 , installed 2.9.1 Adapter "bosch-ebike" : 0.1.0 , installed 0.1.0 Adapter "chromecast" : 3.0.3 , installed 3.1.0 Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "device-reminder": 3.0.0 , installed 3.0.0 Adapter "device-watcher": 2.9.4 , installed 2.9.4 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 4.2.0 , installed 4.2.0 Adapter "fb-checkpresence": 1.2.2 , installed 1.2.2 Adapter "fronius" : 2.0.2 , installed 2.0.2 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "info" : 2.0.0 , installed 2.0.0 Adapter "iot" : 2.0.11 , installed 2.0.11 Adapter "javascript" : 7.1.6 , installed 7.1.6 Controller "js-controller": 5.0.16 , installed 5.0.16 Adapter "parcel" : 0.1.6 , installed 0.1.6 Adapter "radar2" : 2.1.0 , installed 2.1.0 Adapter "roomba" : 1.2.2 , installed 1.2.2 Adapter "sayit" : 3.0.5 , installed 3.0.5 Adapter "senec" : 1.6.10 , installed 1.6.10 Adapter "shelly" : 6.6.1 , installed 6.6.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartgarden" : 2.0.0 , installed 2.0.0 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "sourceanalytix": 0.4.14 , installed 0.4.14 Adapter "statistics" : 2.4.0 , installed 2.4.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 2.0.1 , installed 2.0.1 Adapter "telegram-menu": 0.8.3 , installed 0.8.3 Adapter "text2command" : 3.0.2 , installed 3.0.2 Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "trashschedule": 2.3.0 , installed 2.3.0 Adapter "virtualpowermeter": 1.4.6, installed 1.4.6 Adapter "vw-connect" : 0.2.0 , installed 0.2.0 Adapter "web" : 6.1.10 , installed 6.1.10 Adapter "weblogin" : 0.1.1 , installed 0.1.1 Adapter "ws" : 2.5.8 , installed 2.5.8 Objects and States Please stand by - This may take a while Objects: 55932 States: 54867 *** OS-Repositories and Updates *** Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease Hit:3 https://deb.nodesource.com/node_18.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:5999 0.0.0.0:* LISTEN 0 13212 736/vncserver-virtu tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 16884 727/cupsd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 13236 759/sshd: /usr/sbin tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 17545 731/iobroker.js-con tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 18492 731/iobroker.js-con tcp6 0 0 ::1:631 :::* LISTEN 0 16883 727/cupsd tcp6 0 0 :::8081 :::* LISTEN 1001 24968 2136/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 21001 1393/io.web.0 tcp6 0 0 :::5999 :::* LISTEN 0 13211 736/vncserver-virtu tcp6 0 0 :::22 :::* LISTEN 0 13238 759/sshd: /usr/sbin udp 0 0 0.0.0.0:631 0.0.0.0:* 0 17564 826/cups-browsed udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 19902 1054/io.chromecast. udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 16692 562/avahi-daemon: r udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 18976 1032/io.shelly.0 udp 0 0 0.0.0.0:38704 0.0.0.0:* 104 16694 562/avahi-daemon: r udp 0 0 0.0.0.0:5999 0.0.0.0:* 0 13213 736/vncserver-virtu udp 0 0 0.0.0.0:67 0.0.0.0:* 1001 17999 1013/io.radar2.0 udp6 0 0 :::5353 :::* 104 16693 562/avahi-daemon: r udp6 0 0 :::34220 :::* 104 16695 562/avahi-daemon: r udp6 0 0 :::5999 :::* 0 13214 736/vncserver-virtu *** Log File - Last 25 Lines *** 2023-11-03 18:18:27.556 - info: statistics.0 (2332) [SETUP] enabled statistics for 0_userdata.0.HP8620.Info.Seite_Gesamt 2023-11-03 18:18:27.556 - info: statistics.0 (2332) [SETUP] enabled statistics for 0_userdata.0.HP8620.Info.Seite_SW 2023-11-03 18:18:27.557 - info: statistics.0 (2332) [SETUP] enabled statistics for alias.0.Audi.km 2023-11-03 18:18:27.558 - info: statistics.0 (2332) [SETUP] enabled statistics for senec.0._api.Anlagen.86808.Dashboard.heute.autarkie 2023-11-03 18:18:27.559 - info: statistics.0 (2332) [SETUP] enabled statistics for senec.0._api.Anlagen.86808.Dashboard.heute.speicherfuellstand 2023-11-03 18:18:27.560 - info: statistics.0 (2332) [SETUP] enabled statistics for virtualpowermeter.0.group_Licht.Virtual_Energy_Total_group_Licht 2023-11-03 18:18:29.984 - silly: iot.0 (1226) Objects user redis pmessage system.adapter.*/cfg.o.system.adapter.admin.0.guiSettings:{"type":"state","common":{"type":"boolean","read":true,"write":false,"role":"state"},"native":{"localStorage":{"Adapter.search":"l","Adapters.updateList":"true"},"sessionStorage":{}},"_id":"system.adapter.admin.0.guiSettings","acl":{"object":1638,"state":1638,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.admin.0","user":"system.user.admin","ts":1699031909970} 2023-11-03 18:18:30.808 - silly: iot.0 (1226) Objects user redis pmessage system.adapter.*/cfg.o.system.adapter.admin.0.guiSettings:{"type":"state","common":{"type":"boolean","read":true,"write":false,"role":"state"},"native":{"localStorage":{"Adapter.search":"lgtv","Adapters.updateList":"true"},"sessionStorage":{}},"_id":"system.adapter.admin.0.guiSettings","acl":{"object":1638,"state":1638,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.admin.0","user":"system.user.admin","ts":1699031910800} 2023-11-03 18:18:32.863 - info: statistics.0 (2332) [SETUP] observing 10 values after startup 2023-11-03 18:18:37.470 - silly: iot.0 (1226) Objects user redis pmessage system.adapter.*/cfg.o.system.adapter.admin.0.guiSettings:{"type":"state","common":{"type":"boolean","read":true,"write":false,"role":"state"},"native":{"localStorage":{"Adapters.updateList":"true"},"sessionStorage":{}},"_id":"system.adapter.admin.0.guiSettings","acl":{"object":1638,"state":1638,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.admin.0","user":"system.user.admin","ts":1699031917464} 2023-11-03 18:18:44.095 - silly: iot.0 (1226) Objects user redis pmessage system.adapter.*/cfg.o.system.adapter.admin.0.guiSettings:{"type":"state","common":{"type":"boolean","read":true,"write":false,"role":"state"},"native":{"localStorage":{"Adapters.updateList":"false"},"sessionStorage":{}},"_id":"system.adapter.admin.0.guiSettings","acl":{"object":1638,"state":1638,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.admin.0","user":"system.user.admin","ts":1699031924091} 2023-11-03 18:18:46.829 - silly: iot.0 (1226) Objects user redis pmessage system.adapter.*/cfg.o.system.adapter.admin.0.guiSettings:{"type":"state","common":{"type":"boolean","read":true,"write":false,"role":"state"},"native":{"localStorage":{"Adapters.updateList":"false","Adapter.search":"l"},"sessionStorage":{}},"_id":"system.adapter.admin.0.guiSettings","acl":{"object":1638,"state":1638,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.admin.0","user":"system.user.admin","ts":1699031926810} 2023-11-03 18:18:47.176 - silly: iot.0 (1226) Objects user redis pmessage system.adapter.*/cfg.o.system.adapter.admin.0.guiSettings:{"type":"state","common":{"type":"boolean","read":true,"write":false,"role":"state"},"native":{"localStorage":{"Adapters.updateList":"false","Adapter.search":"lg"},"sessionStorage":{}},"_id":"system.adapter.admin.0.guiSettings","acl":{"object":1638,"state":1638,"owner":"system.user.admin","ownerGroup":"system.group.administrator"},"from":"system.adapter.admin.0","user":"system.user.admin","ts":1699031927143} 2023-11-03 18:18:52.548 - info: host.iobroker iobroker add lgtv auto --host iobroker --debug 2023-11-03 18:18:57.827 - info: host.iobroker iobroker NPM version: 9.8.1 2023-11-03 18:18:57.828 - info: host.iobroker iobroker Installing iobroker.lgtv@2.1.2... (System call) 2023-11-03 18:19:14.954 - info: admin.0 (2136) ==> Connected system.user.admin from ::ffff:192.168.188.36 2023-11-03 18:19:18.281 - info: host.iobroker iobroker npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/bufferutilnpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@7.1.2npm ERR! gyp info using node@18.18.2 | linux | armnpm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm ERR! (node:2444) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! gyp info spawn /usr/bin/python3npm ERR! gyp info spawn args [npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',npm ERR! gyp info spawn args 'binding.gyp',npm ERR! gyp info spawn args '-f',npm ERR! gyp info spawn args 'make',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/bufferutil/build/config.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',npm ERR! gyp info spawn args '-Dlibrary=shared_library',npm ERR! gyp info spawn args '-Dvisibility=default',npm ERR! gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/bufferutil',npm ERR! gyp info spawn args '-Dnode_engine=v8',npm ERR! gyp info spawn args '--depth=.',npm ERR! gyp info spawn args '--no-parallel',npm ERR! gyp info spawn args '--generator-output',npm ERR! gyp info spawn args 'build',npm ERR! gyp info spawn args '-Goutput_dir=.'npm ERR! gyp info spawn args ]npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-rpi4-rpi-v8npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/bufferutilnpm ERR! gyp ERR! node -v v18.18.2npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-03T17_18_59_072Z-debug-0.log 2023-11-03 18:19:18.374 - error: host.iobroker iobroker npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/bufferutilnpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@7.1.2npm ERR! gyp info using node@18.18.2 | linux | armnpm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm ERR! (node:2444) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! gyp info spawn /usr/bin/python3npm ERR! gyp info spawn args [npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',npm ERR! gyp info spawn args 'binding.gyp',npm ERR! gyp info spawn args '-f',npm ERR! gyp info spawn args 'make',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/bufferutil/build/config.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',npm ERR! gyp info spawn args '-Dlibrary=shared_library',npm ERR! gyp info spawn args '-Dvisibility=default',npm ERR! gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/bufferutil',npm ERR! gyp info spawn args '-Dnode_engine=v8',npm ERR! gyp info spawn args '--depth=.',npm ERR! gyp info spawn args '--no-parallel',npm ERR! gyp info spawn args '--generator-output',npm ERR! gyp info spawn args 'build',npm ERR! gyp info spawn args '-Goutput_dir=.'npm ERR! gyp info spawn args ]npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-rpi4-rpi-v8npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/bufferutilnpm ERR! gyp ERR! node -v v18.18.2npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-03T17_18_59_072Z-debug-0.loghost.iobroker Cannot install iobroker.lgtv@2.1.2: 1 2023-11-03 18:19:18.947 - warn: fb-checkpresence.0 (1412) getAllFbObjects: Hostname of fritzbox device FE:6E:FD:F7:AF:21 is empty! 2023-11-03 18:19:18.948 - warn: fb-checkpresence.0 (1412) getAllFbObjects: To delete this device in the fritzbox please add the device manually in the fritzbox with a hostname and the shown mac-address. After a reboot you can hopefully delete the device. 2023-11-03 18:19:19.769 - info: host.iobroker iobroker exit 25 2023-11-03 18:20:04.685 - debug: iot.0 (1226) Data: "Fri Nov 03 2023 18:20:04 GMT 0100 (Mitteleuropäische Normalzeit)"
============ Mark until here for C&P =============
iob diag has finished.
Press any key for a summary
Copy text starting here:
======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker Icon name: computer Operating System: Raspbian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-rpi4-rpi-v8 Architecture: arm64 Installation: native Kernel: aarch64 Userland: armhf Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 Recommended versions are nodejs 18.18.2 and npm 9.8.1 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 4.0G 1.9G 1.3G 1.0M 853M 2.1G Swap: 104M 0B 104M Total: 4.1G 1.9G 1.4G Active iob-Instances: 33 Active repo(s): beta ioBroker Core: js-controller 5.0.16 admin 6.12.2 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: ::, run as: admin + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 55932 States: 54867 Size of iob-Database: 58M /opt/iobroker/iobroker-data/objects.jsonl 22M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
pi@iobroker:~ $ -
Schau mal ob es diese Datei gibt
/usr/lib/python3.11/EXTERNALLY-MANAGED
Kann u. U. auch statt in python3.11 in einem anderen Verzeichnis liegen.
-
@thomas-braun sagte in Test Adapter Lgtv v2.0.x:
/usr/lib/python3.11/EXTERNALLY-MANAGED
existiert
pi@iobroker:/usr/lib/python3.11 $ dir abc.py enum.py os.py stat.py aifc.py EXTERNALLY-MANAGED _osx_support.py stringprep.py _aix_support.py EXTERNALLY-MANAGED.orig pathlib.py string.py antigravity.py filecmp.py pdb.py _strptime.py argparse.py fileinput.py __phello__ struct.py ast.py fnmatch.py pickle.py subprocess.py asynchat.py fractions.py pickletools.py sunau.py asyncio ftplib.py pipes.py symtable.py asyncore.py functools.py pkgutil.py _sysconfigdata__arm-linux-gnueabihf.py base64.py __future__.py platform.py _sysconfigdata__linux_arm-linux-gnueabihf.py bdb.py genericpath.py plistlib.py sysconfig.py bisect.py getopt.py poplib.py tabnanny.py _bootsubprocess.py getpass.py posixpath.py tarfile.py bz2.py gettext.py pprint.py telnetlib.py calendar.py glob.py profile.py tempfile.py cgi.py graphlib.py pstats.py test cgitb.py gzip.py pty.py textwrap.py chunk.py hashlib.py _py_abc.py this.py cmd.py heapq.py __pycache__ _threading_local.py codecs.py __hello__.py pyclbr.py threading.py codeop.py hmac.py py_compile.py timeit.py code.py html _pydecimal.py tkinter collections http pydoc_data tokenize.py _collections_abc.py imaplib.py pydoc.py token.py colorsys.py imghdr.py _pyio.py tomllib _compat_pickle.py importlib queue.py traceback.py compileall.py imp.py quopri.py tracemalloc.py _compression.py inspect.py random.py trace.py concurrent io.py re tty.py config-3.11-arm-linux-gnueabihf ipaddress.py reprlib.py turtle.py configparser.py json rlcompleter.py types.py contextlib.py keyword.py runpy.py typing.py contextvars.py lib2to3 sched.py unittest copy.py lib-dynload secrets.py urllib copyreg.py LICENSE.txt selectors.py uuid.py cProfile.py linecache.py shelve.py uu.py crypt.py locale.py shlex.py venv csv.py logging shutil.py warnings.py ctypes lzma.py signal.py wave.py curses mailbox.py _sitebuiltins.py weakref.py dataclasses.py mailcap.py sitecustomize.py _weakrefset.py datetime.py _markupbase.py site.py webbrowser.py dbm mimetypes.py smtpd.py wsgiref decimal.py modulefinder.py smtplib.py xdrlib.py difflib.py multiprocessing sndhdr.py xml dis.py netrc.py socket.py xmlrpc dist-packages nntplib.py socketserver.py zipapp.py distutils ntpath.py sqlite3 zipfile.py _distutils_system_mod.py nturl2path.py sre_compile.py zipimport.py doctest.py numbers.py sre_constants.py zoneinfo email opcode.py sre_parse.py encodings operator.py ssl.py ensurepip optparse.py statistics.py
-
@snigga sagte in Test Adapter Lgtv v2.0.x:
EXTERNALLY-MANAGED
sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
Dann nochmal versuchen den Adapter zu installieren.
-
@thomas-braun sagte in Test Adapter Lgtv v2.0.x:
sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
erledigt jedoch problem ist weiterhin da
$ iobroker add lgtv auto --host iobroker --debug NPM version: 9.8.1 Installing iobroker.lgtv@2.1.2... (System call) npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/bufferutilnpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@7.1.2npm ERR! gyp info using node@18.18.2 | linux | armnpm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"npm ERR! (node:3508) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! gyp info spawn /usr/bin/python3npm ERR! gyp info spawn args [npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',npm ERR! gyp info spawn args 'binding.gyp',npm ERR! gyp info spawn args '-f',npm ERR! gyp info spawn args 'make',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/bufferutil/build/config.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',npm ERR! gyp info spawn args '-I',npm ERR! gyp info spawn args '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',npm ERR! gyp info spawn args '-Dlibrary=shared_library',npm ERR! gyp info spawn args '-Dvisibility=default',npm ERR! gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',npm ERR! gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/bufferutil',npm ERR! gyp info spawn args '-Dnode_engine=v8',npm ERR! gyp info spawn args '--depth=.',npm ERR! gyp info spawn args '--no-parallel',npm ERR! gyp info spawn args '--generator-output',npm ERR! gyp info spawn args 'build',npm ERR! gyp info spawn args '-Goutput_dir=.'npm ERR! gyp info spawn args ]npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-rpi4-rpi-v8npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/bufferutilnpm ERR! gyp ERR! node -v v18.18.2npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-11-03T17_45_47_557Z-debug-0.loghost.iobroker Cannot install iobroker.lgtv@2.1.2: 1 ERROR: Process exited with code 25
-
Keine Ahnung. Läuft hier 1A durch:
echad@chet:~ $ iobroker add lgtv --debug NPM version: 10.2.0 Installing iobroker.lgtv@2.1.2... (System call) added 15 packages in 11s 108 packages are looking for funding run `npm fund` for details host.chet install adapter lgtv upload [3] lgtv.admin /opt/iobroker/node_modules/iobroker.lgtv/admin/index.html index.html text/html upload [2] lgtv.admin /opt/iobroker/node_modules/iobroker.lgtv/admin/index_m.html index_m.html text/html upload [1] lgtv.admin /opt/iobroker/node_modules/iobroker.lgtv/admin/lgtv.png lgtv.png image/png upload [0] lgtv.admin /opt/iobroker/node_modules/iobroker.lgtv/admin/words.js words.js application/javascript host.chet object system.adapter.lgtv created/updated host.chet create instance lgtv host.chet object system.adapter.lgtv.0.alive created host.chet object system.adapter.lgtv.0.connected created host.chet object system.adapter.lgtv.0.compactMode created host.chet object system.adapter.lgtv.0.cpu created host.chet object system.adapter.lgtv.0.cputime created host.chet object system.adapter.lgtv.0.memHeapUsed created host.chet object system.adapter.lgtv.0.memHeapTotal created host.chet object system.adapter.lgtv.0.memRss created host.chet object system.adapter.lgtv.0.uptime created host.chet object system.adapter.lgtv.0.inputCount created host.chet object system.adapter.lgtv.0.outputCount created host.chet object system.adapter.lgtv.0.eventLoopLag created host.chet object system.adapter.lgtv.0.sigKill created host.chet object system.adapter.lgtv.0.logLevel created host.chet object lgtv.0.info.connection created host.chet object lgtv.0.states created host.chet object lgtv.0.states.on created host.chet object lgtv.0.states.popup created host.chet object lgtv.0.states.turnOff created host.chet object lgtv.0.states.power created host.chet object lgtv.0.states.mute created host.chet object lgtv.0.states.volumeUp created host.chet object lgtv.0.states.volumeDown created host.chet object lgtv.0.states.3Dmode created host.chet object lgtv.0.states.channel created host.chet object lgtv.0.states.channelId created host.chet object lgtv.0.states.channelUp created host.chet object lgtv.0.states.channelDown created host.chet object lgtv.0.states.mediaPlay created host.chet object lgtv.0.states.mediaPause created host.chet object lgtv.0.states.mediaStop created host.chet object lgtv.0.states.mediaFastForward created host.chet object lgtv.0.states.mediaRewind created host.chet object lgtv.0.states.volume created host.chet object lgtv.0.states.input created host.chet object lgtv.0.states.currentApp created host.chet object lgtv.0.states.launch created host.chet object lgtv.0.states.openURL created host.chet object lgtv.0.states.youtube created host.chet object lgtv.0.states.drag created host.chet object lgtv.0.states.scroll created host.chet object lgtv.0.states.click created host.chet object lgtv.0.states.soundOutput created host.chet object lgtv.0.states.raw created host.chet object lgtv.0.remote.power created host.chet object lgtv.0.remote.red created host.chet object lgtv.0.remote.green created host.chet object lgtv.0.remote.yellow created host.chet object lgtv.0.remote.blue created host.chet object lgtv.0.remote.home created host.chet object lgtv.0.remote.menu created host.chet object lgtv.0.remote.cc created host.chet object lgtv.0.remote.back created host.chet object lgtv.0.remote.up created host.chet object lgtv.0.remote.down created host.chet object lgtv.0.remote.left created host.chet object lgtv.0.remote.right created host.chet object lgtv.0.remote.enter created host.chet object lgtv.0.remote.dash created host.chet object lgtv.0.remote.exit created host.chet object lgtv.0.remote.0 created host.chet object lgtv.0.remote.1 created host.chet object lgtv.0.remote.2 created host.chet object lgtv.0.remote.3 created host.chet object lgtv.0.remote.4 created host.chet object lgtv.0.remote.5 created host.chet object lgtv.0.remote.6 created host.chet object lgtv.0.remote.7 created host.chet object lgtv.0.remote.8 created host.chet object lgtv.0.remote.9 created host.chet object lgtv.0.states.mac created host.chet object lgtv.0.states.model created host.chet Set default value of lgtv.0.info.connection: false host.chet object system.adapter.lgtv.0 created echad@chet:~ $
-
@snigga sagte in Test Adapter Lgtv v2.0.x:
node-gyp -v
Hast du das separat installiert?
apt policy node-gyp
-
@thomas-braun
Mir ist das da aufgefallen:/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi
Kann es deiner Meinung nach sein, dass da irgendein Schrott gecashed wird?
Liegt auch unter /home ?!?!Ev. sagt dir das ja was - ich kenn mich leider mit python null aus.
-
@mcm57 sagte in Test Adapter Lgtv v2.0.x:
Kann es deiner Meinung nach sein, dass da irgendein Schrott gecashed wird?
Liegt auch unter /home ?!?!Nöööö, das ist normal.
Das Problem hier ist, das python 3.11 erst mit node-gyp >=8 funktioniert.Beim TE ist aber node-gyp -v v7.1.2 am Start.
-
@thomas-braun ich hab nichts installiert raspi os image geflasht und iobroker installiert, danach backupit und das wars
-
Schau mal in die Datei
/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
rein und such die Stelle mit
build_file_contents = open
(Müsste so um die Zeile 230 herum zu finden sein).Wenn da
build_file_contents = open(build_file_path, 'rU').read()
drin steht, änder es auf
build_file_contents = open(build_file_path, 'r').read()
ab. Also das U löschen.
-
@thomas-braun said in Test Adapter Lgtv v2.0.x:
@mcm57 sagte in Test Adapter Lgtv v2.0.x:
Kann es deiner Meinung nach sein, dass da irgendein Schrott gecashed wird?
Liegt auch unter /home ?!?!Nöööö, das ist normal.
Das Problem hier ist, das python 3.11 erst mit node-gyp >=8 funktioniert.Beim TE ist aber node-gyp -v v7.1.2 am Start.
Kann das irgendwie an den dependencies liegen die der Adapter ausliefert?
Im package-lock hab ich nichts gefunden, außer "node-gyp-build": "^4.3.0", Für node-gyp steht nix drinnen.