Hi Jan, The "unable to parse Basic Auth credentials" error indicates that auth is still enabled. Can you confirm whether the following line shows up in the logs when the influxd process starts up?
[httpd] 2016/07/27 11:58:36 Authentication enabled: false On Wed, Jul 27, 2016 at 3:02 AM, Jan Pechek <ho...@pechek.cz> wrote: > Sorry for delay, here it is. After auth-enabled is set to false and > influxd process is restarted, i am getting this: > > # influx >> Visit https://enterprise.influxdata.com to register for updates, >> InfluxDB server management, and monitoring. >> Connected to http://localhost:8086 version 0.13.0 >> InfluxDB shell version: 0.13.0 >> >>> show databases; >>> >> ERR: unable to parse Basic Auth credentials >> Warning: It is possible this error is due to not setting a database. >> Please set a database with the command "use <database>". >> >>> CREATE USER newadmin WITH PASSWORD 'secret' WITH ALL PRIVILEGES; >>> >> ERR: unable to parse Basic Auth credentials >> Warning: It is possible this error is due to not setting a database. >> Please set a database with the command "use <database>". >> > > Thank you. > > JP > > > On 18/07/16 06:44, Sean Beckett wrote: > >> Can you copy and paste those errors? >> >> On Sat, Jul 16, 2016 at 4:10 AM, Jan Pechek <ho...@pechek.cz> wrote: >> >> I tried this before, after disabling authentication and restarting the >>> process i still getting errors about missing privileges if i want >>> create/update user. >>> >>> >>> >>> >>> On 15/07/16 22:50, Sean Beckett wrote: >>> >>> I think the simplest method would be to disable authentication in the >>>> config file. You can then restart the process, connect via the CLI, and >>>> create whatever new admin user you need. Then re-enable auth and bounce >>>> the >>>> process again. I haven't tested this recently, so let us know if there >>>> are >>>> issues. >>>> >>>> >>>> On Fri, Jul 15, 2016 at 1:49 PM, <ho...@pechek.cz> wrote: >>>> >>>> Hello, >>>> >>>>> few months ago i installed influxdb and (propably?) created user with >>>>> admin privileges. But i forgott password a now i have only read-only >>>>> user. >>>>> Is there way how to reset root password? Thanks! >>>>> >>>>> -- >>>>> Remember to include the InfluxDB version number with all issue reports >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups >>>>> "InfluxDB" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an >>>>> email to influxdb+unsubscr...@googlegroups.com. >>>>> To post to this group, send email to influxdb@googlegroups.com. >>>>> Visit this group at https://groups.google.com/group/influxdb. >>>>> To view this discussion on the web visit >>>>> >>>>> >>>>> https://groups.google.com/d/msgid/influxdb/080ebdac-47a8-4d4f-b246-06ab716ba02f%40googlegroups.com >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>> Remember to include the InfluxDB version number with all issue reports >>> --- You received this message because you are subscribed to the Google >>> Groups "InfluxDB" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to influxdb+unsubscr...@googlegroups.com. >>> To post to this group, send email to influxdb@googlegroups.com. >>> Visit this group at https://groups.google.com/group/influxdb. >>> To view this discussion on the web visit >>> >>> https://groups.google.com/d/msgid/influxdb/96e6dd1c-d0f1-91ce-50f5-a5d9b8fd4c7f%40pechek.cz >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >> >> >> > -- > Remember to include the InfluxDB version number with all issue reports > --- You received this message because you are subscribed to the Google > Groups "InfluxDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to influxdb+unsubscr...@googlegroups.com. > To post to this group, send email to influxdb@googlegroups.com. > Visit this group at https://groups.google.com/group/influxdb. > To view this discussion on the web visit > https://groups.google.com/d/msgid/influxdb/603afbe1-4516-4495-5f18-d6bf3fd3a149%40pechek.cz > . > > For more options, visit https://groups.google.com/d/optout. > -- Gunnar Aasen InfluxDB -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+unsubscr...@googlegroups.com. To post to this group, send email to influxdb@googlegroups.com. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAJZX7zMr-YMjSHOzVk9p52%2B8HJ5AD41mA5rWC34ZmxHZ2_8etg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.