NEWS
Issue Admin/WebAdapter - iobroker/webserver/build/index.js
-
Systemdata Bitte Ausfüllen Hardwaresystem: Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz Arbeitsspeicher: 16GB Festplattenart: SSD Betriebssystem: 22.04.2 LTS (Jammy Jellyfish) Node-Version: 18.15.0 Nodejs-Version: 18.15.0 NPM-Version: 9.5.0 Installationsart: Skript Image genutzt: Nein Hallo liebe Community.
nach jedem neustart meines Servers oder wenn ich eine neue/andere Version vom Admin/Web-Adapter installiere erhalte ich die unten beigefügten Fehlermeldungen im Admin-und/oder Web-Adapter.Admin habe ich aktuell 6.4.3 und Web habe ich 6.0.1 installiert.
Die Fehler sind gekommen als ich einmal npm i @iobroker/webserver gemacht habe, da ich Probleme mit Lets Encrypt hatte.
https://github.com/ioBroker/ioBroker.web/issues/281Nun habe ich keine Ahnung wie ich das weg bekomme.
Ich kann zwar jedesmal in das Node Modul reinspringen und npn i --production machen, danach ist auch alles wieder gefixed aber ich mache automatische reboots und müsste diesen Workaround dann immer anwenden.Die Standard Backups haben nichts gebracht, leider....
Kann mir hier einer helfen oder hat eine Idee?
2023-04-11 15:26:43.163 - [31merror[39m: host.intelnuc Caught by controller[0]: Node.js v18.15.0 2023-04-11 15:26:43.163 - [31merror[39m: host.intelnuc instance system.adapter.admin.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2023-04-11 15:26:43.163 - [32minfo[39m: host.intelnuc Rebuild for adapter system.adapter.admin.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually. 2023-04-11 15:26:43.248 - [31merror[39m: host.intelnuc Caught by controller[0]: node:internal/modules/cjs/loader:444 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: throw err; 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: ^ 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/@iobroker/webserver/build/index.js'. Please verify that the package.json has a valid "main" entry 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:436:19) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._findPath (node:internal/modules/cjs/loader:678:18) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1061:27) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:920:27) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1141:19) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:7:22) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1254:14) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1117:32) { 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: path: '/opt/iobroker/node_modules/@iobroker/webserver/package.json', 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: requestPath: '@iobroker/webserver' 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: } 2023-04-11 15:26:43.249 - [31merror[39m: host.intelnuc Caught by controller[0]: Node.js v18.15.0
-
-
-
@djmarc75 said in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:
@cooper19888 mal bitte die Ausgabe von
iob diag
posten
======== Start marking the full check here =========
Skript v.2023-04-02 *** BASE SYSTEM *** Architecture : x86_64 Docker : false Virtualization : none Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy Systemuptime and Load: 16:09:24 up 1:02, 5 users, load average: 1.43, 1.43, 1.34 CPU threads: 4 *** Time and Time Zones *** Local time: Tue 2023-04-11 16:09:24 CEST Universal time: Tue 2023-04-11 14:09:24 UTC RTC time: Tue 2023-04-11 14:09:24 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** cooper1988 /home/cooper1988 cooper1988 adm dialout cdrom sudo dip plugdev lxd iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 15G 4.7G 375M 25M 10G 10G Swap: 4.1G 4.0M 4.1G Total: 19G 4.7G 4.5G 15797 M total memory 4681 M used memory 2007 M active memory 12043 M inactive memory 375 M free memory 739 M buffer memory 10001 M swap cache 4095 M total swap 4 M used swap 4091 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 1.6G 18M 1.6G 2% /run /dev/mapper/ubuntu--vg-ubuntu--lv ext4 54G 17G 35G 34% / tmpfs tmpfs 7.8G 3.1M 7.8G 1% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock /dev/sda ext4 1.8T 1.1T 673G 62% /mnt/SeagateIron /dev/sdb2 ext4 974M 254M 653M 28% /boot /dev/sdc ext4 3.6T 1.4T 2.1T 40% /mnt/SSDPLUS /dev/sdb1 vfat 511M 33M 479M 7% /boot/efi 192.168.2.51:/HomeServer nfs4 916G 14G 903G 2% /mnt/pi_backupfolder tmpfs tmpfs 1.6G 4.0K 1.6G 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Tue Apr 11 15:06:57 2023] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Tue Apr 11 15:06:58 2023] EXT4-fs (dm-0): re-mounted. Opts: (null). Quota mode: none. [Tue Apr 11 15:06:59 2023] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Tue Apr 11 15:06:59 2023] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Tue Apr 11 15:06:59 2023] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mapper/ubuntu--vg-ubuntu--lv ext4 rw,relatime |-/snap/certbot/2836 /dev/loop0 squashfs ro,nodev,relatime,errors=continue |-/snap/certbot/2913 /dev/loop1 squashfs ro,nodev,relatime,errors=continue |-/snap/core/14784 /dev/loop2 squashfs ro,nodev,relatime,errors=continue |-/snap/core/14946 /dev/loop3 squashfs ro,nodev,relatime,errors=continue |-/snap/core18/2714 /dev/loop4 squashfs ro,nodev,relatime,errors=continue |-/snap/core18/2721 /dev/loop5 squashfs ro,nodev,relatime,errors=continue |-/snap/core20/1828 /dev/loop7 squashfs ro,nodev,relatime,errors=continue |-/snap/core20/1852 /dev/loop6 squashfs ro,nodev,relatime,errors=continue |-/snap/lxd/23991 /dev/loop8 squashfs ro,nodev,relatime,errors=continue |-/snap/snapd/18357 /dev/loop10 squashfs ro,nodev,relatime,errors=continue |-/snap/lxd/24061 /dev/loop9 squashfs ro,nodev,relatime,errors=continue |-/snap/snapd/18596 /dev/loop11 squashfs ro,nodev,relatime,errors=continue |-/mnt/SeagateIron /dev/sda ext4 rw,relatime |-/boot /dev/sdb2 ext4 rw,relatime | `-/boot/efi /dev/sdb1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro |-/mnt/SSDPLUS /dev/sdc ext4 rw,relatime `-/mnt/pi_backupfolder 192.168.2.51:/HomeServer nfs4 rw,relatime,vers=4.2,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.2.50,local_lock=none,addr=192.168.2.51 Files in neuralgic directories: /var: 4.3G /var/ 3.7G /var/lib 2.1G /var/lib/plexmediaserver/Library/Application Support/Plex Media Server 2.1G /var/lib/plexmediaserver/Library/Application Support 2.1G /var/lib/plexmediaserver/Library /opt/iobroker/backups: 37M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 496M /opt/iobroker/iobroker-data/ 272M /opt/iobroker/iobroker-data/files 157M /opt/iobroker/iobroker-data/backup-objects 85M /opt/iobroker/iobroker-data/files/telegram.admin 52M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 21M /opt/iobroker/iobroker-data/states.jsonl 19M /opt/iobroker/iobroker-data/objects.jsonl 19M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.9cfa27d8.js.map 19M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.2975a411.js.map 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 *** NodeJS-Installation *** /usr/bin/nodejs v18.15.0 /usr/bin/node v18.15.0 /usr/bin/npm 9.5.0 /usr/bin/npx 9.5.0 nodejs: Installed: 18.15.0-deb-1nodesource1 Candidate: 18.15.0-deb-1nodesource1 Version table: *** 18.15.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x jammy/main amd64 Packages 100 /var/lib/dpkg/status 12.22.9~dfsg-1ubuntu3 500 500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.24 admin: 6.4.3 javascript: 7.0.3 Adapters from github: 8 Adapter State system.adapter.acme.0 : acme : intelnuc - disabled, port: 9090, bind: 0.0.0.0 + system.adapter.admin.0 : admin : intelnuc - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.admin.1 : admin : intelnuc - enabled, port: 8083, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : intelnuc - enabled + system.adapter.asuswrt.0 : asuswrt : intelnuc - enabled + system.adapter.backitup.0 : backitup : intelnuc - enabled + system.adapter.bring.0 : bring : intelnuc - enabled system.adapter.daswetter.0 : daswetter : intelnuc - enabled + system.adapter.device-reminder.0 : device-reminder : intelnuc - enabled + system.adapter.discovery.0 : discovery : intelnuc - enabled + system.adapter.energiefluss.0 : energiefluss : intelnuc - enabled system.adapter.feiertage.0 : feiertage : intelnuc - enabled + system.adapter.heatingcontrol.0 : heatingcontrol : intelnuc - enabled + system.adapter.hm-rega.0 : hm-rega : intelnuc - enabled + system.adapter.hm-rpc.0 : hm-rpc : intelnuc - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : intelnuc - enabled, port: 0 system.adapter.ical.0 : ical : intelnuc - enabled + system.adapter.influxdb.0 : influxdb : intelnuc - enabled, port: 8086 + system.adapter.info.0 : info : intelnuc - enabled + system.adapter.iot.0 : iot : intelnuc - enabled + system.adapter.jarvis.0 : jarvis : intelnuc - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.javascript.0 : javascript : intelnuc - enabled + system.adapter.libre.0 : libre : intelnuc - enabled + system.adapter.life360.0 : life360 : intelnuc - enabled + system.adapter.linux-control.0 : linux-control : intelnuc - enabled + system.adapter.mqtt.0 : mqtt : intelnuc - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.mqtt.1 : mqtt : intelnuc - enabled, port: 1884, bind: 0.0.0.0 system.adapter.netatmo-crawler.0 : netatmo-crawler : intelnuc - enabled + system.adapter.nightscout.0 : nightscout : intelnuc - enabled system.adapter.nina.0 : nina : intelnuc - disabled + system.adapter.openligadb.0 : openligadb : intelnuc - enabled + system.adapter.parcel.0 : parcel : intelnuc - enabled + system.adapter.ping.0 : ping : intelnuc - enabled + system.adapter.pvoutputorg.0 : pvoutputorg : intelnuc - enabled system.adapter.schoolfree.0 : schoolfree : intelnuc - enabled + system.adapter.shelly.0 : shelly : intelnuc - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.shuttercontrol.0 : shuttercontrol : intelnuc - enabled + system.adapter.smartcontrol.0 : smartcontrol : intelnuc - enabled + system.adapter.sprinklecontrol.0 : sprinklecontrol : intelnuc - enabled + system.adapter.sprinklecontrol.1 : sprinklecontrol : intelnuc - enabled + system.adapter.sprinklecontrol.2 : sprinklecontrol : intelnuc - enabled + system.adapter.sprinklecontrol.3 : sprinklecontrol : intelnuc - enabled + system.adapter.tankerkoenig.0 : tankerkoenig : intelnuc - enabled + system.adapter.telegram.0 : telegram : intelnuc - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.trashschedule.0 : trashschedule : intelnuc - enabled + system.adapter.vaillant.0 : vaillant : intelnuc - enabled system.adapter.vis.0 : vis : intelnuc - disabled system.adapter.vofo-speedtest.0 : vofo-speedtest : intelnuc - enabled + system.adapter.web.0 : web : intelnuc - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin system.adapter.whatsapp-cmb.0 : whatsapp-cmb : intelnuc - disabled system.adapter.worx.0 : worx : intelnuc - disabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : intelnuc - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.admin.1 : admin : intelnuc - enabled, port: 8083, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.0 : hm-rpc : intelnuc - enabled, port: 0 + system.adapter.hm-rpc.1 : hm-rpc : intelnuc - enabled, port: 0 + system.adapter.influxdb.0 : influxdb : intelnuc - enabled, port: 8086 + system.adapter.jarvis.0 : jarvis : intelnuc - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.mqtt.0 : mqtt : intelnuc - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.mqtt.1 : mqtt : intelnuc - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : intelnuc - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : intelnuc - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : intelnuc - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin ioBroker-Repositories Stable (default): http://download.iobroker.net/sources-dist.json Beta (latest) : http://download.iobroker.net/sources-dist-latest.json Active repo(s): Beta (latest) Installed ioBroker-Instances Used repository: Beta (latest) Adapter "acme" : 0.0.2 , installed 0.1.0 Adapter "admin" : 6.4.3 , installed 6.4.3 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "asuswrt" : 1.0.1 , installed 1.0.1 Adapter "backitup" : 2.6.16 , installed 2.6.16 Adapter "bring" : 1.8.1 , installed 1.8.1 Adapter "daswetter" : 3.1.8 , installed 3.1.8 Adapter "device-reminder": 1.2.9 , installed 1.2.9 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "heatingcontrol": 2.10.6 , installed 2.10.6 Adapter "hm-rega" : 3.0.46 , installed 3.0.46 Adapter "hm-rpc" : 1.15.16 , installed 1.15.16 Adapter "ical" : 1.13.2 , installed 1.13.2 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.26 , installed 1.9.26 Adapter "iot" : 1.14.5 , installed 1.14.5 Adapter "jarvis" : 3.1.3 , installed 3.1.3 Adapter "javascript" : 7.0.3 , installed 7.0.3 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "libre" : 0.0.4 , installed 0.0.4 Adapter "linux-control": 1.1.5 , installed 1.1.5 Adapter "mqtt" : 4.1.1 , installed 4.1.1 Adapter "netatmo-crawler": 0.8.1 , installed 0.8.1 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "openligadb" : 1.2.4 , installed 1.2.4 Adapter "parcel" : 0.0.27 , installed 0.0.27 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pvoutputorg" : 1.8.8 , installed 1.8.8 Adapter "schoolfree" : 1.1.1 , installed 1.1.1 Adapter "shelly" : 6.4.0 , installed 6.4.0 Adapter "shuttercontrol": 1.4.24 , installed 1.4.24 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartcontrol" : 1.3.2 , installed 1.3.2 Adapter "socketio" : 6.3.5 , installed 6.3.5 Adapter "sprinklecontrol": 0.2.13 , installed 0.2.13 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 1.15.6 , installed 1.15.6 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "vaillant" : 0.1.2 , installed 0.1.2 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vofo-speedtest": 0.0.13 , installed 0.0.13 Adapter "web" : 5.5.3 , installed 6.0.1 Adapter "whatsapp-cmb" : 0.2.3 , installed 0.2.3 Adapter "worx" : 2.1.0 , installed 2.1.0 Adapter "ws" : 2.3.6 , installed 2.3.6 Objects and States Please stand by - This may take a while Objects: 16222 States: 13178 *** OS-Repositories and Updates *** Hit:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 https://repos.influxdata.com/debian stable InRelease Hit:3 https://deb.nodesource.com/node_18.x jammy InRelease Hit:4 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:5 https://downloads.plex.tv/repo/deb public InRelease Hit:6 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:7 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.1:4711 0.0.0.0:* LISTEN 996 30848 891/pihole-FTL tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 1000 36352 3769/sshd: cooper19 tcp 0 0 127.0.0.1:6011 0.0.0.0:* LISTEN 1000 36418 3867/sshd: cooper19 tcp 0 0 127.0.0.1:64053 0.0.0.0:* LISTEN 1000 29959 907/odriveagent tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 35076 3508/io.mqtt.0 tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1001 1397538 2799305/io.mqtt.1 tcp 0 0 127.0.0.1:39397 0.0.0.0:* LISTEN 997 53489 24728/Plex Plug-in tcp 0 0 127.0.0.1:32401 0.0.0.0:* LISTEN 997 50707 20253/Plex Media Se tcp 0 0 127.0.0.1:32600 0.0.0.0:* LISTEN 997 50774 24708/Plex Tuner Se tcp 0 0 192.168.2.50:42010 0.0.0.0:* LISTEN 1001 34136 3477/io.hm-rpc.1 tcp 0 0 192.168.2.50:42001 0.0.0.0:* LISTEN 1001 32700 3447/io.hm-rpc.0 tcp 0 0 0.0.0.0:8400 0.0.0.0:* LISTEN 1001 41048 4621/io.jarvis.0 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 28350 847/sshd: /usr/sbin tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 996 30842 891/pihole-FTL tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 20689 1/init tcp 0 0 127.0.0.1:41723 0.0.0.0:* LISTEN 997 50905 24981/Plex Plug-in tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 0 29565 890/lighttpd tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 32012 1597/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 27593 1597/iobroker.js-co tcp 0 0 127.0.0.1:57533 0.0.0.0:* LISTEN 1000 29647 907/odriveagent tcp 0 0 127.0.0.1:41471 0.0.0.0:* LISTEN 997 191301 24801/Plex Plug-in tcp 0 0 127.0.0.1:41387 0.0.0.0:* LISTEN 997 50872 24873/Plex Plug-in tcp 0 0 127.0.0.1:34119 0.0.0.0:* LISTEN 997 50740 24653/Plex Plug-in tcp 0 0 127.0.0.1:44797 0.0.0.0:* LISTEN 997 50849 24835/Plex Plug-in tcp6 0 0 ::1:6011 :::* LISTEN 1000 36417 3867/sshd: cooper19 tcp6 0 0 ::1:6010 :::* LISTEN 1000 36351 3769/sshd: cooper19 tcp6 0 0 :::44259 :::* LISTEN 1000 51705 24453/java tcp6 0 0 :::3000 :::* LISTEN 0 30918 1149/node tcp6 0 0 ::1:4711 :::* LISTEN 996 30849 891/pihole-FTL tcp6 0 0 :::22 :::* LISTEN 0 28352 847/sshd: /usr/sbin tcp6 0 0 :::53 :::* LISTEN 996 30844 891/pihole-FTL tcp6 0 0 :::111 :::* LISTEN 0 20068 1/init tcp6 0 0 :::8081 :::* LISTEN 1001 946745 1255734/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 1214915 2641146/io.web.0 tcp6 0 0 :::8083 :::* LISTEN 1001 1218947 2675485/io.admin.1 tcp6 0 0 :::8086 :::* LISTEN 116 51639 24400/influxd tcp6 0 0 :::8000 :::* LISTEN 0 29564 890/lighttpd tcp6 0 0 :::32400 :::* LISTEN 997 50705 20253/Plex Media Se tcp6 0 0 ::1:9666 :::* LISTEN 1000 53332 24453/java tcp6 0 0 127.0.0.1:9666 :::* LISTEN 1000 53331 24453/java tcp6 0 0 127.0.0.1:9665 :::* LISTEN 1000 50592 24453/java udp 0 0 127.0.0.1:54209 0.0.0.0:* 997 50764 20253/Plex Media Se udp 0 0 192.168.2.50:54390 0.0.0.0:* 997 50767 20253/Plex Media Se udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 33511 3546/io.shelly.0 udp 0 0 0.0.0.0:32410 0.0.0.0:* 997 50761 20253/Plex Media Se udp 0 0 0.0.0.0:32412 0.0.0.0:* 997 50762 20253/Plex Media Se udp 0 0 0.0.0.0:32413 0.0.0.0:* 997 50763 20253/Plex Media Se udp 0 0 0.0.0.0:32414 0.0.0.0:* 997 50760 20253/Plex Media Se udp 0 0 0.0.0.0:53 0.0.0.0:* 996 30841 891/pihole-FTL udp 0 0 0.0.0.0:111 0.0.0.0:* 0 20690 1/init udp 0 0 192.168.2.50:50162 0.0.0.0:* 997 50765 20253/Plex Media Se udp 0 0 0.0.0.0:1901 0.0.0.0:* 997 50768 20253/Plex Media Se udp 0 0 192.168.2.50:59371 0.0.0.0:* 997 50769 20253/Plex Media Se udp 0 0 127.0.0.1:43151 0.0.0.0:* 997 50766 20253/Plex Media Se udp6 0 0 :::53 :::* 996 30843 891/pihole-FTL udp6 0 0 :::111 :::* 0 21860 1/init *** Log File - Last 25 Lines *** 2023-04-11 16:09:39.478 - debug: openligadb.0 (12723) request url https://www.openligadb.de/api/getgoalgetters/bl1/2023 2023-04-11 16:09:39.544 - debug: openligadb.0 (12723) createObject table 2023-04-11 16:09:39.547 - debug: openligadb.0 (12723) setState table 2023-04-11 16:09:39.547 - debug: openligadb.0 (12723) setState name: bl1.2022.table 2023-04-11 16:09:39.552 - debug: openligadb.0 (12723) createObject currgameday 2023-04-11 16:09:39.554 - debug: openligadb.0 (12723) setState currgameday 2023-04-11 16:09:39.554 - debug: openligadb.0 (12723) setState name: bl1.2022.currgameday 2023-04-11 16:09:39.571 - debug: openligadb.0 (12723) createObject table 2023-04-11 16:09:39.577 - debug: openligadb.0 (12723) createObject allmatches 2023-04-11 16:09:39.578 - debug: openligadb.0 (12723) createObject goalgetters 2023-04-11 16:09:39.580 - debug: openligadb.0 (12723) setState table 2023-04-11 16:09:39.580 - debug: openligadb.0 (12723) setState name: bl1.2023.table 2023-04-11 16:09:39.580 - debug: openligadb.0 (12723) createObject currgameday 2023-04-11 16:09:39.581 - debug: openligadb.0 (12723) setState allmatches 2023-04-11 16:09:39.581 - debug: openligadb.0 (12723) setState name: bl1.2023.allmatches 2023-04-11 16:09:39.581 - debug: openligadb.0 (12723) setState goalgetters 2023-04-11 16:09:39.581 - debug: openligadb.0 (12723) setState name: bl1.2022.goalgetters 2023-04-11 16:09:39.582 - debug: openligadb.0 (12723) setState currgameday 2023-04-11 16:09:39.582 - debug: openligadb.0 (12723) setState name: bl1.2023.currgameday 2023-04-11 16:09:39.596 - debug: openligadb.0 (12723) createObject goalgetters 2023-04-11 16:09:39.638 - debug: openligadb.0 (12723) setState goalgetters 2023-04-11 16:09:39.638 - debug: openligadb.0 (12723) setState name: bl1.2023.goalgetters 2023-04-11 16:09:39.712 - debug: openligadb.0 (12723) createObject allmatches 2023-04-11 16:09:39.717 - debug: openligadb.0 (12723) setState allmatches 2023-04-11 16:09:39.717 - debug: openligadb.0 (12723) setState name: bl1.2022.allmatches
============ Mark until here for C&P =============
iob diag has finished.
======================= SUMMARY ======================= v.2023-04-02 Operatingsystem: Ubuntu 22.04.2 LTS Kernel: 5.15.0-69-generic Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.15.0 /usr/bin/node v18.15.0 /usr/bin/npm 9.5.0 /usr/bin/npx 9.5.0 Recommended versions are nodejs 18.x.y and npm 9.x.y MEMORY: total used free shared buff/cache available Mem: 15G 4.6G 467M 25M 10G 10G Swap: 4.1G 4.0M 4.1G Total: 19G 4.6G 4.6G Active iob-Instances: 41 Active repo(s): Beta (latest) ioBroker Core: js-controller 4.0.24 admin 6.4.3 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : intelnuc - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.admin.1 : admin : intelnuc - enabled, port: 8083, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : intelnuc - enabled, port: 8082, bind: 0.0.0.0 (SSL), run as: admin Objects: 16222 States: 13179 Size of iob-Database: 19M /opt/iobroker/iobroker-data/objects.jsonl 11M /opt/iobroker/iobroker-data/objects.json.migrated 11M /opt/iobroker/iobroker-data/objects.json.bak.migrated 18M /opt/iobroker/iobroker-data/states.jsonl 2.6M /opt/iobroker/iobroker-data/states.json.migrated 2.6M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
-
@thomas-braun said in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:
cd /opt/iobroker npm ls
schaut wie aus?
iobroker.inst@3.0.0 /opt/iobroker ├── @iobroker/socket-classes@1.1.5 extraneous ├── @iobroker/ws-server@2.1.0 extraneous ├── body-parser@1.20.2 extraneous ├── busboy@1.6.0 extraneous ├── compressible@2.0.18 extraneous ├── compression@1.7.4 extraneous ├── connect-flash@0.1.1 extraneous ├── cookie-parser@1.4.6 extraneous ├── express-fileupload@1.4.0 extraneous ├── express-session@1.17.3 extraneous ├── iobroker.acme@0.1.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.acme.git#07333a0c32ead5f656aebdd33e205f74aaa7f923) ├── iobroker.admin@6.4.3 ├── iobroker.alexa2@3.23.2 ├── iobroker.asuswrt@1.0.1 ├── iobroker.backitup@2.6.16 ├── iobroker.bring@1.8.1 ├── iobroker.daswetter@3.1.8 ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/Xenon-s/ioBroker.device-reminder.git#ba8fd2a79a5b06ff7d48233b52bc8167e171d05c) ├── iobroker.discovery@3.1.0 ├── iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#4065c9c98279dd5f1bc55a8c0eb0485e4a55089e) ├── iobroker.feiertage@1.1.0 ├── iobroker.heatingcontrol@2.10.6 ├── iobroker.hm-rega@3.0.46 ├── iobroker.hm-rpc@1.15.16 ├── iobroker.ical@1.13.2 ├── iobroker.influxdb@3.2.0 ├── iobroker.info@1.9.26 ├── iobroker.iot@1.14.5 ├── iobroker.jarvis@3.1.3 (git+ssh://git@github.com/Zefau/ioBroker.jarvis.git#cc70089e4fdb1b89ead2c37cec22f277f2c32e9b) ├── iobroker.javascript@7.0.3 ├── iobroker.js-controller@4.0.24 ├── iobroker.libre@0.0.4 ├── iobroker.life360@0.2.19 (git+ssh://git@github.com/MiGoller/ioBroker.life360.git#7577116196472ac8b4507e691f15c448f092118b) ├── iobroker.linux-control@1.1.5 ├── iobroker.mqtt@4.1.1 ├── iobroker.netatmo-crawler@0.8.1 ├── iobroker.nightscout@0.0.8 (git+ssh://git@github.com/Apollon77/ioBroker.nightscout.git#1b88b23fe0d5eec7209ce5527031c6ece8204d61) ├── iobroker.nina@0.0.25 ├── iobroker.openligadb@1.2.4 ├── iobroker.parcel@0.0.27 ├── iobroker.ping@1.5.3 ├── iobroker.pvoutputorg@1.8.8 ├── iobroker.schoolfree@1.1.1 ├── iobroker.shelly@6.4.0 ├── iobroker.shuttercontrol@1.4.24 ├── iobroker.simple-api@2.7.2 extraneous ├── iobroker.smartcontrol@1.3.2 ├── iobroker.socketio@6.3.5 extraneous ├── iobroker.sprinklecontrol@0.2.13 ├── iobroker.tankerkoenig@3.3.7 ├── iobroker.telegram@1.15.6 ├── iobroker.trashschedule@2.2.0 ├── iobroker.vaillant@0.1.2 ├── iobroker.vis@1.4.16 ├── iobroker.vofo-speedtest@0.0.13 (git+ssh://git@github.com/peterbaumert/ioBroker.vofo-speedtest.git#f20bee5eca63eaa957d282e609a68e79ee5f94de) ├── iobroker.web@6.0.1 (git+ssh://git@github.com/ioBroker/ioBroker.web.git#b7aaab94b9ea7f039fece2a8c0c1f574c4efc3da) ├── iobroker.whatsapp-cmb@0.2.3 ├── iobroker.worx@2.1.0 ├── iobroker.ws@2.3.6 extraneous ├── on-headers@1.0.2 extraneous ├── passport-local@1.0.0 extraneous ├── passport-strategy@1.0.0 extraneous ├── passport@0.6.0 extraneous ├── pause@0.0.1 extraneous ├── random-bytes@1.0.0 extraneous ├── raw-body@2.5.2 extraneous ├── streamsearch@1.1.0 extraneous └── uid-safe@2.1.5 extraneous
-
@cooper19888
Prune da mal durch.npm prune npm ls npm ls @iobroker/webserver
-
@thomas-braun said in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:
@cooper19888
Prune da mal durch.npm prune npm ls npm ls @iobroker/webserver
gemacht und getan.
Zum Schluss:
cooper1988@intelnuc:/opt/iobroker$ npm prune removed 250 packages in 2s cooper1988@intelnuc:/opt/iobroker/node_modules$ npm ls @iobroker/webserver/ iobroker.inst@3.0.0 /opt/iobroker └── (empty)
Errors nach restart Admin Adapter:
2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/@iobroker/webserver/build/index.js'. Please verify that the package.json has a valid "main" entry 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:436:19) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._findPath (node:internal/modules/cjs/loader:678:18) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1061:27) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:920:27) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1141:19) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:7:22) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1254:14) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1117:32) { 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: path: '/opt/iobroker/node_modules/@iobroker/webserver/package.json', 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: requestPath: '@iobroker/webserver' 2023-04-11 16:15:38.401 - [31merror[39m: host.intelnuc Caught by controller[0]: }
-
@cooper19888
Bügel den admin@6.4.3 noch mal rein.iobroker upgrade admin@6.4.3
-
@cooper19888 sagte in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:
npm ls @iobroker/webserver
Übrigens
npm ls @iobroker/webserver
NICHT
npm ls @iobroker/webserver/
-
@thomas-braun
Mein Fehlercooper1988@intelnuc:/opt/iobroker$ npm ls @iobroker/webserver iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.acme@0.1.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.acme.git#07333a0c32ead5f656aebdd33e205f74aaa7f923) │ └── @iobroker/webserver@0.3.4 (git+ssh://git@github.com/ioBroker/webserver.git#f99d86254380e9cbe6698815e9ea3b444d2624b0) ├─┬ iobroker.admin@6.4.3 │ └── @iobroker/webserver@0.3.4 deduped └─┬ iobroker.web@6.0.1 (git+ssh://git@github.com/ioBroker/ioBroker.web.git#b7aaab94b9ea7f039fece2a8c0c1f574c4efc3da) └── @iobroker/webserver@0.3.4 deduped
Drüberbügeln mittels iob upgrade bringt nichts, nur wenn ich direkt in das node modul reinspringe und npm i --production mache.
-
--production ist mit npm>7 durch --omit=dev ersetzt worden, wenn ich mich recht entsinne.
Ich würde
iobroker.acme
undiobroker.web
auch auf die Version aus einem Repo zwingen. -
iob stop find "/opt/iobroker/" -iname "*package-lock*" -exec rm -rf "{}" \; iob fix iob start
bringt auch nix?
-
Danke für die Hilfe bisher.
Auch das hatte ich bereits durchgejagt ohne erfolg.Nun habe ich mal admin, web und acm sowie @iobroker/webserver entfernt und dann mal alles neu installiert. Dann nochmal
npm i @iobroker/webserver
und nun hat der Server einen reboot überlebt.Nicht das ich Idiot sowas wie npm i @iobroker/webserver/ gemacht habe^^
-
@cooper19888
Eigentich sollte direktes hantieren per npm auch nicht notwendig sein. Viel zu leicht zerlegt man sich da den npm tree. -
@thomas-braun
Ja normalerweise nicht, wer weiß was mich geritten hat.
Aber jetzt scheint es vorerst zu laufen, hoffentlich passt das jetzt