I am on Grafana 9.2.4 and Ubuntu 20.04.5 LTS. Enterprise On Premise installation.
I am trying to upgrade from 9.2.4 to 9.3.0
I am running with root:
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.3.0_amd64.deb
dpkg -i grafana-enterprise_9.3.0_amd64.deb
I am getting an error:
dpkg: regarding grafana-enterprise_9.3.0_amd64.deb containing grafana-enterprise :
grafana-enterprise conflicts with grafana
grafana (version 8.1.2) is present and installed.
dpkg: error processing archive grafana-enterprise_9.3.0_amd64.deb (–install):
conflicting packages - not installing grafana-enterprise
Errors were encountered while processing:
grafana-enterprise_9.3.0_amd64.deb
I am following this:
pgaarde
December 1, 2022, 11:56am
2
Same issue for med - Grafana 9.2.1 on Ubuntu 20.04 LTS.
sudo dpkg -i grafana-enterprise_9.3.0_amd64.deb
dpkg: regarding grafana-enterprise_9.3.0_amd64.deb containing grafana-enterprise: grafana-enterprise conflicts with grafana
grafana (version 9.0.4) is present and installed.
1 Like
Same here… I´m on version 9.2.4 and when I try to install 9.30 it says it conflicts with Version 7
dpkg: regarding grafana-enterprise_9.3.0_amd64.deb containing grafana-enterprise:
grafana-enterprise conflicts with grafana
grafana (version 7.0.1) is present and installed.
dpkg: error processing archive grafana-enterprise_9.3.0_amd64.deb (--install):
conflicting packages - not installing grafana-enterprise
Errors were encountered while processing:
grafana-enterprise_9.3.0_amd64.deb
If I run:
apt-cache policy grafana
It says I have Grafana 7 installed
grafana:
Installed: 7.0.1
Candidate: 7.0.1
Version table:
*** 7.0.1 100
100 /var/lib/dpkg/status
1 Like
Thanks for the feedback. It seems it is not a wide issue, but the moment is bad, since there is CVE to be mitigated.
I have same problem: I’m on version 9.1.6 up to 9.3.0
dpkg: regarding grafana-enterprise_9.3.0_amd64.deb containing grafana-enterprise:
grafana-enterprise conflicts with grafana
grafana (version 8.2.2) is present and installed.
dpkg: error processing archive grafana-enterprise_9.3.0_amd64.deb (–install):
conflicting packages - not installing grafana-enterprise
Errors were encountered while processing:
grafana-enterprise_9.3.0_amd64.deb
1 Like
9.3.1 Release doesn’t solve this. I`ve just tried it. Every version above 9.2.4 has the same issue. I’ve tried them all.
i did upgrade from 9.2 to 9.3 in Ubuntu 20.04.5 LTS by doing apt-upgrade and it worked for me
2 Likes
Thank you for feedback.
I always run apt-get update and apt-get upgrade.
It doesn`t solve it for me this time.
Can you try this?
Install 9.3 separately in a different folder, copy data folder and conf folder from 9.2.3 version, stop 9.2.3 version grafana service, start 9.3 version
Same for me. Cannot go above 9.2.4.
followed the standard procedure below -
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.2.5_amd64.deb
sudo dpkg -i grafana-enterprise_9.2.5_amd64.deb
too technical for me - other suggestions please
1 Like
Hi, what will be the impact of this on production environment with several plugins, several datasources and 6-7 exporters only for Prometheus? Do you have any prediction for downtime or possible reconfiguration?
yosiasz
December 4, 2022, 5:33pm
13
Should be 0 downtime because it is a separate instance of grafana on which you will try things on.
You can even use blue green deployment approach
Blue/green, sometimes referred to as red-black, deployment is a technique for releasing applications by shifting traffic between two identical environments running differing versions of the application. Blue/green deployments help you minimize...
But never, ever upgrade production unless you have tried and tested the upgrade in lower environments. That is just common basic best practice
But if you have to upgrade because you do not have lower environs, you must have a roll back plan.
Depends how critical grafana is to your stakeholders
1 Like
I understand. But I will pass and wait for another solution. Thanks.
1 Like
yosiasz
December 5, 2022, 1:31am
15
Doesnt get any easier than this vs a linux command line upgrade approach
sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.3.1_amd64.deb
sudo dpkg --force-all -i grafana-enterprise_9.3.1_amd64.deb
Had the same error --force-all did the trick for me.
4 Likes
ndt1092
December 5, 2022, 8:03am
17
Oh thanks you, sudo dpkg --force-all -i grafana-enterprise_9.3.1_amd64.deb
I have successfully upgraded!!!
2 Likes
I have a similar problem with one of the grafans and it’s not clear why I can’t update
dpkg: regarding grafana-enterprise_9.2.5_amd64.deb containing grafana-enterprise:
grafana-enterprise conflicts with grafana
grafana (version 8.1.3) is present and installed.
dpkg: error processing archive grafana-enterprise_9.2.5_amd64.deb (–install):
conflicting packages - not installing grafana-enterprise
Errors were encountered while processing:
grafana-enterprise_9.2.5_amd64.deb
It does - by following @jacoblantz suggestion of force all…
Thanks Jacob!
2 Likes