Goodmorning everyone!
I am new here and in fact I am writing here because I have done a lot of trouble !
I have installed Influxdb OSS on my Mac and I did a test of PC resource monitoring (with token and Telegraf) but I didn’t see any variation in the monitoring (Cpu, disk were straight lines). Another thing is that i could not access to Influx CLI.
Therefore:
-I uninstalled and tried to delete all files concerning influx because I thought there was some problem in the installation (and then I do not re-enter Influx CLI) and I reinstall it with brew and manually.
-I made a big mistake, I deleted the user, because I thought that by deleting it I would delete everything… but no!
So, now I find myself unable to access anymore and with active tokens/connections (port 8086 occupied) and I cannot deactivate them.
If you just need to stop the influxdb process and it was started with homebrew, you can do brew services stop influxdb. You mentioned that port 8086 was occuped - so if it’s from influxdb running in the background as a homebrew service, that should stop it.
As far as deleting the data files & configuration for influx/influxdb, I believe the default location for mac/homebrew is /usr/local/var/lib/influxdb2/, so if you wanted to delete everything about influx/influxdb, you should delete all the files in that directory.