NEWS
[gelöst] backup error von influxdb2 remote
-
hi,
bei meinen neuen proxmox containern kann ich gerade von dem iobroker container via iobroker backup leider kein db backup vom remote influxdb2 container machen:
2025-07-14 09:31:38.837 error [iobroker/clean] Backup files not deleted from /opt/iobroker/backups because some errors. 2025-07-14 09:31:35.663 error [iobroker] Error: Command failed: "/usr/bin/influx" backup --bucket iobroker --host http://192.168.0.23:8086 -t token "/opt/iobroker/backups/influxDB_2025_07_14-09_31_35_backupiobroker" /bin/sh: 1: /usr/bin/influx: not found 2025-07-14 09:31:35.663 error [iobroker/influxDB] /bin/sh: 1: /usr/bin/influx: not found
in der kommandozeile auf dem iobroker klappt es:
iobroker@iobroker:/opt/iobroker/backups$ influx backup --bucket iobroker --host http://192.168.0.23:8086 -t token "/opt/iobroker/backups/influxDB_2025_07_14-09_19_09_backupiobroker_1"
was kann ich ändern bzw mache was falsch?
-
@tklein bitte keine Screenshots von Logs oder Konsoleltext!
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1
-
@homoran sorry, update done
-
das ergab leider auch keine veränderung:
iobroker@iobroker:/opt/iobroker/backups$ sudo apt remove influxdb-client Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'influxdb-client' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. iobroker@iobroker:/opt/iobroker/backups$
-
@tklein sagte in backup error von influxdb2 remote:
sudo apt remove influxdb-client
sudo apt install influxdb2-client
-
@marc-berg brauche ich den denn?
hatte das hier gelesen:
https://forum.iobroker.net/topic/68847/gelöst-backitup-bin-sh-1-influx-not-found/46?_=1752478919614 -
@tklein sagte in backup error von influxdb2 remote:
brauche ich den denn?
ja.
error [iobroker/influxDB] /bin/sh: 1: /usr/bin/influx: not found
-
@marc-berg obwohl es per console geht?
iobroker@iobroker:/opt/iobroker/backups$ influx backup --bucket iobroker --host http://192.168.0.23:8086 -t token "/opt/iobroker/backups/influxDB_2025_07_14-09_19_09_backupiobroker_2" 2025/07/14 09:45:52 INFO: Downloading metadata snapshot 2025/07/14 09:45:52 INFO: Backing up TSM for shard 1 2025/07/14 09:45:52 INFO: Backing up TSM for shard 2
-
@tklein sagte in backup error von influxdb2 remote:
obwohl es per console geht?
Console im Container?
Dann ist vielleicht der Pfad in Backitup falsch? Was steht da drin?
Was sagt
which influx
?
-
ja in der console im iobroker container
iobroker@iobroker:/opt/iobroker/backups$ which influx /usr/local/bin/influx
-
@tklein sagte in [backup
error von influxdb2 remote](/post/1283150):
/usr/local/bin/influx
Richtig:
/usr/local/bin/influx
Falsch:
/usr/bin/influx
EDIT: oder einfach das Feld in backitup leer lassen
-
@marc-berg oh man danke. das war es. da hätte ich selbst drauf kommen können/müssen