Wants to Update Grafana V5.4 to V6.0.2, As I'm using Icinga+Grafana+influxdb

Hi team ,
Could you please help me to provide proper steps to update Grafana V5.4 to Grafana V6.0.
Im using Linux server , In same server installed Grafana+influxdb and icinga

Hi,

You can upgrade Grafana however upgrades are done in the packaging system that used to install it. Any needed database migrations will run when you start the new version. You might want to take a backup of your database first in case something goes wrong; it’s unlikely but not impossible.

Not able to login grafana after upgraded to grafana V6.0 from V5.4,
Kindly help to provide the solution without losing previous dashboard and data.

How did you install & upgrade Grafana?

yum install grafana-6.0.2-1.x86_64.rpm

yum install grafana-6.0.2-1.x86_64.rpm
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining grafana-6.0.2-1.x86_64.rpm: grafana-6.0.2-1.x86_64
Marking grafana-6.0.2-1.x86_64.rpm as an update to grafana-5.4.2-1.x86_64
Resolving Dependencies
–> Running transaction check
—> Package grafana.x86_64 0:5.4.2-1 will be updated
—> Package grafana.x86_64 0:6.0.2-1 will be an update
–> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
Package Arch Version Repository Size

Updating:
grafana x86_64 6.0.2-1 /grafana-6.0.2-1.x86_64 154 M

Transaction Summary

Upgrade 1 Package

Total size: 154 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : grafana-6.0.2-1.x86_64 1/2
Cleanup : grafana-5.4.2-1.x86_64 2/2
POSTTRANS: Running script
Verifying : grafana-6.0.2-1.x86_64 1/2
Verifying : grafana-5.4.2-1.x86_64 2/2

Updated:
grafana.x86_64 0:6.0.2-1

after updating I have changed the password by below steps.
sudo sqlite3 /var/lib/grafana/grafana.db
sqlite> update user set password = ‘59acf18b94d7eb0694c61e60ce44c110c7a683ac6a8f09580d626f90f4a242000746579358d77dd9e570e83fa24faa88a8a6’, salt = ‘F3FAxVm33R’ where login = ‘admin’;

sqlite> .exit

try to reset the new password getting unauthorized error .

Not sure what happened there, upgrading should not have changed your password. Have you tried resetting the password with the cli?

You will have to setup a symbolic link for the data folder to workaround a bug with the cli, but after that it is easy to use. See below:

sudo ln -s /var/lib/grafana /usr/share/grafana/data
sudo grafana-cli admin reset-admin-password --config /etc/grafana/grafana.ini --homepath /usr/share/grafana "your password"