Installing Influx DB on Windows server stucks

Hello guys im totatly new to influxdb.

Im trying to install influx db 1.8.0 on windows server which has no internet connection.

when i run influxd.exe its stucks on “sending usage statics to usage.influxdata.com

chaging reporting-disabled = true on config file didnt help :frowning: its still stucks at same step

any advice?

Hello guys,

its seems like ifnluxd is not reading my config file, its generating data-meta-wal files under C:\user.influxdb… its strange because im changed directory folders to another path.

when i run influxd its always running with default config file, its not reading my edited file. Its seems thats why its still trying to send usage info to usage.dataflux.com

how can i make sure its installing with my edited config file?

can you share your conf file?
What did you do to run influxd ? is it running as a service?

Hello Giovanni

thanks for you reply, here is the configs. i just running influxd.exe from cmd (with admin privs)

### 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 = true

# Bind address to use for the RPC service for backup and restore.
# bind-address = "127.0.0.1:8088"

###
### [meta]
###
### Controls the parameters for the Raft consensus group that stores metadata
### about the InfluxDB cluster.
###

[meta]
  # Where the metadata/raft database is stored
  dir = "C:\Program Files\influxdb\meta"

  # Automatically create a default retention policy when creating a database.
  # retention-autocreate = true

  # If log messages are printed for the meta service
  # logging-enabled = true

###
### [data]
###
### Controls where the actual shard data for InfluxDB lives and how it is
### flushed from the WAL. "dir" may need to be changed to a suitable place
### for your system, but the WAL settings are an advanced configuration. The
### defaults should work for most systems.
###

[data]
  # The directory where the TSM storage engine stores TSM files.
  dir = "C:\Program Files\influxdb\data"

  # The directory where the TSM storage engine stores WAL files.
  wal-dir = "C:\Program Files\influxdb\wal"

rest is same as default conf.

Sorry for the delay
I expect this config file to give you an error if used, in fact in toml some chars must be escaped (ie: “\”)

Wrong

[meta]
  # Where the metadata/raft database is stored
  dir = "C:\Program Files\influxdb\meta"

Correct (double quotes and escaped “\”)

[meta]
  # Where the metadata/raft database is stored
  dir = "C:\\Program Files\\influxdb\\meta"

Correct (single quotes, no escape needed)

[meta]
  # Where the metadata/raft database is stored
  dir = 'C:\Program Files\influxdb\meta'

About the configuration not being used, you have to specify it as a parameter of the executable

influxd.exe -config "__PathToConfig.conf__"

note that if you run influxdb as a service using nssm the path to the configuration file must be the absolute path

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.