# Unable to access admin ui again after initial install - influxdb2

**URL:** <https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352>\
**Category:** InfluxDB 2\
**Tags:** influxdb\
**Created:** [April 11, 2021, 1:17pm UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352 "2021-04-11T13:17:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![urmel1960](https://avatars.discourse-cdn.com/v4/letter/u/ecd19e/32.png) [@urmel1960](https://community.influxdata.com/u/urmel1960)\
**Post date:** [April 11, 2021, 1:17pm UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352/1 "2021-04-11T13:17:55Z")

</div>

Hi there  
I installed influxdb2 OSS on my ubuntu 20.04 server. as written in documenation I entered the ui under  
[http://ipaddress:8086](http://ipaddress:8086) in my browser and was redirected to the onboarding page to setup the first user password, organization and so on. This went like a charme - no problems.

When logged out after this initial onboarding activity there is no way to get back again in that admin ui.  
The login page appears asking for username and password. Providing both properly leads always to a red box in the upper right corner telling “could not sign in”.

on server the log says

> Apr 11 15:10:46 lvl=info msg=Unauthorized log\_id=0TSG6pk0000 error=“token required”  
> Apr 11 15:10:46 lvl=error msg=“api error encountered” log\_id=0TSG6pk0000 handler=session error=“unauthorized access”

any help is highly appreciated  
Regards

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [April 12, 2021, 6:12pm UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352/2 "2021-04-12T18:12:13Z")

</div>

Hello @urmel1960,

That’s strange. Do you have a token?  
Are you able to execute a cURL successfully?  
Have you tried setting it up again through the CLI?

> **[Get started with InfluxDB | InfluxDB OSS 2.6 Documentation](https://docs.influxdata.com/influxdb/v2.0/get-started/?t=CLI%2BSetup)**
>
> Start collecting, querying, processing, and visualizing data in InfluxDB OSS.

---

<div class="post-metadata">

**Author:** ![urmel1960](https://avatars.discourse-cdn.com/v4/letter/u/ecd19e/32.png) [@urmel1960](https://community.influxdata.com/u/urmel1960)\
**Post date:** [April 13, 2021, 6:48am UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352/3 "2021-04-13T06:48:47Z")

</div>

Hello @Anaisdg

Unbelievable 🙂 That way around worked.

When I do the first setup in the UI then I am not able to log in again after first logout - as described  
When I do first setup via CLI then I can logout and login again as expected. Strange - maybe worth to amend documentation ?

Now I got a config file in roots homedir `/root/.influxdbv2/config` containing entries for url, token, org and active flag.  
As the install is as systemd service on ubuntu server 20.04 I would have expected that kind of configuration in `/etc/influxdb` ??

I could not find anything about this in the documentation ?

Any advise where to look ?

Thanks

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [April 13, 2021, 4:05pm UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352/4 "2021-04-13T16:05:43Z")

</div>

Hello @urmel1960,  
Honestly that behavior is strange. You should be able to log in again after first logout through the UI. Consider filing an issue?

---

<div class="post-metadata">

**Author:** ![urmel1960](https://avatars.discourse-cdn.com/v4/letter/u/ecd19e/32.png) [@urmel1960](https://community.influxdata.com/u/urmel1960)\
**Post date:** [April 13, 2021, 5:17pm UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352/5 "2021-04-13T17:17:42Z")

</div>

Yes I can do this - any idea where to go for filing an issue ?I visited [support.influxdb.com](http://support.influxdb.com) but my credentials for the community I am not able to log in …

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [April 13, 2021, 7:02pm UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352/6 "2021-04-13T19:02:46Z")

</div>

> **[Issues · influxdata/ui](https://github.com/influxdata/ui/issues)**
>
> UI for InfluxDB. Contribute to influxdata/ui development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Deeps](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/deeps/32/8976_2.png) [@Deeps](https://community.influxdata.com/u/Deeps)\
**Post date:** [December 13, 2021, 2:22am UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352/7 "2021-12-13T02:22:54Z")

</div>

Hi, I have a similar issue too with influxdb2. The User account I created during the initial setup seem to have worked for a day. When I try to login again the following day, I keep seeing the ‘could not sign’ message even with the right credentials.

I wiped out influxdb2 and set it up from scratch again, but ended up having the same issue after a day. I am on windows 10 /Influxdb V2.0.9.

As suggested in one of the responses above, when I try to create a new user via CLI, I get unauthorized error access.

Any solution/workaround is appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![GayChin](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/gaychin/32/13942_2.png) [@GayChin](https://community.influxdata.com/u/GayChin)\
**Post date:** [July 23, 2023, 3:07am UTC](https://community.influxdata.com/t/unable-to-access-admin-ui-again-after-initial-install-influxdb2/19352/8 "2023-07-23T03:07:11Z")

</div>

For our case, we were not prompted with “Get Started” to setup our initial setup. For my case, I solved it by deleting the “.influxdbv2” folder inside my user folder. I think the reason is my previous authentication data is kept in the folder, and influxdb assume I have already setup my account.
