influxdata / influxdata/ui

Unable to create a 'fresh install' service

Open
#6,595 0 comments 0 reactions 0 assignees View on GitHub
kind/bug team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

I'm trying to install InfluxDB as a service using nssm.exe as follows:

1) Start command prompt as administrator and run `nssm install`
2) In Path navigate to my Windows 10 unzipped `influxd.exe` file and name the service `influxdb`
3) run `nssm start influxdb` to start it up

This works as intended when I first do it on a clean machine. I can go through the get started guide and create my username, password etc. The next time I open localhost:8086 I am asked to login with the username/password I created, which is fine.

However, now I want to 'start from fresh' and replicate the above process, incl. getting to set my new username and password. When I previously did the above steps without creating a service (but rather via manually running the influxd.exe via the command line), the config file for influxdb was created in below path: `C:\Users\` and I could delete the folder `.influxdbv2` to start over.

However, with the services approach, that folder does not seem to be added anymore - and as a result I am also not able to create a fresh start by deleting it. I guess the issue is that when installing as Administrator, the equivalent folder is stored somewhere else - but I am not sure where?

I realize I might be able to modify the username/password etc via the influxdb CLI - but I am trying to define a process that can be followed by non-technical readers, hence the CLI is not ideal.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.