Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All static files like ext-all.js are missing this leads to a blank page #2492

Closed
nook24 opened this issue Oct 2, 2019 · 1 comment
Closed

Comments

@nook24
Copy link
Contributor

nook24 commented Oct 2, 2019

I'm submitting a ...

[x] bug report
[ ] feature request

Current behavior:
I have the issue that all static files for graphite web are missing.
If i run ls -la /opt/graphite/static/ there is only an admin folder which does not contain files like ext-all.js

Bildschirmfoto 2019-10-02 um 09 42 50
I read a lot about this issue online and it seems that this is also a common issue for years (#2427 #858 #2409).
Unfortunately i wasn't able to solve it.

Expected behavior:
Static files should not be missing.

Steps to reproduce:

git clone -b py3 https://github.com/it-novum/graphing-docker.git
cd graphing-docker/graphite-web/

Build docker image

docker build --rm -t openitcockpit/graphite-web:latest .

Run docker container

docker run -t -i --rm \
--name=graphite-web \
-p 0.0.0.0:8888:8080 \
openitcockpit/graphite-web

Alternative: Run docker container and start a shell for debugging

docker run -t -i --rm \
--name=graphite-web \
-p 0.0.0.0:8888:8080 \
openitcockpit/graphite-web /bin/sh

Navigate to port 8888 in your web browser.

Other information:
I am using the master branch of graphite for this

@nook24
Copy link
Contributor Author

nook24 commented Oct 2, 2019

I was able to solve the issue by moving local_settings.py from
/opt/graphite/webapp/graphite/local_settings.py to
/opt/graphite/lib/graphite/local_settings.py

@nook24 nook24 closed this as completed Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant