Skip to content

influxdb Configuration file can't be edited with nano inside of influxdb container #255

@kkoletz

Description

@kkoletz

Hi everyone,

I've tried to setup my influxdb database and it's rights in order to use it with grafana and iobroker.
Now the admin and user account setup is working fine, also creating the database is fine.
Now I want to edit the influxdb config file to be able to access the newly created database, in my case called "iobroker" and also to set correctly the https certificates.
[http]
enabled = true
bind-address = ":8086"
auth-enabled = true
log-enabled = true
write-tracing = false
pprof-enabled = false
https-enabled = false
https-certificate = "/etc/ssl/influxdb.pem"

I want to edit the influxdb.conf file and it says that nano command not found.
How can I open the influxdb.conf file?
In case of IOTstack folder structure, in which directory is the influxdb.pem file?

root@3ddf65d363f3:~# cd /etc/influxdb/
root@3ddf65d363f3:/etc/influxdb# nano influxdb.conf
bash: nano: command not found
root@3ddf65d363f3:/etc/influxdb# ls
influxdb.conf
root@3ddf65d363f3:/etc/influxdb#

Unfortunately I could not find a proper documentation for this issue so all my hopes are on this wonderful community.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions