# Newly installed grafana v6.7.2 (423a25fc32) on ubuntu unauthorised to change default password

**URL:** <https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192>\
**Category:** General\
**Created:** [April 5, 2020, 2:10pm UTC](https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192 "2020-04-05T14:10:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![niceguysan](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@niceguysan](https://community.grafana.com/u/niceguysan)\
**Post date:** [April 5, 2020, 2:10pm UTC](https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192/1 "2020-04-05T14:10:19Z")

</div>

I have freshly installed grafana \* v6.7.2 (423a25fc32) on ubuntu, on default first login when I try to change admin password it says error Unauthorised.

`sudo cat /var/log/grafana/grafana.log`

I checked the log and I noticed this:

> t=2020-04-05T15:15:59+0100 lvl=info msg=“Successful Login” logger=http.server User=admin@localhost  
> t=2020-04-05T15:16:11+0100 lvl=info msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=PUT path=/api/user/password status=401 remote\_addr=192.168.5.10 time\_ms=0 size=26 referer=[http://192.168.5.18:3000/login](http://192.168.5.18:3000/login)

**what would cause status=401 ?**

---

<div class="post-metadata">

**Author:** ![daniellee](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/daniellee/32/41_2.png) [@daniellee](https://community.grafana.com/u/daniellee)\
**Post date:** [April 14, 2020, 8:23pm UTC](https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192/2 "2020-04-14T20:23:50Z")

</div>

Which installation method did you use to install Grafana?

Did you manage to log in successfully first and then you got an error on this screen?

 ![image](https://us1.discourse-cdn.com/grafana/original/2X/6/670f7f4d2d41823a406f2e710f5fb30abe22d58f.png)

---

<div class="post-metadata">

**Author:** ![natrbrazell](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@natrbrazell](https://community.grafana.com/u/natrbrazell)\
**Post date:** [April 17, 2020, 6:09pm UTC](https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192/3 "2020-04-17T18:09:27Z")

</div>

That’s where it’s happening to me.

---

<div class="post-metadata">

**Author:** ![ekoleponen](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ekoleponen/32/10678_2.png) [@ekoleponen](https://community.grafana.com/u/ekoleponen)\
**Post date:** [May 6, 2020, 1:01pm UTC](https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192/4 "2020-05-06T13:01:56Z")

</div>

Hello,

I have this same problem

My firmware:  
Raspberry Pi 3B+  
Openplotter 1.2.0

Done so far:  
followed the commands in the page: [grafana.com/grafana/download?platform=arm](http://grafana.com/grafana/download?platform=arm)  
used "Ubuntu and Debian (Armv7)

Downloading grafana\_6.7.3\_armhf.deb and installation seemed to pass ok.

I knew that SignalK-server uses port 3000 (comes with the Openplotter),  
therefore I changed the line in the file “/etc/grafana/grafana.ini” from “;http = 3000” to “http = 3030”.

Started Chromium-browser and used address “localhost:3030”, login page loaded ok, used admin-admin to log in, which was ok.

Then I tried to change the password, pressing “save” generated a red rectangle with the text “Unauthorized”. Pressing “Skip” throws me back to first login page, and by using admin-admin again I get the change password page and so on…

Any ideas ??

I have not yet made grafana-server to start automatically on boot.

wbr Eko

---

<div class="post-metadata">

**Author:** ![avin](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@avin](https://community.grafana.com/u/avin)\
**Post date:** [May 18, 2020, 3:47pm UTC](https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192/5 "2020-05-18T15:47:29Z")

</div>

@Eko: By any chance did you tried with a different browser other than Chrome. If not I would suggest you to do that. Try logging in with IE or Edge. You should be able to change the password as well as can login to the home page.

-Avin

---

<div class="post-metadata">

**Author:** ![ekoleponen](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ekoleponen/32/10678_2.png) [@ekoleponen](https://community.grafana.com/u/ekoleponen)\
**Post date:** [May 20, 2020, 7:15am UTC](https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192/6 "2020-05-20T07:15:29Z")

</div>

Hello Avin,

I did download and install Firefox, but it suffered the same login-problem.

Rainerw suggested older grafana version and 6.6.2 works now fine for me.

Eko

---

<div class="post-metadata">

**Author:** ![niceguysan](https://avatars.discourse-cdn.com/v4/letter/n/9fc29f/32.png) [@niceguysan](https://community.grafana.com/u/niceguysan)\
**Post date:** [August 1, 2020, 5:36pm UTC](https://community.grafana.com/t/newly-installed-grafana-v6-7-2-423a25fc32-on-ubuntu-unauthorised-to-change-default-password/28192/7 "2020-08-01T17:36:21Z")

</div>

@avin is right, I reopened in google chrome and it worked. Thank you. (y)
