raintank / raintank-docker

raintank docker images and dev stack DEPRECATED / UNMAINTAINED
https://blog.raintank.io/docker-based-development-environment/
16 stars 4 forks source link

grafana image issues #6

Closed Dieterbe closed 9 years ago

Dieterbe commented 9 years ago

with dev stack:

<# supervisorctl restart all; tail -10f /var/log/raintank/grafana.log
FAILED: attempted to kill grafana with sig SIGTERM but it wasn't running
FAILED: attempted to kill grafana with sig SIGTERM but it wasn't running
FAILED: attempted to kill grafana with sig SIGTERM but it wasn't running
FAILED: attempted to kill grafana with sig SIGTERM but it wasn't running
FAILED: attempted to kill grafana with sig SIGTERM but it wasn't running
grafana: stopped
grafana: ERROR (abnormal termination)
2015/05/05 21:11:52 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:11:53 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:11:55 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:11:58 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:12:02 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:12:08 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:12:09 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:12:15 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:12:22 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:12:30 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:12:39 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
2015/05/05 21:12:49 [log.go:75 Fatal()] [E] Failed to parse defaults.ini, open /go/src/github.com/raintank/grafana/conf/defaults.ini: no such file or directory
Dieterbe commented 9 years ago

hmm nowhere can a defaults.ini be found in the image :?

root@f51070e4e700:~# cat /etc/supervisor/conf.d/supervisord.conf
[supervisord]
nodaemon=true

[program:grafana]
command=/go/bin/grafana -config /etc/grafana/custom.ini web
directory=/go/src/github.com/raintank/grafana
redirect_stderr=true
stdout_logfile_maxbytes=50MB
stdout_logfile=/var/log/raintank/grafana.log
startretries=10
root@f51070e4e700:~# find / -name defaults.ini                  
root@f51070e4e700:~# 
Dieterbe commented 9 years ago

hmm it's in the repo and also

docker run raintank/grafana ls -alh /go/src/github.com/raintank/grafana/conf
total 24K
drwxr-xr-x  2 root root 4.0K May  5 20:16 .
drwxr-xr-x 18 root root 4.0K May  5 20:18 ..
-rw-r--r--  1 root root 5.8K May  5 20:16 defaults.ini
-rw-r--r--  1 root root 5.8K May  5 20:16 sample.ini
Dieterbe commented 9 years ago

this was caused due to one of my commits in #4 , i added the bugfix in there as well.