Closed Marty56 closed 6 months ago
Obviously you have not set the hostname in the backitup configuration.
influxd backup -portable -database iobroker -host :8088
Thanks for the help. I have fixed this issue. Still not luck. I have also tried the IP. Same result
2024-03-04 08:17:56.470 error [iobroker] Error: Command failed: influxd backup -portable -database iobroker -host dell:8088 "/opt/iobroker/backups/influxDB_2024_03_04-08_14_01_influxDB-0_backupiobroker"2024/03/04 08:14:01 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41404->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (0)...2024/03/04 08:14:03 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41418->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (1)...2024/03/04 08:14:05 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41430->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (2)...2024/03/04 08:14:07 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41440->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (3)...2024/03/04 08:14:09 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41446->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (4)...2024/03/04 08:14:11 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41216->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (5)...2024/03/04 08:14:13 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41218->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 3.01s and retrying (6)...2024/03/04 08:14:16 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41234->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 11.441s and retrying (7)...2024/03/04 08:14:27 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:42946->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 43.477s and retrying (8)...2024/03/04 08:15:11 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:52376->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2m45.216s and retrying (9)...backup: copy backup to file: err=read tcp 127.0.0.1:52376->127.0.1.1:8088: read: connection reset by peer, n=0
backitup.0
2024-03-04 08:17:56.469 error [iobroker/influxDB] backup: copy backup to file: err=read tcp 127.0.0.1:52376->127.0.1.1:8088: read: connection reset by peer, n=0
backitup.0
2024-03-04 08:17:56.469 error [iobroker/influxDB] 2024/03/04 08:15:11 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:52376->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2m45.216s and retrying (9)...
backitup.0
2024-03-04 08:17:56.468 error [iobroker/influxDB] 2024/03/04 08:14:27 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:42946->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 43.477s and retrying (8)...
backitup.0
2024-03-04 08:17:56.468 error [iobroker/influxDB] 2024/03/04 08:14:16 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41234->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 11.441s and retrying (7)...
backitup.0
2024-03-04 08:17:56.467 error [iobroker/influxDB] 2024/03/04 08:14:13 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41218->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 3.01s and retrying (6)...
backitup.0
2024-03-04 08:17:56.467 error [iobroker/influxDB] 2024/03/04 08:14:11 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41216->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (5)...
backitup.0
2024-03-04 08:17:56.466 error [iobroker/influxDB] 2024/03/04 08:14:09 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41446->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (4)...
backitup.0
2024-03-04 08:17:56.466 error [iobroker/influxDB] 2024/03/04 08:14:07 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41440->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (3)...
backitup.0
2024-03-04 08:17:56.466 error [iobroker/influxDB] 2024/03/04 08:14:05 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41430->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (2)...
backitup.0
2024-03-04 08:17:56.465 error [iobroker/influxDB] 2024/03/04 08:14:03 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41418->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (1)...
backitup.0
2024-03-04 08:17:56.465 error [iobroker/influxDB] 2024/03/04 08:14:01 Download shard 0 failed copy backup to file: err=read tcp 127.0.0.1:41404->127.0.1.1:8088: read: connection reset by peer, n=0. Waiting 2s and retrying (0)...
backitup.0
2024-03-04 08:17:56.464 error [iobroker/influxDB] Error: Command failed: influxd backup -portable -database iobroker -host dell:8088 "/opt/iobroker/backups/influxDB_2024_03_04-08_14_01_influxDB-0_backupiobroker"
Maybe it is related to the docker instance of influxdb.
version: '3.6'
services:
influxdb:
image: influxdb:1.8-alpine
container_name: influxdb
restart: always
environment:
- INFLUXDB_DB=influx
- INFLUXDB_ADMIN_USER=admin
- INFLUXDB_ADMIN_PASSWORD=admin
ports:
- '8086:8086'
- '8088:8088'
volumes:
- /mnt/appdata/influxdb:/var/lib/influxdb
- /mnt/appdata/influxdb_conf:/etc/influxdb
Have you set
bind-address = ":8088"
in influxdb.conf?
Sorry for my stupidy. Where do I set the influxdb.conf?
In the InfluxDB container (path: /etc/influxdb/influxdb.conf)
No, I did not. I will figure out the syntax and give it another go.
This influxdb.conf is not working
[meta]
dir = "/var/lib/influxdb/meta"
[data]
dir = "/var/lib/influxdb/data"
engine = "tsm1"
wal-dir = "/var/lib/influxdb/wal"
[http]
# Determines whether HTTP endpoint is enabled.
enabled = true
# Determines whether the Flux query endpoint is enabled.
flux-enabled=true
# Determines whether the Flux query logging is enabled.
flux-log-enabled = false
bind-address = ":8088"
I have also tried
bind-address = "127.0.0.1:8088" and and bind-address = "192.168.10.132:8088"
I see no issue with the ioBroker docker image. Looks like a configuration issue. I'll convert this to an discussion.
BTW: Your ioBroker uses Host network, your influx uses bridge. Not sure if the communication there is possible.
Your log says err=read tcp 127.0.0.1:41430->127.0.1.1:8088
. I think localhost ip is the problem...
Regards, André
Description / Beschreibung
This is my docker compose file
This is my docker startup
Backup is working. Protocol see below.
Image version
v9.1.1
Docker logs / Docker Protokoll