-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kapacitor config doesn't work without prevoius config in beta #628
Comments
Try renaming your current config (in /etc/kapacitor/) and then regenerating it. |
@theist You are correct that the existence of a config should not matter when generating a new default config. I copy pasted your steps in a fresh ubuntu install and was able to successfully create a default config. Could something else be going on? |
Yeah! @nathanielc You are right ... moving / creating files I created the kapacitor.conf file empty. It seems that the unix stdout redirection creates the file before kapacitor reads it an it fails when there's an empty file and not if there's no file, and this can happen or not depends on events speed. look (inside a docker container, ubuntu 14.04, kapacitor beta 1.0.0)
So it seems that Now maybe it can be considered a feature :) sorry for the noise |
@theist You are correct bash will truncate a file before output is redirected there. So specifically running I think we should change the |
OS ubuntu 16.04 64 bits
kapacitor kapacitor_1.0.0~beta1_amd64 deb package
steps to reproduce:
So kapacitor can not generate a config if there's no previous config. I expected that kapacitor was able to generate a config regardless if there's a previous config or not, like the "solve" message suggest
The text was updated successfully, but these errors were encountered: