Grafana installed inside of Gitlab/HedgeDocs?

Hello,

Firstly - thank you for making such a wonderful suite of software. I’m really impressed how well Yunohost works from both a UX and functional perspective.

My YunoHost server

Hardware: VPS bought online (Debian 10.10 / xen amd64, 4gb / 40gb)
YunoHost version: 4.2.8 (stable)
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I installed Grafana a few weeks back and it did a strange thing:

  • it appears to have replaced HedgeDocs, which had been accesible at site.com/write
  • when visiting that URL now it takes me to site.com/lab/-/grafana/login (gitlab is installed at site.com/lab)
  • that path gives the grafana login page telling me, ironically ‘don’t get in the way of data’
  • I uninstalled Grafana via Yunohost Applications, but no change to these two behaviours
  • the rest of Gitlab works normally, but I cannot upgrade it from 14.0 without an error
  • I removed a Grafana related plugin that had installed itself within Gitlab but that hasn’t changed this.

NB - at no point did Grafana’s install process ask anything that could be interpretted as giving permission for it to overwrite an existing app or install inside another app or add a plugin to another app

I’m ok to lose Hedgedocs, but I don’t want to lose Gitlab… (and would like to upgrade it).

thanks
Nic

Hello, and welcome!

That is indeed very weird behavior. Couple of questions:

  • Can you share the contents of the NGINX configuration files of your apps? They should be in /etc/nginx/conf.d/site.com.d/. You can directly share them with cat /etc/nginx/conf.d/site.com.d/* | yunopaste

  • Have you made Grafana the default app? or any app?

Thanks Titus
I got permission denied when trying to cat those files. It’s a new vps and I couldn’t immediately sudo.
Grafana wasn’t made default - nor is anything (just dble checked). According to the Yunohost UI, Grafana isn’t installed any more.

OK, have them here: hastebin

An update on this:

  • I uninstalled Hedgedoc,
  • rebooted the server,
    Then I was able to update Gitlab.

But Grafana is still showing a login page at: https://site.com/lab/-/grafana/login (screengrabbed below) - the rest of gitlab loads fine at site.com/lab.

Any idea how to fully uninstall Grafana given it’s not visible in the YunoHost admin UI? (or in the Gitlab Applications screen)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.