influxdata / influxdata/kapacitor

seems like Kapasitor can't run on windows while using path to a config file

Open
#2,030 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

I'm trying to run kapacitor on widows like this:
C:\kapacitor-1.5.1-1>C:\kapacitor-1.5.1-1\kapacitord.exe -config C:\kapacitor-1.
5.1-1\kapacitor.conf

I get an error:
2018/08/19 13:51:56 Using configuration at: C:\kapacitor-1.5.1-1\kapacitor.conf
run: create server: invalid configuration: dir must be an absolute path. To gene
rate a valid configuration file run `kapacitord config > kapacitor.generated.con
f`.

I've tried all kind of option with "" under different path etc.
This kinda blocks me from running Kapcitor with an influx node that has authentication enabled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows command with kapacitord.exe and the supplied kapacitor.conf, then inspect the config command and the validation that reports “dir must be an absolute path.” Done means Kapacitor starts successfully on Windows with a configuration file path and authenticated InfluxDB setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.