-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
InfluxDB error #521
Labels
bug
Something isn't working
Milestone
Comments
the problem was that user "influxdb" and the group "influxdb" was missing.. I have no idea, why the "apt-get" command did not created them during installation of the influxdb.deb package... HTH, best |
Thanks for reporting and identified the issue. It's strange that the user and group aren't created. |
EliasGabrielsson
added a commit
to EliasGabrielsson/openhabian
that referenced
this issue
Mar 20, 2019
* Restructure to individual file to make test handling clear * Update Grafana repository, closes openhab#437, openhab#538 * Added simple test cases for installation of Grafana and InfluxDB, closes #openhab#521 Signed-off-by: Elias Gabrielsson <[email protected]>
EliasGabrielsson
added a commit
to EliasGabrielsson/openhabian
that referenced
this issue
Apr 2, 2019
* Restructure to individual file to make test handling clear * Update Grafana repository, closes openhab#437, openhab#538 * Added simple test cases for installation of Grafana and InfluxDB, closes #openhab#521 Signed-off-by: Elias Gabrielsson <[email protected]>
EliasGabrielsson
added a commit
that referenced
this issue
Apr 3, 2019
* Restructure to individual file to make test handling clear * Update Grafana repository, closes #437, #538 * Added simple test cases for installation of Grafana and InfluxDB, closes ##521 Signed-off-by: Elias Gabrielsson <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi,
I always get these error when installing influxDB and Grafana on a RPI3 with openhabian-config - Grafana Install works but I can't start influxDB manually... any ideas? thx
$ apt -y install influxdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
influxdb
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.0 MB of archives.
After this operation, 93.2 MB of additional disk space will be used.
Get:1 https://repos.influxdata.com/debian stretch/stable armhf influxdb armhf 1.7.2-1 [43.0 MB]
Fetched 43.0 MB in 6s (6,717 kB/s)
Selecting previously unselected package influxdb.
(Reading database ... 46257 files and directories currently installed.)
Preparing to unpack .../influxdb_1.7.2-1_armhf.deb ...
Unpacking influxdb (1.7.2-1) ...
Setting up influxdb (1.7.2-1) ...
chown: invalid group: ‘influxdb:influxdb’
chown: invalid group: ‘influxdb:influxdb’
Processing triggers for man-db (2.7.6.1-2) ...
Updating FireMotD available updates count ...
$ systemctl daemon-reload
$ systemctl enable influxdb.service
$ systemctl restart influxdb.service
OK Configure InfluxDB admin account... curl: (7) Failed to connect to localhost port 8086: Connection refused
FAILED Configure listen on localhost only...
$ sed -i -e /^# Determines whether HTTP endpoint is enabled./ { n ; s/^# enabled = true/enabled = true/ } /etc/influxdb/influxdb.conf
$ sed -i s/# bind-address = ":8086"/bind-address = "localhost:8086"/g /etc/influxdb/influxdb.conf
$ sed -i s/# auth-enabled = false/auth-enabled = true/g /etc/influxdb/influxdb.conf
$ systemctl restart influxdb.service
FAILED
Setup of inital influxdb database and InfluxDB users... curl: (7) Failed to connect to localhost port 8086: Connection refused
curl: (7) Failed to connect to localhost port 8086: Connection refused
curl: (7) Failed to connect to localhost port 8086: Connection refused
curl: (7) Failed to connect to localhost port 8086: Connection refused
curl: (7) Failed to connect to localhost port 8086: Connection refused
The text was updated successfully, but these errors were encountered: