NEWS
Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK
-
@thomas-braun stimmt, hatte ich nicht darauf geachtet, das ist das original der Influx Seite, muss natürlich angepasst werden
/etc/apt/sources.list.d/influxdb.list
-
@goetschhofer
Ja, mit dem Befehl wird die falsche Datei gelöscht.
Die würde sonst immer beim apt update angemeckert werden. -
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
@goetschhofer
Ja, mit dem Befehl wird die falsche Datei gelöscht.
Die würde sonst immer beim apt update angemeckert werden.Diese findet er aber offenbar nicht ?
Ich war folgendermaßen vorgegangen.
- falsche Eingabe Befehl
- richtige Eingabe Beschreibung von dir.
root@IOBROKER:~# rm /etc/apt/sourceslist.d/influxdb.listcode_text rm: das Entfernen von '/etc/apt/sourceslist.d/influxdb.listcode_text' ist nicht möglich: Datei oder Verzeichnis nicht gefunden root@IOBROKER:~#
-
ls -la /etc/apt/sources.list.d
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
ls -la /etc/apt/sources.list.d
root@IOBROKER:~# ls -la /etc/apt/sources.list.d insgesamt 20 drwxr-xr-x 2 root root 4096 Aug 17 11:35 . drwxr-xr-x 7 root root 4096 Mai 2 15:24 .. -rw-r--r-- 1 root root 102 Aug 17 11:35 influxdb.list -rw-r--r-- 1 root root 102 Aug 17 11:30 influxdb.listcode_text -rw-r--r-- 1 root root 204 Mai 2 20:24 nodesource.list root@IOBROKER:~#
-
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
rm /etc/apt/sources.list.d/influxdb.listcode_text
Ja, die ist jetzt weg.
Vielen herzlichen Dank.
Muss ich jetzt noch die influxdb.conf anpassen ? bind-adress = Port 8088 ?
root@IOBROKER:~# ls -la /etc/apt/sources.list.d insgesamt 20 drwxr-xr-x 2 root root 4096 Aug 17 11:35 . drwxr-xr-x 7 root root 4096 Mai 2 15:24 .. -rw-r--r-- 1 root root 102 Aug 17 11:35 influxdb.list -rw-r--r-- 1 root root 102 Aug 17 11:30 influxdb.listcode_text -rw-r--r-- 1 root root 204 Mai 2 20:24 nodesource.list root@IOBROKER:~# ^C root@IOBROKER:~# rm /etc/apt/sources.list.d/influxdb.listcode_text root@IOBROKER:~# ls -la /etc/apt/sources.list.d insgesamt 16 drwxr-xr-x 2 root root 4096 Aug 17 11:46 . drwxr-xr-x 7 root root 4096 Mai 2 15:24 .. -rw-r--r-- 1 root root 102 Aug 17 11:35 influxdb.list -rw-r--r-- 1 root root 204 Mai 2 20:24 nodesource.list root@IOBROKER:~#
-
@goetschhofer Meld dich als root ab!!!
exit
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
@goetschhofer Meld dich als root ab!!!
exit
Danke, hätte ich jetzt vergessen !
-
Muss ich da jetzt noch in der influxdb.conf etwas anpassen ? bind-adress = Port 8088 ?
Wenn die InfluxDB von einem entfernten Server gesichert werden soll, müssen in der influxdb.conf auf dem entfernten Server die Remote-Rechte für den RPC-Dienst angepasst werden. bind-address = "<InfluxDB-IP>:8088" oder bind-address = "0.0.0.0:8088" Nach dem Änderungen in der Konfiguration muss der InfluxDB-Dienst neugestartet werden.
Die bindadress sieht in der influxdb.config genaus aus, wie bei der Variante 2. "0.0.0.0:8088".
Oder muss hier unbedingt unter bind-adress die IP-Adresse in der influxdb rein: "192.168.1.177:8088" ?
Danke
Influxdb.conf:
### Welcome to the InfluxDB configuration file. # The values in this file override the default values used by the system if # a config option is not specified. The commented out lines are the configuration # field and the default value used. Uncommenting a line and changing the value # will change the value used at runtime when the process is restarted. # Once every 24 hours InfluxDB will report usage data to usage.influxdata.com # The data includes a random ID, os, arch, version, the number of series and other # usage data. No data from user databases is ever transmitted. # Change this option to true to disable reporting. # reporting-disabled = false # Bind address to use for the RPC service for backup and restore. bind-address = "0.0.0.0:8088"
-
@goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
Die bindadress sieht in der influxdb.config genaus aus, wie bei der Variante 2. "0.0.0.0:8088".
Oder muss hier unbedingt unter bind-adress die IP-Adresse in der influxdb rein: "192.168.1.177:8088" ?0.0.0.0 passt, dann wird auf "allen gehört"
-
Im backitup-Adapter im iobroker habe ich unter influxdb die IP-Adresse der Influxdb und Port: 8088 eingetragen.
Bekomme aber immer noch eine Fehlermeldung.
-
@goetschhofer Version von Backitup?
-
@thomas-braun said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
@goetschhofer Version von Backitup?
v.2.1.13
-
@goetschhofer blöde Frage, wo hast du denn die Config geändert, auf deinem Iobroker oder auf deiner Influx? zeig mal von beiden diese zwei Zeilen, sollte so aussehen
iobroker
# Bind address to use for the RPC service for backup and restore. # bind-address = "127.0.0.1:8088"
influx
# Bind address to use for the RPC service for backup and restore. bind-address = "0.0.0.0:8088"
und natürlich muss der Dienst
- auf dem Iobroker gestartet sein
sudo systemctl start influxdb sudo systemctl enable influxdb.service
- nach der Änderung in deiner Influx Config muss influx neu gestartet werden, damit die Änderung wirksam wird
sudo systemctl restart influxdb
-
Die influxdb.config finde ich nur im LXC-InfluxDB und hier befinden sich folgende Werte:
Abfrage mit:sudo nano /etc/influxdb/influxdb.conf
LXC-INFLUXDB: IP: 192.168.1.177
### Welcome to the InfluxDB configuration file. # The values in this file override the default values used by the system if # a config option is not specified. The commented out lines are the configuration # field and the default value used. Uncommenting a line and changing the value # will change the value used at runtime when the process is restarted. # Once every 24 hours InfluxDB will report usage data to usage.influxdata.com # The data includes a random ID, os, arch, version, the number of series and other # usage data. No data from user databases is ever transmitted. # Change this option to true to disable reporting. # reporting-disabled = false # Bind address to use for the RPC service for backup and restore. bind-address = "0.0.0.0:8088"
Wenn ich die gleiche Abfrage nun auf der VM-iobroker-192.168.1.176 mache, dann findet er die Datei offenbar nicht.
Aber in diesem Verzeichnis habe ich eine .conf Datei.
karl@IOBROKER:~$ ls -la /etc/apt/ insgesamt 36 drwxr-xr-x 7 root root 4096 Mai 2 15:24 . drwxr-xr-x 75 root root 4096 Aug 16 17:38 .. drwxr-xr-x 2 root root 4096 Aug 1 08:24 apt.conf.d drwxr-xr-x 2 root root 4096 Dez 7 2020 auth.conf.d -rw-r--r-- 1 root root 150 Mai 2 15:20 listchanges.conf drwxr-xr-x 2 root root 4096 Dez 7 2020 preferences.d -rw-r--r-- 1 root root 881 Mai 2 15:24 sources.list -rw-r--r-- 1 root root 0 Mai 2 15:08 sources.list~ drwxr-xr-x 2 root root 4096 Aug 17 11:46 sources.list.d drwxr-xr-x 2 root root 4096 Aug 17 11:30 trusted.gpg.d karl@IOBROKER:~$
Danke im Voraus für die Hilfe.
-
@goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
Die influxdb.config finde ich nur im LXC-InfluxDB
sollte aber auf deinem iobroker auch vorhanden sein
zeig mal die Ausgabe auf deinem iobrokersudo systemctl status influxdb.service
-
@crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
@goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
Die influxdb.config finde ich nur im LXC-InfluxDB
sollte aber auf deinem iobroker auch vorhanden sein
zeig mal die Ausgabe auf deinem iobrokersudo systemctl status influxdb.service
Die kann er im iobroker nicht finden ?
login as: karl karl@192.168.1.176's password: Linux IOBROKER 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 18 09:00:19 2021 from 192.168.1.3 karl@IOBROKER:~$ sudo systemctl status influxdb.service [sudo] Passwort für karl: Unit influxdb.service could not be found. karl@IOBROKER:~$
-
@goetschhofer wo bitte hast du dann influx installiert?
apt policy influxdb
-
@crunchip said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:
apt policy influxdb
Offenbar hat die Installation mit wget .......... des Influx Repository in iobroker nicht geklappt ?
login as: karl karl@192.168.1.176's password: Linux IOBROKER 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 18 10:16:34 2021 from 192.168.1.3 karl@IOBROKER:~$ apt policy influxdb influxdb: Installiert: (keine) Installationskandidat: 1.6.4-1+deb10u1 Versionstabelle: 1.6.4-1+deb10u1 500 500 http://deb.debian.org/debian buster/main amd64 Packages 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages karl@IOBROKER:~$
login as: karl karl@192.168.1.177's password: Linux LXC-INFLUXDB-192 5.4.124-1-pve #1 SMP PVE 5.4.124-1 (Wed, 23 Jun 2021 13:4 7:09 +0200) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Wed Aug 18 10:17:52 2021 from 192.168.1.3 karl@LXC-INFLUXDB-192:~$ apt policy influxdb influxdb: Installed: 1.8.7-1 Candidate: 1.8.7-1 Version table: *** 1.8.7-1 500 500 https://repos.influxdata.com/debian buster/stable amd64 Packages 100 /var/lib/dpkg/status 1.6.4-1+deb10u1 500 500 http://ftp.debian.org/debian buster/main amd64 Packages 500 http://security.debian.org buster/updates/main amd64 Packages karl@LXC-INFLUXDB-192:~