Giter Site home page Giter Site logo

Comments (7)

deweller avatar deweller commented on July 18, 2024

I was able to workaround this by setting the BOLT_PATH environment variable to "/var/lib/chronograf/chronograf-v1-.db".

Was the default changed?

from influxdata-docker.

mcfedr avatar mcfedr commented on July 18, 2024

Seems the default wasnt set, and the file is stored as /chronograf-v1.db

I'm having this issue using the non alpine image

from influxdata-docker.

goller avatar goller commented on July 18, 2024

Hi @deweller , @mcfedr, thanks for writing in!

The workaround to set BOLT_PATH to /var/lib/chronograf and mount a host directory to /var/lib/chronograf is the way to do this now.

I'm thinking changing the default BOLT_PATH to /var/lib/chronograf is the way to go. What do you think?

from influxdata-docker.

deweller avatar deweller commented on July 18, 2024

Changing the BOLT_PATH default to /var/lib/chronograf makes sense to me. That would be consistent with the docker image documentation.

from influxdata-docker.

mcfedr avatar mcfedr commented on July 18, 2024

from influxdata-docker.

n0madic avatar n0madic commented on July 18, 2024

Since by default the chronograf creates a BoltDB base in the current directory, you just need to add it to the Dockerfile:
WORKDIR /var/lib/chronograf

from influxdata-docker.

jsternberg avatar jsternberg commented on July 18, 2024

@goller does the environment variable or the command line option take priority? I would say add it as an environment variable if the command line option takes priority and add it as a command line option if the environment variable takes priority (lowest priority is where we want to put it).

We'll have a fix for this uploaded by tomorrow. For now, just set the BOLT_PATH environment variable manually.

from influxdata-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.