Giter Site home page Giter Site logo

Comments (8)

Marc-Berg avatar Marc-Berg commented on August 17, 2024

Obviously you have not set the hostname in the backitup configuration.

influxd backup -portable -database iobroker -host :8088

from iobroker.docker.

Marty56 avatar Marty56 commented on August 17, 2024

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

from iobroker.docker.

Marc-Berg avatar Marc-Berg commented on August 17, 2024

Have you set
bind-address = ":8088"
in influxdb.conf?

from iobroker.docker.

Marty56 avatar Marty56 commented on August 17, 2024

Sorry for my stupidy. Where do I set the influxdb.conf?

from iobroker.docker.

Marc-Berg avatar Marc-Berg commented on August 17, 2024

In the InfluxDB container (path: /etc/influxdb/influxdb.conf)

from iobroker.docker.

Marty56 avatar Marty56 commented on August 17, 2024

No, I did not. I will figure out the syntax and give it another go.

from iobroker.docker.

Marty56 avatar Marty56 commented on August 17, 2024

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"

from iobroker.docker.

buanet avatar buanet commented on August 17, 2024

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é

from iobroker.docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.