chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Chronograf panics on permission denied of bolt db, should log and exit

Open nhaugo opened this issue 10 years ago • 2 comments

nhaugo avatar Nov 07 '16 22:11 nhaugo

There's a log entry written before the backtrace:

PANI[0000] Unable to open boltdb; is there a chronograf already running?open chronograf.db: permission denied  component=boltstore

Go also sets the status code to ENOENT which seems to be good behavior from what I've read. In that case should we just suppress the backtrace here?

timraymond avatar Nov 08 '16 01:11 timraymond

Perhaps logger.Fatal

On Nov 7, 2016, at 7:32 PM, Timothy J. Raymond [email protected] wrote:

There's a log entry written before the backtrace:

PANI[0000] Unable to open boltdb; is there a chronograf already running?open chronograf.db: permission denied component=boltstore Go also sets the status code to ENOENT which seems to be good behavior from what I've read. In that case should we just suppress the backtrace here?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

goller avatar Nov 08 '16 01:11 goller