Comments (5)
Yes, init script should be fixed to skip lost+found
dir
from docker-graphite-statsd.
Fixed in 1.1.4-1 release
from docker-graphite-statsd.
Please reopen this issue - now graphite doesn't start when you run it second time. It hangs on django-admin.py createsuperuser
root@graphite:/# ps axf
PID TTY STAT TIME COMMAND
44 ? Ss 0:00 /bin/sh
51 ? S 0:00 \_ bash
100 ? R+ 0:00 \_ ps axf
1 ? Ss 0:00 /usr/bin/python3 -u /sbin/my_init
9 ? S 0:00 /bin/bash /etc/my_init.d/01_conf_init.sh
19 ? Sl 0:00 \_ expect /usr/local/bin/django_admin_init.exp
20 pts/0 Ss+ 0:00 \_ /bin/bash /usr/local/bin/manage.sh
39 pts/0 S+ 0:00 \_ /usr/bin/python /usr/local/bin/django-admin.py createsuperuser --settings=graphite.settings
The problem is with line graphite_storage_dir_contents=$(find /opt/graphite/storage -mindepth 1 -print -quit | grep -v lost+found)
in /etc/my_init.d/01_conf_init.sh
. When find
returns as first and the only line lost+found
then it is excluded by grep
no mater if there are any other directories. It can be solved by doing exclude directly in find
command, so please replace this line with
graphite_storage_dir_contents=$(find /opt/graphite/storage -mindepth 1 -not -path /opt/graphite/storage/lost+found -print -quit | grep -v lost+found)
from docker-graphite-statsd.
Argh, will fix it asap
from docker-graphite-statsd.
Fix released in 1.1.4-3, also opened PR for official helm chart to upgrade.
Thanks for testing, @ertwroc, sorry for messing that up. 😭
from docker-graphite-statsd.
Related Issues (20)
- [Q] Request for updated of build 1.1.8 HOT 2
- [BUG] Unable to create image on Oracle Linux 8 on Windows 11 Virtual Box 6.1.x HOT 3
- Need root permissions to run graphite HOT 2
- [BUG] collectd won't start in 1.1.10
- Tweak collectd monitoring so that disk free reports actually work HOT 2
- [BUG] Cannot start 1.1.10-2 image HOT 2
- [BUG] Issue after moving from 1.1.9 to 1.1.10 docker image HOT 1
- [Q] HOT 3
- [Q] graphite server memory leakage HOT 1
- [BUG] PostgreSQL AssertionError database connection isn't set to UTC HOT 5
- [BUG] StatsD won't work with TCP even if STATSD_INTERFACE=tcp HOT 12
- [Q] 404 Not Found
- Enable AMQP by Default HOT 4
- [BUG] HOT 6
- [Q] How to increase nginx timeout to reduce 504 errors upon query
- [Q] nginx timeout HOT 1
- [BUG] web UI does not open when ran on ubuntu 22 with docker 24.0.5 HOT 1
- [BUG] Using CARBON_AMQP_METRIC_NAME_IN_BODY not working HOT 1
- [BUG]: Error: Cannot find module '/opt/statsd/stats.js'
- python-ldap needs openldap APK
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-graphite-statsd.