NEWS
influxdb 1.8.10 läuft aber port 8086 antwortet nicht mehr
-
Hallo Zusammen,
es wäre mal wieder unglaublich prima Eure Hilfe zu erhalten...
Nach regulärem Update nach @Thomas-Braun Methode lief meine influxdb noch ein paar Stunden und zickte dann mehr und mehr rum.
Zuerst traten Verbindungsfehler auf: "connection refused". Diese konnte ich beheben durch die Änderungen in der /etc/systemd/system/influxdb.services
# If you modify this, please also make sure to edit init.sh [Unit] Description=InfluxDB is an open-source, distributed, time series database Documentation=https://docs.influxdata.com/influxdb/ After=network-online.target [Service] User=influxdb Group=influxdb LimitNOFILE=65536 EnvironmentFile=-/etc/default/influxdb ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS #ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh KillMode=control-group Restart=on-failure #Type=forking PIDFile= #PIDFile=/var/lib/influxdb/influxd.pid TimeoutStartSec=45m [Install] WantedBy=multi-user.target Alias=influxd.service
Die auskommentierten Werte wurden mit den darüberstehenden Werte ausgetauscht.
Danach war die "connection refused" Meldung weg, aber der Port 8086 nicht mehr erreichhbar...
pi@raspberrypi:/etc/systemd/system $ systemctl status influxdb ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-04-10 23:11:35 CEST; 24s ago Docs: https://docs.influxdata.com/influxdb/ Main PID: 8447 (influxd) Tasks: 11 (limit: 4915) CGroup: /system.slice/influxdb.service └─8447 /usr/bin/influxd -config /etc/influxdb/influxdb.conf Apr 10 23:11:55 raspberrypi influxd[8447]: ts=2023-04-10T21:11:55.853181Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/HH_IoT/global/682/_00187.wal size=83397 Apr 10 23:11:55 raspberrypi influxd[8447]: ts=2023-04-10T21:11:55.863929Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/HH_IoT/global/682/_00188.wal size=55285 Apr 10 23:11:55 raspberrypi influxd[8447]: ts=2023-04-10T21:11:55.870159Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/HH_IoT/global/682/_00190.wal size=83692 Apr 10 23:11:55 raspberrypi influxd[8447]: ts=2023-04-10T21:11:55.878765Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/HH_IoT/global/682/_00192.wal size=31486 Apr 10 23:11:55 raspberrypi influxd[8447]: ts=2023-04-10T21:11:55.882886Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/HH_IoT/global/682/_00194.wal size=360818 Apr 10 23:11:55 raspberrypi influxd[8447]: ts=2023-04-10T21:11:55.925325Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/HH_IoT/global/682/_00195.wal size=384485 Apr 10 23:11:56 raspberrypi influxd[8447]: ts=2023-04-10T21:11:56.143247Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/HH_IoT/global/682/_00198.wal size=115058 Apr 10 23:11:56 raspberrypi influxd[8447]: ts=2023-04-10T21:11:56.241030Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/HH_IoT/global/682/_00199.wal size=89779 Apr 10 23:11:56 raspberrypi influxd[8447]: ts=2023-04-10T21:11:56.517304Z lvl=info msg="Opened shard" log_id=0h7F~hdW000 service=store trace_id=0h7F~i30000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/HH_IoT/global/68 Apr 10 23:11:58 raspberrypi influxd[8447]: ts=2023-04-10T21:11:58.034501Z lvl=info msg="Reading file" log_id=0h7F~hdW000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/681/_00690.wal size=10505918
influx Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused Please check your connection settings and ensure 'influxd' is running.
pi@raspberrypi:/etc/systemd/system $ sudo netstat -lnp Aktive Internetverbindungen (Nur Server) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 451/systemd-resolve tcp 0 0 192.168.111.253:502 0.0.0.0:* LISTEN 1937/io.modbus.11 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 585/sshd tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 464/cupsd tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 8834/influxd tcp 0 0 0.0.0.0:1880 0.0.0.0:* LISTEN 1794/node-red tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 697/mosquitto tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1716/io.sonoff.0 tcp 0 0 0.0.0.0:1885 0.0.0.0:* LISTEN 1687/io.mqtt.0 tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1009/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1009/iobroker.js-co tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 451/systemd-resolve tcp6 0 0 :::8081 :::* LISTEN 1132/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 2235/io.web.0 tcp6 0 0 :::22 :::* LISTEN 585/sshd tcp6 0 0 ::1:3350 :::* LISTEN 576/xrdp-sesman tcp6 0 0 :::631 :::* LISTEN 464/cupsd tcp6 0 0 :::3000 :::* LISTEN 693/grafana tcp6 0 0 :::1883 :::* LISTEN 697/mosquitto tcp6 0 0 :::3389 :::* LISTEN 613/xrdp tcp6 0 0 :::7070 :::* LISTEN 2615/evcc tcp6 0 0 :::5355 :::* LISTEN 451/systemd-resolve udp 0 0 0.0.0.0:6666 0.0.0.0:* 2001/io.tuya.0 udp 0 0 0.0.0.0:6667 0.0.0.0:* 2001/io.tuya.0 udp 0 0 127.0.0.53:53 0.0.0.0:* 451/systemd-resolve udp 0 0 0.0.0.0:631 0.0.0.0:* 567/cups-browsed udp 0 0 0.0.0.0:36010 0.0.0.0:* 463/avahi-daemon: r udp 0 0 224.0.0.251:5353 0.0.0.0:* 7920/chromium-brows udp 0 0 0.0.0.0:5353 0.0.0.0:* 2615/evcc udp 0 0 0.0.0.0:5353 0.0.0.0:* 463/avahi-daemon: r udp 0 0 0.0.0.0:5355 0.0.0.0:* 451/systemd-resolve udp 0 0 192.168.111.253:1905 0.0.0.0:* 1966/io.sonos.0 udp6 0 0 :::5353 :::* 2615/evcc udp6 0 0 :::5353 :::* 463/avahi-daemon: r udp6 0 0 :::5355 :::* 451/systemd-resolve udp6 0 0 :::60204 :::* 463/avahi-daemon: r raw6 0 0 :::58 :::* 7 412/systemd-network
Bevor ich das jetzt immer weiter verschlimmbessere, hoffe ich dass ihr mir helfen könnt. Das wäre mal wieder echt prima...
Vielen Dank vorab und beste Grüße, Thomas
-
@thomkast sagte in influxdb 1.8.10 läuft aber port 8086 antwortet nicht mehr:
Nach regulärem Update nach @Thomas-Braun Methode lief meine influxdb
Ich wüsste eigentlich nicht, dass ich zu influxdb mal sowas geschrieben hätte...
Wie schaut dein System aus?
iob diag
sagt?
-
@thomas-braun
Hallo Thomas. Vielen Dank für Deine Antwort.
Ich wollte damit auch nur gemeint haben, dass ich versuche "alles streng nach Vorschrift" zu machen======== Start marking the full check here ========= Skript v.2023-04-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.4 Architecture : armv7l Docker : false Virtualization : none Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 23:35:26 up 1:09, 1 user, load average: 3.17, 3.46, 3.73 CPU threads: 4 *** Time and Time Zones *** Local time: Mon 2023-04-10 23:35:26 CEST Universal time: Mon 2023-04-10 21:35:26 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) 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 netdev lpadmin gpio i2c spi iobroker *** X-Server-Setup *** X-Server: true Desktop: LXDE-pi Terminal: x11 Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 7.9G 2.2G 2.1G 53M 3.6G 6.0G Swap: 99M 0B 99M Total: 8.0G 2.2G 2.2G 7941 M total memory 2231 M used memory 695 M active memory 5014 M inactive memory 2104 M free memory 180 M buffer memory 3425 M swap cache 99 M total swap 0 M used swap 99 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 110G 15G 89G 15% / devtmpfs devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 3.9G 49M 3.9G 2% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/sda1 vfat 253M 49M 204M 20% /boot tmpfs tmpfs 795M 4.0K 795M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Mon Apr 10 22:26:01 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:DC:9C:02 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=tty1 root=PARTUUID=67f786c6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [Mon Apr 10 22:26:03 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [Mon Apr 10 22:26:03 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Mon Apr 10 22:26:04 2023] EXT4-fs (sda2): re-mounted. Opts: (null) Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime,stripe=8191 |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 |-/run/user/1000/gvfs gvfsd-fuse fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 |-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro `-/home/pi/thinclient_drives xrdp-chansrv fuse.xrdp-chansrv rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 Files in neuralgic directories: /var: 6.6G /var/ 4.2G /var/lib 4.0G /var/lib/influxdb 3.9G /var/lib/influxdb/data/HH_IoT/global 3.9G /var/lib/influxdb/data/HH_IoT /opt/iobroker/backups: 184M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 321M /opt/iobroker/iobroker-data/ 115M /opt/iobroker/iobroker-data/backup-objects 114M /opt/iobroker/iobroker-data/files 51M /opt/iobroker/iobroker-data/files/javascript.admin 32M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 37M /opt/iobroker/iobroker-data/objects.jsonl 9.4M /opt/iobroker/iobroker-data/objects.json.migrated 9.4M /opt/iobroker/iobroker-data/objects.json.bak.migrated 9.2M /opt/iobroker/iobroker-data/states.jsonl 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map *** NodeJS-Installation *** /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/local/bin/npx 9.2.0 nodejs: Installed: 16.19.1-deb-1nodesource1 Candidate: 16.19.1-deb-1nodesource1 Version table: *** 16.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation ***
-
Oh, die Summary fehlt noch...
======================= SUMMARY ======================= v.2023-04-02 Operatingsystem: Raspbian GNU/Linux 10 (buster) Kernel: 5.10.103-v7l+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/local/bin/npx 9.2.0 Recommended versions are nodejs 18.x.y and npm 9.x.y MEMORY: total used free shared buff/cache available Mem: 7.9G 2.4G 1.8G 53M 3.8G 5.8G Swap: 99M 0B 99M Total: 8.0G 2.4G 1.9G Active iob-Instances: 38 Active repo(s): Stable (default) ioBroker Core: js-controller 4.0.23 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 8232 States: 7631 Size of iob-Database: 37M /opt/iobroker/iobroker-data/objects.jsonl 9.4M /opt/iobroker/iobroker-data/objects.json.migrated 9.4M /opt/iobroker/iobroker-data/objects.json.bak.migrated 11M /opt/iobroker/iobroker-data/states.jsonl 748K /opt/iobroker/iobroker-data/states.json.migrated 748K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
-
Buster muss durch Bullseye ersetzt werden, Server werden ohne Desktop betrieben, das ist falsch:
/usr/local/bin/npx 9.2.0
Und die Langfassung oben ist nicht vollständig.
-
@thomas-braun
Öhm, sorry.... In der Langfassung ist die erste Zeile zu der ich hoch rollen kann " === Start marking the full check here ===". Und ab dort habe ich alles markiert... bis zu " === Mark until here for C&P ==="Hier ein neuer Versuch
======== Start marking the full check here ========= Skript v.2023-04-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.4 Architecture : armv7l Docker : false Virtualization : none Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 23:44:20 up 1:18, 1 user, load average: 3.31, 3.70, 3.83 CPU threads: 4 *** Time and Time Zones *** Local time: Mon 2023-04-10 23:44:21 CEST Universal time: Mon 2023-04-10 21:44:21 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) 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 netdev lpadmin gpio i2c spi iobroker *** X-Server-Setup *** X-Server: true Desktop: LXDE-pi Terminal: x11 Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 7.9G 2.3G 1.8G 55M 3.8G 5.8G Swap: 99M 0B 99M Total: 8.0G 2.3G 1.9G 7941 M total memory 2342 M used memory 808 M active memory 5193 M inactive memory 1793 M free memory 211 M buffer memory 3594 M swap cache 99 M total swap 0 M used swap 99 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 110G 15G 89G 15% / devtmpfs devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 3.9G 51M 3.9G 2% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/sda1 vfat 253M 49M 204M 20% /boot tmpfs tmpfs 795M 4.0K 795M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Mon Apr 10 22:26:01 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:DC:9C:02 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=tty1 root=PARTUUID=67f786c6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [Mon Apr 10 22:26:03 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [Mon Apr 10 22:26:03 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Mon Apr 10 22:26:04 2023] EXT4-fs (sda2): re-mounted. Opts: (null) Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime,stripe=8191 |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 |-/run/user/1000/gvfs gvfsd-fuse fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 |-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro `-/home/pi/thinclient_drives xrdp-chansrv fuse.xrdp-chansrv rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 Files in neuralgic directories: /var: 6.6G /var/ 4.2G /var/lib 4.0G /var/lib/influxdb 3.9G /var/lib/influxdb/data/HH_IoT/global 3.9G /var/lib/influxdb/data/HH_IoT /opt/iobroker/backups: 184M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 325M /opt/iobroker/iobroker-data/ 115M /opt/iobroker/iobroker-data/backup-objects 114M /opt/iobroker/iobroker-data/files 51M /opt/iobroker/iobroker-data/files/javascript.admin 32M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 37M /opt/iobroker/iobroker-data/objects.jsonl 13M /opt/iobroker/iobroker-data/states.jsonl 9.4M /opt/iobroker/iobroker-data/objects.json.migrated 9.4M /opt/iobroker/iobroker-data/objects.json.bak.migrated 6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map *** NodeJS-Installation *** /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/local/bin/npx 9.2.0 nodejs: Installed: 16.19.1-deb-1nodesource1 Candidate: 16.19.1-deb-1nodesource1 Version table: *** 16.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u3 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf 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.23 admin: 6.3.5 javascript: 6.1.4 Adapters from github: 1 Adapter State + system.adapter.accuweather.0 : accuweather : raspberrypi - enabled + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled system.adapter.awattar.0 : awattar : raspberrypi - disabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.bydhvs.0 : bydhvs : raspberrypi - enabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled + system.adapter.ds18b20.0 : ds18b20 : raspberrypi - enabled + system.adapter.email.0 : email : raspberrypi - enabled + system.adapter.fritzdect.0 : fritzdect : raspberrypi - enabled system.adapter.ical.0 : ical : raspberrypi - enabled + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.info.0 : info : raspberrypi - enabled + system.adapter.javascript.0 : javascript : raspberrypi - enabled system.adapter.lovelace.0 : lovelace : raspberrypi - disabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.modbus.0 : modbus : raspberrypi - enabled + system.adapter.modbus.1 : modbus : raspberrypi - enabled + system.adapter.modbus.10 : modbus : raspberrypi - enabled + system.adapter.modbus.11 : modbus : raspberrypi - enabled + system.adapter.modbus.2 : modbus : raspberrypi - enabled + system.adapter.modbus.3 : modbus : raspberrypi - enabled + system.adapter.modbus.4 : modbus : raspberrypi - enabled + system.adapter.modbus.5 : modbus : raspberrypi - enabled + system.adapter.modbus.6 : modbus : raspberrypi - enabled system.adapter.modbus.7 : modbus : raspberrypi - disabled + system.adapter.modbus.8 : modbus : raspberrypi - enabled + system.adapter.modbus.9 : modbus : raspberrypi - enabled + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1885, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : raspberrypi - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.ping.0 : ping : raspberrypi - enabled + system.adapter.plenticore.0 : plenticore : raspberrypi - enabled, port: 443 + system.adapter.plenticore.1 : plenticore : raspberrypi - enabled, port: 443 + system.adapter.pushover.0 : pushover : raspberrypi - enabled + system.adapter.rpi2.0 : rpi2 : raspberrypi - enabled system.adapter.smartmeter.0 : smartmeter : raspberrypi - disabled + system.adapter.smartmeter.1 : smartmeter : raspberrypi - enabled + system.adapter.sonoff.0 : sonoff : raspberrypi - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.sonos.0 : sonos : raspberrypi - enabled + system.adapter.tibberconnect.0 : tibberconnect : raspberrypi - enabled + system.adapter.tuya.0 : tuya : raspberrypi - enabled system.adapter.vis.0 : vis : raspberrypi - enabled system.adapter.vw-connect.0 : vw-connect : raspberrypi - disabled system.adapter.warp.0 : warp : raspberrypi - disabled + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_980636923f98ec1187429fd044d80d13-if00-port0 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.influxdb.0 : influxdb : raspberrypi - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1885, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : raspberrypi - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.plenticore.0 : plenticore : raspberrypi - enabled, port: 443 + system.adapter.plenticore.1 : plenticore : raspberrypi - enabled, port: 443 + system.adapter.sonoff.0 : sonoff : raspberrypi - enabled, port: 1884, bind: 0.0.0.0 + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : raspberrypi - enabled, port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_980636923f98ec1187429fd044d80d13-if00-port0 ioBroker-Repositories Stable (default): http://download.iobroker.net/sources-dist.json Beta (latest) : http://download.iobroker.net/sources-dist-latest.json Active repo(s): Stable (default) Installed ioBroker-Instances Used repository: Stable (default) Adapter "accuweather" : 1.2.1 , installed 1.2.1 Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "awattar" : 1.0.6 , installed 1.0.6 Adapter "backitup" : 2.6.16 , installed 2.6.16 Adapter "bydhvs" : 1.4.0 , installed 1.4.0 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "ds18b20" : 1.6.1 , installed 1.6.1 Adapter "email" : 1.1.4 , installed 1.1.4 Adapter "fritzdect" : 2.2.6 , installed 2.2.6 Adapter "ical" : 1.13.2 , installed 1.13.2 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.23 [Updatable] Adapter "lovelace" : 3.0.1 , installed 3.0.1 Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "node-red" : 4.0.0 , installed 4.0.0 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "plenticore" : 2.2.0 , installed 2.2.0 Adapter "pushover" : 3.0.3 , installed 3.0.3 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "sonos" : 2.2.3 , installed 2.2.3 Adapter "tuya" : 3.13.1 , installed 3.13.1 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vw-connect" : 0.0.62 , installed 0.0.62 Adapter "warp" : 1.2.2 , installed 1.2.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "zigbee" : 1.8.10 , installed 1.8.10 Objects and States Please stand by - This may take a while Objects: 8232 States: 7631 *** OS-Repositories and Updates *** Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Hit:3 https://deb.nodesource.com/node_16.x buster InRelease Hit:4 https://apt.grafana.com stable InRelease Get:5 https://dl.cloudsmith.io/public/evcc/stable/deb/debian any-version InRelease [5124 B] Hit:6 https://repos.influxdata.com/debian stable InRelease Fetched 5124 B in 4s (1241 B/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 102 15968 451/systemd-resolve tcp 0 0 192.168.111.253:502 0.0.0.0:* LISTEN 1001 31132 1937/io.modbus.11 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 20483 585/sshd tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 0 17749 464/cupsd tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 116 112125 11387/influxd tcp 0 0 0.0.0.0:1880 0.0.0.0:* LISTEN 1001 27313 1794/node-red tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 0 20019 697/mosquitto tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1001 31809 1716/io.sonoff.0 tcp 0 0 0.0.0.0:1885 0.0.0.0:* LISTEN 1001 30780 1687/io.mqtt.0 tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 22106 1009/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 24656 1009/iobroker.js-co tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 102 15961 451/systemd-resolve tcp6 0 0 :::8081 :::* LISTEN 1001 27731 1132/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 32255 2235/io.web.0 tcp6 0 0 :::22 :::* LISTEN 0 20485 585/sshd tcp6 0 0 ::1:3350 :::* LISTEN 0 18640 576/xrdp-sesman tcp6 0 0 :::631 :::* LISTEN 0 17750 464/cupsd tcp6 0 0 :::3000 :::* LISTEN 117 21834 693/grafana tcp6 0 0 :::1883 :::* LISTEN 0 20020 697/mosquitto tcp6 0 0 :::3389 :::* LISTEN 115 20536 613/xrdp tcp6 0 0 :::7070 :::* LISTEN 120 32412 2615/evcc tcp6 0 0 :::5355 :::* LISTEN 102 15964 451/systemd-resolve udp 0 0 0.0.0.0:6666 0.0.0.0:* 1001 31287 2001/io.tuya.0 udp 0 0 0.0.0.0:6667 0.0.0.0:* 1001 31288 2001/io.tuya.0 udp 0 0 127.0.0.53:53 0.0.0.0:* 102 15966 451/systemd-resolve udp 0 0 0.0.0.0:631 0.0.0.0:* 0 17890 567/cups-browsed udp 0 0 0.0.0.0:36010 0.0.0.0:* 108 17757 463/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 120 32939 2615/evcc udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 17755 463/avahi-daemon: r udp 0 0 0.0.0.0:5355 0.0.0.0:* 102 15960 451/systemd-resolve udp 0 0 0.0.0.0:1905 0.0.0.0:* 1001 111109 1966/io.sonos.0 udp6 0 0 :::5353 :::* 120 32940 2615/evcc udp6 0 0 :::5353 :::* 108 17756 463/avahi-daemon: r udp6 0 0 :::5355 :::* 102 15963 451/systemd-resolve udp6 0 0 :::60204 :::* 108 17758 463/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-04-10 23:42:36.417 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:42:41.510 - info: web.0 (2235) ==> Connected system.user.admin from ::ffff:192.168.111.86 2023-04-10 23:42:46.427 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:42:56.439 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:43:06.454 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:43:16.468 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:43:26.482 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:43:36.495 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:43:46.507 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:43:56.515 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:44:06.523 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:44:16.531 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:44:26.549 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:44:36.557 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:44:46.588 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:44:56.620 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:45:06.637 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:45:16.652 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:45:26.674 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:45:36.696 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:45:46.708 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:45:56.716 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:46:06.738 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:46:16.754 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 2023-04-10 23:46:26.761 - error: influxdb.0 (7905) Error: connect ECONNREFUSED 127.0.0.1:8086 ============ Mark until here for C&P ============= iob diag has finished. Press any key for a summary
Und dann noch mal die Summary:
======================= SUMMARY ======================= v.2023-04-02 Operatingsystem: Raspbian GNU/Linux 10 (buster) Kernel: 5.10.103-v7l+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 1 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/local/bin/npx 9.2.0 Recommended versions are nodejs 18.x.y and npm 9.x.y MEMORY: total used free shared buff/cache available Mem: 7.9G 2.6G 1.6G 63M 3.8G 5.6G Swap: 99M 0B 99M Total: 8.0G 2.6G 1.7G Active iob-Instances: 38 Active repo(s): Stable (default) ioBroker Core: js-controller 4.0.23 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 8232 States: 7631 Size of iob-Database: 37M /opt/iobroker/iobroker-data/objects.jsonl 9.4M /opt/iobroker/iobroker-data/objects.json.migrated 9.4M /opt/iobroker/iobroker-data/objects.json.bak.migrated 2.6M /opt/iobroker/iobroker-data/states.jsonl 748K /opt/iobroker/iobroker-data/states.json.migrated 748K /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
-
Bullseye in 64bit ist schon auf einem zweitem raspi aufgesetzt. Ich habe nur noch keinen Plan, wie ich alles vom alten auf den neuen bekomme - vorallem die influxdb mit allen Daten...
Ah... NPX darf nicht in local liegen. Habe ich gerdae in Deinem Werkzeugkasten gefunden
-
@thomkast sagte in influxdb 1.8.10 läuft aber port 8086 antwortet nicht mehr:
vorallem die influxdb mit allen Daten...
Mit einem Backup?
Ja, zu falschen Pfaden findet sich was in meinem nodejs-HowTo.
Kurzform: Lösch die Datei. -
Ja klar, ich wollte dann aber auch auf Influxdb2 umsteigen und die Migration ist mir nicht klar.
Die Pfade passen doch alle bis auf NPX. Das lösche ich jetzt aus dem local Pfad.
Und an den Upgrade von Nodejs auf V18 habe ich mich noch nicht drangetraut. Das muss ich noch ein paar mal bei Dir lesen...
Aber sind das die Gründe für die aktuellen Probleme? Ich hatte nichts gelesen, dass ich für den weiteren Betrieb / Updates umsteiegen muss. ich dacht eich hätte noch ein wenig Ziet...
-
@thomkast sagte in influxdb 1.8.10 läuft aber port 8086 antwortet nicht mehr:
ich dacht eich hätte noch ein wenig Ziet...
Nein, Buster ist seit September 2022 abgekündigt.
-
@thomas-braun
ok NPX ist gelöscht und DIAG meldet dazu :/usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3
-
Dann kannst du ja jetzt nodejs18 und bullseye installieren.
-
Guten Morgen Thomas. Dann würde ich vorschlagen, dass ich gleich den neuen raspi 64 bit verwende... Würdest Du mich dabei auch unterstützen. Würde mich sehr freuen, denn dann habe ich sicherlich ein korrekt aufgesetztes System...
Da ich jetzt am WIN-PC im Forum bin, gestaltet sich das mit dem c&p problematisch... Aber die Ausgangsituation ist wie folgt....
- bullseye installiert und alle update/upgrade durchgeführt
- node, nodejs, npm, npx wie bei Dir beschrieben installiert - Version 18.15.0 und 9.5.0 und alle in /usr/bin/
- nodejs: installed: 18.15.0-deb-1nodesource1 und nodejs: candidate: 18.15.0-deb-1nodesource1
- iob noch nicht installiert
Meine Backups habe ich mit "backitup" unter iob - für iob, influx, grafana, vis durchgeführt.
Wie gehe ich denn nun weiter vor? Was ist der nächste Schritt?^
Muss ich jetzt erst iob installieren, um dann mit backitup zu restoren? Oder funktioniert ein Restore so, dass auch iob wieder hergestellt wird? -
@thomkast sagte in influxdb 1.8.10 läuft aber port 8086 antwortet nicht mehr:
Wie gehe ich denn nun weiter vor? Was ist der nächste Schritt?^
Muss ich jetzt erst iob installieren, um dann mit backitup zu restoren?für iobroker , ja, allerdings muss vis/web ebenfalls installiert werden bevor das backup zurückgespielt wird
schau dir die Readme im backitup Adapter dazu an
-
Da ich jetzt am WIN-PC im Forum bin, gestaltet sich das mit dem c&p problematisch...
Dafür benutzt man eine ssh-Verbindung. Dann kannan aus dem Windows-Terminal kopieren.
-
@crunchip
Vielen Dank für Dein Feedback. Ich bereite noch vor und ziehe noch Backups bevor es dann losgeht...Eine Frage noch vorab... Ich möchte gerne influxdb auf V2 einsetzen. Die aktuelle DB ist noch 1.8.10. Spiele ich die Sicherung erst als 1.8.10 zurück und führ dann einen influxdb-Upgrade durch?
Ist das die sauberste Lösung für einen Umstieg? Da ich ja auf einen komplett neuen raspi gehe bin ich ja nicht auf ein Upgrade angewiesen... Nur wüsste ich nicht, wie ich eine alte-DB in eine neue einlese...
-
Ich würde wohl auf dem neuen System beide Datenbanken aufsetzen, das Backup zuerst in die 1.8 einspielen und dann die Migration auf influxdb2 machen.
-
@thomkast sagte in influxdb 1.8.10 läuft aber port 8086 antwortet nicht mehr:
Die aktuelle DB ist noch 1.8.10. Spiele ich die Sicherung erst als 1.8.10 zurück und führ dann einen influxdb-Upgrade durch?
ja, denn du kannst nicht einfach dein altes in die V2 einspielen, allerdings kannst du beide parallel betreiben oder aber auch danach migrieren
Ausnahmsweise mal ein Video
https://www.youtube.com/watch?v=QFOqLnBMTW4 -
@crunchip
Lustig... Läuft schon parallel -
@crunchip
heißt das dann, dass wenn- die DB auf V2 umgestellt ist
- alle Graphen auf flux umgestellt sind
dass dann die V1.8 deinstalliert werden kann?
Denn so wie das Video endet, würden dauerhaft V1 und V2 koexistieren... Muss ja nicht, oder?