• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    error on getting ping status

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 2 Posters 26 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      janjanson
      last edited by jkandasa

      Hi I did the installation as described in
      https://mycontroller.org/docs/installation/quick-installation/executable-binary/
      and
      https://mycontroller.org/docs/getting-started/install-influxdb/

      • the http://192.168.1.102:8086/ shows :
        404 page not found

      • my question:
        WTF? did someone follow the installation instructions?

      --- DETAILS ---

      • the influx installed, up and running, listening on 8088
      journalctl -xeu influxdb.service
      čen 18 01:00:38 fs systemd[1]: Started influxdb.service - InfluxDB is an open-source, distributed, time series database.
      ░░ Subject: A start job for unit influxdb.service has finished successfully
      ░░ Defined-By: systemd
      ░░ Support: http://www.ubuntu.com/support
      ░░ 
      ░░ A start job for unit influxdb.service has finished successfully.
      ░░ 
      ░░ The job identifier is 410858.
      čen 18 01:00:38 fs (influxd)[2674091]: influxdb.service: Referenced but unset environment variable evaluates to an empty string: INFLUXD_OPTS
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.516483Z lvl=info msg="InfluxDB starting" log_id=0xC1ocy0000 version=1.6.7~rc0 branch=unknown commit=unknown
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.516501Z lvl=info msg="Go runtime" log_id=0xC1ocy0000 version=go1.21.0 maxprocs=20
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.528847Z lvl=info msg="Using data dir" log_id=0xC1ocy0000 service=store path=/var/lib/influxdb/data
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.528873Z lvl=info msg="Compaction settings" log_id=0xC1ocy0000 service=store max_concurrent_compactions=10 throughput_bytes_per_second=50331648 throughput_burst_bytes=50331648
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.528882Z lvl=info msg="Open store (start)" log_id=0xC1ocy0000 service=store trace_id=0xC1od00001 op_name=tsdb_open op_event=start
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.530558Z lvl=info msg="Reading file" log_id=0xC1ocy0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/1/_00001.wal size=810049
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557838Z lvl=info msg="Opened shard" log_id=0xC1ocy0000 service=store trace_id=0xC1od00001 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/1 duration=27.763ms
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557891Z lvl=info msg="Open store (end)" log_id=0xC1ocy0000 service=store trace_id=0xC1od00001 op_name=tsdb_open op_event=end op_elapsed=29.010ms
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557904Z lvl=info msg="Opened service" log_id=0xC1ocy0000 service=subscriber
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557910Z lvl=info msg="Starting monitor service" log_id=0xC1ocy0000 service=monitor
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557915Z lvl=info msg="Registered diagnostics client" log_id=0xC1ocy0000 service=monitor name=build
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557919Z lvl=info msg="Registered diagnostics client" log_id=0xC1ocy0000 service=monitor name=runtime
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557926Z lvl=info msg="Registered diagnostics client" log_id=0xC1ocy0000 service=monitor name=network
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557929Z lvl=info msg="Registered diagnostics client" log_id=0xC1ocy0000 service=monitor name=system
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557944Z lvl=info msg="Starting precreation service" log_id=0xC1ocy0000 service=shard-precreation check_interval=10m advance_period=30m
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557949Z lvl=info msg="Starting snapshot service" log_id=0xC1ocy0000 service=snapshot
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557954Z lvl=info msg="Starting continuous query service" log_id=0xC1ocy0000 service=continuous_querier
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557961Z lvl=info msg="Starting HTTP service" log_id=0xC1ocy0000 service=httpd authentication=false
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557966Z lvl=info msg="opened HTTP access log" log_id=0xC1ocy0000 service=httpd path=stderr
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.557966Z lvl=info msg="Storing statistics" log_id=0xC1ocy0000 service=monitor db_instance=_internal db_rp=monitor interval=10s
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.558044Z lvl=info msg="Listening on HTTP" log_id=0xC1ocy0000 service=httpd addr=[::]:8086 https=false
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.558055Z lvl=info msg="Starting retention policy enforcement service" log_id=0xC1ocy0000 service=retention check_interval=30m
      čen 18 01:00:38 fs influxd[2674091]: ts=2025-06-17T23:00:38.558092Z lvl=info msg="Listening for signals" log_id=0xC1ocy0000
      čen 18 01:04:46 fs influxd[2674091]: [httpd] ::1 - - [18/Jun/2025:01:04:46 +0200] "GET /ping HTTP/1.1" 204 0 "-" "InfluxDBShell/1.6.7~rc0" 76933d91-4bcf-11f0-8001-000000000000 22
      čen 18 01:04:54 fs influxd[2674091]: ts=2025-06-17T23:04:54.271110Z lvl=info msg="Executing query" log_id=0xC1ocy0000 service=query query="SHOW DATABASES"
      čen 18 01:04:54 fs influxd[2674091]: [httpd] ::1 - - [18/Jun/2025:01:04:54 +0200] "POST /query?chunked=true&db=&epoch=ns&q=show+databases HTTP/1.1" 200 121 "-" "InfluxDBShell/1.6.7~rc0" 7b04c993-4bcf-11f0-8002-000000000000 548
      
      • I created db :
      honza@fs:/opt/apps/mycontroller$ influx
      Connected to http://localhost:8086 version 1.6.7~rc0
      InfluxDB shell version: 1.6.7~rc0
      > show databases
      name: databases
      name
      ----
      _internal
      mycontroller
      > exit
      
      • I see error in executable/logs/mycontroller.log :
            2025-06-18T01:00:45.747+0200    info    helper/helper.go:29     welcome to MyController server :)
            2025-06-18T01:00:45.747+0200    info    helper/helper.go:33     version information     {"versionInfo": "{version:2.0.0, buildDate:2023-06-18T17:25:41+00:00, gitCommit:1e3e51e914ec115a2157630e081e95b29e8002fb, goVersion:go1.20.5, compiler:gc, platform:linux, arch:amd64, hostId:}", "loggerConfig": {"Mode":"record_all","Encoding":"console","Level":{"Core":"info","WebHandler":"info","Storage":"info","Metric":"warn"},"EnableStacktrace":false}}
            2025-06-18T01:00:45.747+0200    error   metric_influxdb influxdb_v2/client.go:214       error on getting ping status    {"error": "Get \"http://127.0.0.1:8080/ping\": dial tcp 127.0.0.1:8080: connect: connection refused"}
            2025-06-18T01:00:45.747+0200    error   helper/server.go:112    error on getting metric database        {"error": "Get \"http://127.0.0.1:8080/ping\": dial tcp 127.0.0.1:8080: connect: connection refused"}
            2025-06-18T01:00:45.747+0200    fatal   cmd/root.go:38  error on starting server        {"error": "Get \"http://127.0.0.1:8080/ping\": dial tcp 127.0.0.1:8080: connect: connection refused"}
      
      J 1 Reply Last reply Reply Quote 0
      • J Offline
        janjanson @janjanson
        last edited by

        sorry the stupid forum made some idiotic formating from my text... no intentions... plus I must wait to post this message

        jkandasaJ 1 Reply Last reply Reply Quote 0
        • jkandasaJ Offline
          jkandasa @janjanson
          last edited by jkandasa

          @janjanson welcome to MyController forum. the forum responsive for Markdown language.

          Looks like you have entered a wrong port number on the mycontroller.yaml file for the influx db. You are running influxdb on 8086 but on the configuration file it is set to 8080

          you should have something like this

          database:
            metric:
              disabled: false
              type: influxdb
              uri: http://127.0.0.1:8086 # must be updated with your host ip address
          

          BTW, MyController supports InfluxDB 1.8.x or above. MtyController have not tested with influx db 1.6.x

          1 Reply Last reply Reply Quote 0
          • J Offline
            janjanson
            last edited by jkandasa

            Hi, thank you for the effort. Still not working...

            I think the infludb is running on :8086 (and:8088) but the mycontroller connect fails with:

            error: 404 Not Found: 404 page not found
            , errorVerbose: 404 Not Found: 404 page not found
            
            github.com/influxdata/influxdb-client-go/v2/domain.decodeError
                    /home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/domain/client.gen.go:106
            github.com/influxdata/influxdb-client-go/v2/domain.(*Client).GetHealth
                    /home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/domain/client.gen.go:4509
            github.com/influxdata/influxdb-client-go/v2.(*clientImpl).Health
                    /home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/client.go:208
            github.com/mycontroller-org/server/v2/plugin/database/metric/influxdb_v2.NewClient
                    /home/runner/work/server/server/plugin/database/metric/influxdb_v2/client.go:157
            github.com/mycontroller-org/server/v2/plugin/database/metric.Create
                    /home/runner/work/server/server/plugin/database/metric/plugin.go:28
            github.com/mycontroller-org/server/v2/pkg/database.GetMetric
                    /home/runner/work/server/server/pkg/database/metric.go:28
            github.com/mycontroller-org/server/v2/cmd/helper.loadMetricDatabase
                    /home/runner/work/server/server/cmd/helper/helper.go:112
            github.com/mycontroller-org/server/v2/cmd/helper.(*Server).Start
                    /home/runner/work/server/server/cmd/helper/server.go:110
            github.com/mycontroller-org/server/v2/cmd/component/server/cmd.glob..func2
                    /home/runner/work/server/server/cmd/component/server/cmd/root.go:36
            github.com/spf13/cobra.(*Command).execute
                    /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920
            github.com/spf13/cobra.(*Command).ExecuteC
                    /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044
            github.com/spf13/cobra.(*Command).Execute
                    /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
            github.com/mycontroller-org/server/v2/cmd/component/server/cmd.Execute
                    /home/runner/work/server/server/cmd/component/server/cmd/root.go:44
            main.main
                    /home/runner/work/server/server/cmd/component/server/main.go:8
            runtime.main
                    /opt/hostedtoolcache/go/1.20.5/x64/src/runtime/proc.go:250
            runtime.goexit
                    /opt/hostedtoolcache/go/1.20.5/x64/src/runtime/asm_amd64.s:1598
            

            --- details ---
            .a the influx is listening on my external IP

            netstat -tna | less
            Active Internet connections (servers and established)
            Proto Recv-Q Send-Q Local Address           Foreign Address         State      
            tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN     
            tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
            tcp        0      0 0.0.0.0:42385           0.0.0.0:*               LISTEN     
            tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN     
            tcp        0      0 0.0.0.0:60621           0.0.0.0:*               LISTEN     
            tcp        0      0 0.0.0.0:47195           0.0.0.0:*               LISTEN     
            tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     
            tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
            tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN     
            tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN     
            tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN     
            tcp        0      0 0.0.0.0:38277           0.0.0.0:*               LISTEN     
            tcp        0      0 192.168.1.102:8088      0.0.0.0:*               LISTEN     
            tcp        0      0 192.168.1.102:8086      0.0.0.0:*               LISTEN
            

            .b I can connect it manually

            influx -host 192.168.1.102
            Connected to http://192.168.1.102:8086 version 1.6.7~rc0
            InfluxDB shell version: 1.6.7~rc0
            >
            

            .c the influx configuration

            nano /etc/influxdb/influxdb.conf
            reporting-enabled = false
            bind-address = "192.168.1.102:8088"
            ...
            [http]
              enabled = true
              bind-address = "192.168.1.102:8086"
              auth-enabled = false
              log-enabled = true
              suppress-write-log = false
              write-tracing = false
              pprof-enabled = true
              debug-pprof-enabled = false
              https-enabled = false
              https-certificate = "/etc/ssl/influxdb.pem"
              https-private-key = ""
              max-row-limit = 0
              max-connection-limit = 0
              shared-secret = ""
              realm = "InfluxDB"
              unix-socket-enabled = false
              unix-socket-permissions = "0777"
              bind-socket = "/var/run/influxdb.sock"
              max-body-size = 25000000
              access-log-path = ""
              max-concurrent-write-limit = 0
              max-enqueued-write-limit = 0
              enqueued-write-timeout = "30s"
            

            ... the rest of the configuration file is default

            .d mycontroller.yaml

            web:
              web_directory: web_console
              enable_profiling: false
              read_timeout: 60s
              http:
                enabled: true 
                bind_address: "192.168.1.102"
                port: 8080
              https_ssl:
                enabled: false
                bind_address: "0.0.0.0"
                port: 8443
                cert_dir: mc_home/certs/https_ssl
              https_acme:
                enabled: false
                bind_address: "0.0.0.0"
                port: 9443
                cache_dir: mc_home/certs/https_acme
                acme_directory: 
                email: hello@example.com
                domains: ["mycontroller.example.com"]
            ...
            database:
              storage:
                type: memory
                dump_enabled: true
                dump_interval: 10m
                dump_dir: "memory_db"
                dump_format: ["yaml","json"]
                load_format: "yaml"
            
              metric:
                disabled: false
                type: influxdb
                uri: http://192.168.1.102:8086
                token:
                username:
                password:
                organization_name:
                bucket_name: mycontroller
                batch_size:
                flush_interval: 5s
                query_client_version:
            

            .e start the service and start mycontroller

            sudo systemctl restart influxdb.service
            sudo ./mcctl.sh start
            start command issued to the MyController server
            

            f. mycontroller log

            tail logs/mycontroller.log
            
            2025-06-20T12:15:34.275+0200    info    helper/helper.go:29     welcome to MyController server :)
            2025-06-20T12:15:34.276+0200    info    helper/helper.go:33     version information     {"versionInfo": "{version:2.0.0, buildDate:2023-06-18T17:25:41+00:00, gitCommit:1e3e51e914ec115a2157630e081e95b29e8002fb, goVersion:go1.20.5, compiler:gc, platform:linux, arch:amd64, hostId:}", "loggerConfig": {"Mode":"record_all","Encoding":"console","Level":{"Core":"info","WebHandler":"info","Storage":"info","Metric":"warn"},"EnableStacktrace":false}}
            2025-06-20T12:15:34.276+0200    error   helper/server.go:112    error on getting metric database        {"error": "404 Not Found: 404 page not found\n", "errorVerbose": "404 Not Found: 404 page not found\n\ngithub.com/influxdata/influxdb-client-go/v2/domain.decodeError\n\t/home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/domain/client.gen.go:106\ngithub.com/influxdata/influxdb-client-go/v2/domain.(*Client).GetHealth\n\t/home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/domain/client.gen.go:4509\ngithub.com/influxdata/influxdb-client-go/v2.(*clientImpl).Health\n\t/home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/client.go:208\ngithub.com/mycontroller-org/server/v2/plugin/database/metric/influxdb_v2.NewClient\n\t/home/runner/work/server/server/plugin/database/metric/influxdb_v2/client.go:157\ngithub.com/mycontroller-org/server/v2/plugin/database/metric.Create\n\t/home/runner/work/server/server/plugin/database/metric/plugin.go:28\ngithub.com/mycontroller-org/server/v2/pkg/database.GetMetric\n\t/home/runner/work/server/server/pkg/database/metric.go:28\ngithub.com/mycontroller-org/server/v2/cmd/helper.loadMetricDatabase\n\t/home/runner/work/server/server/cmd/helper/helper.go:112\ngithub.com/mycontroller-org/server/v2/cmd/helper.(*Server).Start\n\t/home/runner/work/server/server/cmd/helper/server.go:110\ngithub.com/mycontroller-org/server/v2/cmd/component/server/cmd.glob..func2\n\t/home/runner/work/server/server/cmd/component/server/cmd/root.go:36\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968\ngithub.com/mycontroller-org/server/v2/cmd/component/server/cmd.Execute\n\t/home/runner/work/server/server/cmd/component/server/cmd/root.go:44\nmain.main\n\t/home/runner/work/server/server/cmd/component/server/main.go:8\nruntime.main\n\t/opt/hostedtoolcache/go/1.20.5/x64/src/runtime/proc.go:250\nruntime.goexit\n\t/opt/hostedtoolcache/go/1.20.5/x64/src/runtime/asm_amd64.s:1598"}
            2025-06-20T12:15:34.276+0200    fatal   cmd/root.go:38  error on starting server        {"error": "404 Not Found: 404 page not found\n", "errorVerbose": "404 Not Found: 404 page not found\n\ngithub.com/influxdata/influxdb-client-go/v2/domain.decodeError\n\t/home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/domain/client.gen.go:106\ngithub.com/influxdata/influxdb-client-go/v2/domain.(*Client).GetHealth\n\t/home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/domain/client.gen.go:4509\ngithub.com/influxdata/influxdb-client-go/v2.(*clientImpl).Health\n\t/home/runner/go/pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.12.2/client.go:208\ngithub.com/mycontroller-org/server/v2/plugin/database/metric/influxdb_v2.NewClient\n\t/home/runner/work/server/server/plugin/database/metric/influxdb_v2/client.go:157\ngithub.com/mycontroller-org/server/v2/plugin/database/metric.Create\n\t/home/runner/work/server/server/plugin/database/metric/plugin.go:28\ngithub.com/mycontroller-org/server/v2/pkg/database.GetMetric\n\t/home/runner/work/server/server/pkg/database/metric.go:28\ngithub.com/mycontroller-org/server/v2/cmd/helper.loadMetricDatabase\n\t/home/runner/work/server/server/cmd/helper/helper.go:112\ngithub.com/mycontroller-org/server/v2/cmd/helper.(*Server).Start\n\t/home/runner/work/server/server/cmd/helper/server.go:110\ngithub.com/mycontroller-org/server/v2/cmd/component/server/cmd.glob..func2\n\t/home/runner/work/server/server/cmd/component/server/cmd/root.go:36\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968\ngithub.com/mycontroller-org/server/v2/cmd/component/server/cmd.Execute\n\t/home/runner/work/server/server/cmd/component/server/cmd/root.go:44\nmain.main\n\t/home/runner/work/server/server/cmd/component/server/main.go:8\nruntime.main\n\t/opt/hostedtoolcache/go/1.20.5/x64/src/runtime/proc.go:250\nruntime.goexit\n\t/opt/hostedtoolcache/go/1.20.5/x64/src/runtime/asm_amd64.s:1598"}
            

            .g influxdb log

            čen 20 12:15:30 fs (influxd)[728254]: influxdb.service: Referenced but unset environment variable evaluates to an empty string: INFLUXD_OPTS
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.276932Z lvl=info msg="InfluxDB starting" log_id=0xFDDvu0000 version=1.6.7~rc0 branch=unknown commit=unknown
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.276941Z lvl=info msg="Go runtime" log_id=0xFDDvu0000 version=go1.21.0 maxprocs=20
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.289593Z lvl=info msg="Using data dir" log_id=0xFDDvu0000 service=store path=/var/lib/influxdb/data
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.289604Z lvl=info msg="Compaction settings" log_id=0xFDDvu0000 service=store max_concurrent_compactions=10 throughput_bytes_per_second=50331648 throughput_burst_bytes=50331648
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.289608Z lvl=info msg="Open store (start)" log_id=0xFDDvu0000 service=store trace_id=0xFDDvxG001 op_name=tsdb_open op_event=start
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.290198Z lvl=info msg="Reading file" log_id=0xFDDvu0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/4/_00001.wal size=10488225
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.290624Z lvl=info msg="Opened file" log_id=0xFDDvu0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/2/000000001-000000001.tsm id=0 duration=0.394ms
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.291335Z lvl=info msg="Opened file" log_id=0xFDDvu0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/1/000000001-000000001.tsm id=0 duration=0.411ms
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.291434Z lvl=info msg="Opened file" log_id=0xFDDvu0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/3/000000002-000000002.tsm id=0 duration=0.074ms
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.539335Z lvl=info msg="Reading file" log_id=0xFDDvu0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/4/_00002.wal size=7232837
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.712631Z lvl=info msg="Opened shard" log_id=0xFDDvu0000 service=store trace_id=0xFDDvxG001 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/2 duration=422.728ms
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.712670Z lvl=info msg="Opened shard" log_id=0xFDDvu0000 service=store trace_id=0xFDDvxG001 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/1 duration=422.721ms
            čen 20 12:15:30 fs influxd[728254]: ts=2025-06-20T10:15:30.800281Z lvl=info msg="Opened shard" log_id=0xFDDvu0000 service=store trace_id=0xFDDvxG001 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/3 duration=509.992ms
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088229Z lvl=info msg="Opened shard" log_id=0xFDDvu0000 service=store trace_id=0xFDDvxG001 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/4 duration=798.332ms
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088372Z lvl=info msg="Open store (end)" log_id=0xFDDvu0000 service=store trace_id=0xFDDvxG001 op_name=tsdb_open op_event=end op_elapsed=798.763ms
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088393Z lvl=info msg="Opened service" log_id=0xFDDvu0000 service=subscriber
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088397Z lvl=info msg="Starting monitor service" log_id=0xFDDvu0000 service=monitor
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088400Z lvl=info msg="Registered diagnostics client" log_id=0xFDDvu0000 service=monitor name=build
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088403Z lvl=info msg="Registered diagnostics client" log_id=0xFDDvu0000 service=monitor name=runtime
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088408Z lvl=info msg="Registered diagnostics client" log_id=0xFDDvu0000 service=monitor name=network
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088411Z lvl=info msg="Registered diagnostics client" log_id=0xFDDvu0000 service=monitor name=system
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088430Z lvl=info msg="Starting precreation service" log_id=0xFDDvu0000 service=shard-precreation check_interval=10m advance_period=30m
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088435Z lvl=info msg="Starting snapshot service" log_id=0xFDDvu0000 service=snapshot
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088440Z lvl=info msg="Starting continuous query service" log_id=0xFDDvu0000 service=continuous_querier
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088448Z lvl=info msg="Starting HTTP service" log_id=0xFDDvu0000 service=httpd authentication=false
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088451Z lvl=info msg="opened HTTP access log" log_id=0xFDDvu0000 service=httpd path=stderr
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088452Z lvl=info msg="Storing statistics" log_id=0xFDDvu0000 service=monitor db_instance=_internal db_rp=monitor interval=10s
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088488Z lvl=info msg="Listening on HTTP" log_id=0xFDDvu0000 service=httpd addr=192.168.1.102:8086 https=false
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088496Z lvl=info msg="Starting retention policy enforcement service" log_id=0xFDDvu0000 service=retention check_interval=30m
            čen 20 12:15:31 fs influxd[728254]: ts=2025-06-20T10:15:31.088530Z lvl=info msg="Listening for signals" log_id=0xFDDvu0000
            čen 20 12:15:34 fs influxd[728254]: [httpd] 192.168.1.102 - - [20/Jun/2025:12:15:34 +0200] "GET /ping HTTP/1.1" 204 0 "-" "influxdb-client-go/2.12.2 (linux; amd64) MyController.org" 80c1dc67-4dbf-11f0-8001-000000000000 14
            
            jkandasaJ 1 Reply Last reply Reply Quote 0
            • jkandasaJ Offline
              jkandasa @janjanson
              last edited by jkandasa

              @janjanson Please update the influxdb to 1.8.x version. Some of the query features may not be available in 1.6.x as a result MyController tries with influxdb v2 version client.

              Add the query_client_version: v1 in influxdb config on mycontroller.yaml, that should force to use v1 influxdb client in MyController.

              database:
              ...
                metric:
                  disabled: false
                  type: influxdb
                  ...
                  query_client_version: v1
              

              It may work on influxdb 1.6.x, still if you see the error, you have to upgrade your influxdb to 1.8.x or 2.x

              jkandasaJ 1 Reply Last reply Reply Quote 0
              • jkandasaJ Offline
                jkandasa @jkandasa
                last edited by

                also please take the latest MyController version. yet to be released, but it has lot of changes
                https://github.com/mycontroller-org/server/releases/tag/development

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                1

                Online

                608

                Users

                531

                Topics

                3.4k

                Posts
                Copyright © 2015-2025 MyController.org | Contributors | Localization