NEWS
Installation mit curl sehr langsam und bricht ab. Erledigt
-
@felsdrache Was könnte ich denn in der Fritzbox falsch gemacht haben? Sonst habe ich keinerlei Probleme
-
@felsdrache Poste doch mal hier die vollständige Ausgabe von der ioBroker Installation in Codetags
-
@feuersturm Jepp mache ich sobald es wieder untebricht
-
@felsdrache Willst du den ioBroker auf einem frischen System installieren oder laufen da noch andere Anwendungen?
Ist node und npm schon bei dir installiert? Was kommt bei:node -v npm -v
-
@feuersturm sagte in Installation mit curl sehr langsam und bricht ab:
v18.16.0
9.5.1
Aber ich dacht die installieren mit dem Script mit? -
@felsdrache Frisches System
-
@felsdrache sagte in Installation mit curl sehr langsam und bricht ab:
Aber ich dacht die installieren mit dem Script mit?
Ja.
Was sagt
iob diag
dazu? Ggfls mit dem direkten Link aus meiner Signatur aufrufen.
-
@thomas-braun ```
======== Start marking the full check here =========
Skript v.2023-04-16 *** 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: 22:10:30 up 2:46, 5 users, load average: 0.47, 0.47, 0.41 CPU threads: 2 *** Time and Time Zones *** Local time: Fri 2023-04-28 22:10:31 CEST Universal time: Fri 2023-04-28 20:10:31 UTC RTC time: Fri 2023-04-28 20:10:31 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** fwodd /home/fwodd fwodd adm cdrom sudo dip plugdev lpadmin lxd sambashare iobroker *** X-Server-Setup *** X-Server: true Desktop: plasma Terminal: x11 Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 3.9G 1.6G 274M 39M 1.9G 1.9G Swap: 4.0G 2.0M 4.0G Total: 7.8G 1.6G 4.2G 3856 M total memory 1643 M used memory 979 M active memory 2243 M inactive memory 274 M free memory 75 M buffer memory 1863 M swap cache 3965 M total swap 2 M used swap 3963 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 386M 1.4M 385M 1% /run /dev/sda3 ext4 228G 16G 201G 8% / tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/sda2 vfat 512M 6.1M 506M 2% /boot/efi tmpfs tmpfs 386M 64K 386M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Apr 28 19:23:35 2023] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Fri Apr 28 19:23:39 2023] EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro. Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/sda3 ext4 rw,relatime,errors=remount-ro |-/run/user/1000/doc portal fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 |-/snap/bare/5 /dev/loop0 squashfs ro,nodev,relatime,errors=continue |-/snap/core20/1587 /dev/loop1 squashfs ro,nodev,relatime,errors=continue |-/snap/core20/1852 /dev/loop2 squashfs ro,nodev,relatime,errors=continue |-/snap/curl/1579 /dev/loop3 squashfs ro,nodev,relatime,errors=continue |-/snap/firefox/1635 /dev/loop4 squashfs ro,nodev,relatime,errors=continue |-/snap/gnome-3-38-2004/140 /dev/loop6 squashfs ro,nodev,relatime,errors=continue |-/snap/gnome-3-38-2004/112 /dev/loop5 squashfs ro,nodev,relatime,errors=continue |-/snap/gtk-common-themes/1535 /dev/loop7 squashfs ro,nodev,relatime,errors=continue |-/snap/snapd/18933 /dev/loop8 squashfs ro,nodev,relatime,errors=continue `-/boot/efi /dev/sda2 vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 4.0G /var/ 2.6G /var/lib 2.2G /var/lib/snapd 1.4G /var/lib/snapd/snaps 1.1G /var/cache Archived and active journals take up 256.0M in the file system. /opt/iobroker/backups: du: cannot access '/opt/iobroker/backups/': No such file or directory /opt/iobroker/iobroker-data: du: cannot access '/opt/iobroker/iobroker-data/': No such file or directory The five largest files in iobroker-data are: find: '/opt/iobroker/iobroker-data': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.16.0 /usr/bin/node v18.16.0 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 nodejs: Installed: 18.16.0-deb-1nodesource1 Candidate: 18.16.0-deb-1nodesource1 Version table: *** 18.16.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 find: '/opt/iobroker/node_modules': No such file or directory Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 Core adapters versions node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 js-controller: node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 admin: node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 javascript: npm ERR! code ELSPROBLEMS npm ERR! missing: iobroker.admin@stable, required by iobroker.inst@3.0.0 npm ERR! missing: iobroker.backitup@stable, required by iobroker.inst@3.0.0 npm ERR! missing: iobroker.discovery@stable, required by iobroker.inst@3.0.0 npm ERR! missing: iobroker.js-controller@stable, required by iobroker.inst@3.0.0 npm ERR! A complete log of this run can be found in: npm ERR! /home/fwodd/.npm/_logs/2023-04-28T20_10_35_179Z-debug-0.log Adapters from github: 0 Adapter State node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 Enabled adapters with bindings node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 ioBroker-Repositories node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 Installed ioBroker-Instances node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.16.0 Objects and States Please stand by - This may take a while Objects: 0 States: 0 *** OS-Repositories and Updates *** Hit:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease Get:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Hit:5 https://deb.nodesource.com/node_18.x jammy InRelease Fetched 110 kB in 1s (149 kB/s) 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.53:53 0.0.0.0:* LISTEN 101 21778 504/systemd-resolve tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 22044 633/cupsd tcp6 0 0 ::1:631 :::* LISTEN 0 22043 633/cupsd tcp6 0 0 :::1716 :::* LISTEN 1000 25669 1260/kdeconnectd udp 0 0 0.0.0.0:58462 0.0.0.0:* 113 21212 514/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 113 21210 514/avahi-daemon: r udp 0 0 127.0.0.53:53 0.0.0.0:* 101 21777 504/systemd-resolve udp 0 0 0.0.0.0:631 0.0.0.0:* 0 22138 699/cups-browsed udp6 0 0 :::5353 :::* 113 21211 514/avahi-daemon: r udp6 0 0 :::1716 :::* 1000 25668 1260/kdeconnectd udp6 0 0 :::51316 :::* 113 21213 514/avahi-daemon: r udp6 0 0 fe80::bdb1:4421:32d:546 :::* 0 22147 517/NetworkManager *** Log File - Last 25 Lines *** tail: cannot open '/opt/iobroker/log/iobroker.current.log' for reading: No such file or directory
============ Mark until here for C&P =============
iob diag has finished.
Press any key for a summary
-
@felsdrache ```
npm ERR! code 24
npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
npm ERR! command failed
npm ERR! command sh -c node iobroker.js setup first
npm ERR! creating conf/iobroker.json
npm ERR! Cannot read system.config: null (OK when migrating or restoring)
npm ERR! Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!npm ERR! A complete log of this run can be found in:
npm ERR! /home/fwodd/.npm/_logs/2023-04-28T19_26_53_728Z-debug-0.log==========================================================================
Finalizing installation (4/4) -
@felsdrache nicht an der Fritzbox aber vllt. Ne falsche Netzwerkconfig am Rechner
-
@felsdrache
Auf einem Server hat ein Desktop nix zu suchen. -
@codierknecht Das war die Lösung
habe vor ein paar Tagen einen Microkontroller programmiert der fleißig Daten zu Thinkspeak sendet. Strom gezogen zack läuft die Installation. Gewusst wie. Danke der starken Community schönes Wochenende allen.
-
@felsdrache sagte in Installation mit curl sehr langsam und bricht ab. Erledigt:
Das war die Lösung habe vor ein paar Tagen einen Microkontroller programmiert der fleißig Daten zu Thinkspeak sendet
Verstehe ich jetzt aber nicht ganz, zu Beginn hattest du dies geschrieben
@felsdrache sagte in Installation mit curl sehr langsam und bricht ab. Erledigt:
Die Daten kommen allerdings grotten langsam und brechen irgendwann nach Stunden ab.
Auf meheren Rechnern mit verschiedenen Linux Installtionen. -
@crunchip Es stimmt schon alles was ich geschrieben habe. der ESP mit ESPEasy draufhat scheinbar den Datenverkehr bei der Installation gestört. Nachdem aussschalten
Probleme weg. An beiden Rechhern.