Grafana not running after upgrade 13.0.1+security-01

I have been using and upgrading GRAFANA for many years now on a windows PC.

I recently decided to upgrade to 13.0.1+security-01 and went through the usual upgrade process which involves stopping the Grafana Windows Service via the services facility.

The upgrade went as expected, as usual, and after rebooting and the windows services automatically was reinstated.

I then went to my chrome browser only to get a This site cannot be reached as it refuses to connect?

I then went to the log which reported that the sqlite3 database was locked and could not be migrated.

Thus I currently sit in limbo unable to run GRAFANA?

I am sure this is not a new issue but try as I may I am unable to find and resolution hence this post to seek some wise words of asssitance and possible resoltuion

Many thanks in advance

Try this

  1. Stop grafana windows service
  2. Open command window or powershell
  3. CD - change directory into the bin folder of grafana
  4. Then run grafana.exe or grafana-server.exe

Please post error(s)

Thank you. Did as you said and ran grafana server.

After a long while I got

So there is still a migration error and when I start the service and run from browser I still get cannot connect error.

Since the service failed to start no need to go to browser

Ok what version did you upgrade from? Also what version of windows are you running?

The migration failed but the service did restart and is currently running

I am running on a remote dedicated server with windows server 2008.

Here is a list of my upgrades. Never had an issue until now?

We are on it. We already have a fix for it (fix: disable mmap for backend bulk parquet reader by mustafasencer · Pull Request #125753 · grafana/grafana · GitHub). We will be backporting it to 13.0.1+security-01 as soon as possible.

Hi,

The latest patch release is 13.0.2, we are only able to backport the change into that one. We would appreciate if you could try again using version 13.0.2.

Ok will do so as soon as it becomes available on the Grafana update site. :+1:

Ok the new patch became available. 13.02

I tried and before install it asked me to stop

gpx_grafana_elasticsearch_datasource_windows_amd64.exe

Which I did. It restarted and without any reboot I again restarted the Grafana Service

I then tried to run from browser and got

I then went to cmd prompt again in the grafana bin directory and ran grafana.exe server and it ran much quicker than last time but then reported the sqlite datbase was locked

So it appears it was unable to resolve matters?

I then tried again and it failed after 10 attempts.

I will try reboot and see but thats it for now.

Thank you.

What is that gpx thing you installed?

I bring good news.

Those various thingies appear to be various Grafana add ins. After reboot you can see grafana.exe is now running so I am a happy chappy.

So problem solved. Seems the REBOOT did the trick.

Many thanks to all :grinning_face_with_smiling_eyes: :+1:

Great to hear!