Grafana on dokku/ push error ! hook declined

grafana 9.2.4 dokku 0.28.4

Trying to install. Git push problem

command “git push dokku master”
Enumerating objects: 677, done.
Counting objects: 100% (677/677), done.
Delta compression using up to 8 threads
Compressing objects: 100% (206/206), done.
Writing objects: 100% (677/677), 152.70 KiB | 11.75 MiB/s, done.
Total 677 (delta 397), reused 677 (delta 397), pack-reused 0
remote: Resolving deltas: 100% (397/397), done.
remote: -----> Cleaning up…
remote: -----> Building grafana from Dockerfile

remote: ! Removing invalid image tag dokku/grafana:latest
remote: ! App build failed
To grafana.host:grafana
! [remote rejected] master → master (pre-receive hook declined)
error: failed to push some refs to ‘grafana.host:grafana’

root@host:~# dokku git:report grafana
=====> grafana git information
Git deploy branch: master
Git global deploy branch: master
Git keep git dir: false
Git rev env var: GIT_REV
Git sha:
Git last updated at:

#git branch
*master

Hi @dufok,

Welcome to the :grafana: community support forums !!

  • Did you follow any online instructions? If so, what is the URL?

I follow this one d1ceward/grafana_on_dokku: Dockerfile to run Grafana (monitoring) on Dokku (mini-Heroku) (github.com)

I think right now is collision in the container aria of docker

root@domain:/home/dokku/discoursio-api# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
dokku/ackee latest d3190ab6efbf 25 hours ago 156MB
grafana/grafana 9.2.4 13750e77fcd1 6 days ago 342MB
9.2.3 latest 13750e77fcd1 6 days ago 342MB
gliderlabs/herokuish latest-22 dc5ce987c094 10 days ago 1.08GB
gliderlabs/herokuish v0.5.39-22 dc5ce987c094 10 days ago 1.08GB
gliderlabs/herokuish latest-20 301c89bc891a 10 days ago 1.46GB
gliderlabs/herokuish v0.5.39-20 301c89bc891a 10 days ago 1.46GB
gliderlabs/herokuish latest 0069e6f4ffee 10 days ago 1.23GB
gliderlabs/herokuish v0.5.39-18 0069e6f4ffee 10 days ago 1.23GB
2fe80c5fd769 5 weeks ago 179MB
node alpine 33be9476ddb4 6 weeks ago 167MB

Hi @dufok,

Thanks for the reply. So I checked our documentation pages and could not find anything which is related to Dokku (either officially by or as a Community support).

Therefore, the best approach would be to ask Dokku support either via their GitHub page and report your issue under “issues” or via their support team if you have a member subscription.

1 Like