# Help with updating from 2.6

**URL:** <https://community.grafana.com/t/help-with-updating-from-2-6/1445>\
**Category:** Installation\
**Created:** [June 20, 2017, 11:58am UTC](https://community.grafana.com/t/help-with-updating-from-2-6/1445 "2017-06-20T11:58:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abovebeyond](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@abovebeyond](https://community.grafana.com/u/abovebeyond)\
**Post date:** [June 20, 2017, 11:58am UTC](https://community.grafana.com/t/help-with-updating-from-2-6/1445/1 "2017-06-20T11:58:30Z")

</div>

Hi all,

I’m trying to upgrade Grafana2.6 to 4.x. so for the safe side i started to upgrade to 3.x

Running Centos, upgrading using Yum.

output:  
Running Transaction  
Updating : grafana-3.0.4-1464167696.x86\_64 1/2  
Cleanup : grafana-2.6.0-1.x86\_64 2/2  
Verifying : grafana-3.0.4-1464167696.x86\_64 1/2  
Verifying : grafana-2.6.0-1.x86\_64 2/2

```
Updated:
  grafana.x86_64 0:3.0.4-1464167696

Complete!
[root@ ~]# sudo service grafana-server start
Starting Grafana Server: .... OK

```

No web page is laoding under port 3000.

I checked what the process running using: " ps -auxwe " and it seems that the config file is under:  
`/usr/sbin/grafana-server --pidfile=/var/run/grafana-server.pid --config=/etc/grafana/grafana.ini`

I checked the Grafana.ini and it seems that it is the sample file and not the original one.

what can i do to solve it?

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [June 20, 2017, 12:33pm UTC](https://community.grafana.com/t/help-with-updating-from-2-6/1445/2 "2017-06-20T12:33:21Z")

</div>

> [@abovebeyond](#):
>
> I checked the Grafana.ini and it seems that it is the sample file and not the original one.

What do you mean it’s not the original one? Did you loose your settings? Did you answer Yes/No to the question during upgrade wether to overwrite the config file (default and recommended action is no).

Try restarting after upgrade:  
sudo service grafana-server restart

---

<div class="post-metadata">

**Author:** ![abovebeyond](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@abovebeyond](https://community.grafana.com/u/abovebeyond)\
**Post date:** [June 20, 2017, 1:31pm UTC](https://community.grafana.com/t/help-with-updating-from-2-6/1445/3 "2017-06-20T13:31:07Z")

</div>

> [@torkel](#):
>
> sudo service grafana-server restart

Hi Torkel,  
Now i can access the server only with local ip 192.168.0.1:3000 and not from any browser exmaple: [myserver.com:3000](http://myserver.com:3000)  
so it seems that it overwrite my settings. (Grafana didnt asked me about overwriting).

---

<div class="post-metadata">

**Author:** ![torkel](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/torkel/32/20_2.png) [@torkel](https://community.grafana.com/u/torkel)\
**Post date:** [June 20, 2017, 1:32pm UTC](https://community.grafana.com/t/help-with-updating-from-2-6/1445/4 "2017-06-20T13:32:41Z")

</div>

maybe a firewall issue?

The rpm upgrade never overwrite the config unless asked first, no reported instance of it happening so very strange.

---

<div class="post-metadata">

**Author:** ![abovebeyond](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@abovebeyond](https://community.grafana.com/u/abovebeyond)\
**Post date:** [June 20, 2017, 1:38pm UTC](https://community.grafana.com/t/help-with-updating-from-2-6/1445/5 "2017-06-20T13:38:51Z")

</div>

i think it was IPTABLES issues, strange…  
ok it seems to work now

Thanks anyway torkel !
