-
Notifications
You must be signed in to change notification settings - Fork 518
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
Dashboard page cannot load static files #1377
Comments
did you try reinstalling marzban ? |
Yes, but doesnt help :( |
did you change dashboard path ? |
Same with default and custom path |
try to set ssl and access directly to dashboard, see what happen |
I dont have certs so i connect via Everything worked fine on version 0.6.0... |
so the problem is your nginx configuration... |
The configuration is shown in the screenshot above and was taken from the README. What could be wrong there? 🤔 |
im not familiar with nginx but if you jujst use nginx to set ssl, i suggest try haproxy |
Add |
Same 😢 |
Fixed ? |
No :( |
damn, this happened to me too, after updating to the latest dev, that damn Dashboard path change PR instead of |
If your dashboard domain is behind Cloudflare, you need to disable it's cache by enabling Development Mode |
i got this error too, revert back to 0.6.0 until someone provide fixing :( |
In the new version of the dashboard, there are no routes for |
It's not working for me for some reason. Tried even redirecting /statics to /dashboard/statics via nginx/Redirect Rules in Cloudflare, but I still get a 404 error for js and css files. |
"Why? There are no paths like /dashboard/statics in the frontend. I tested this PR in all possible conditions and scenarios, and it worked perfectly. |
Just testing the advice from a comment #1377 (comment)
But what could possibly be wrong? My current nginx config:
|
stopped all containers, wiped all images and containers, recreated Marzban-dev and still all static files are at '/dashboard/statics/' |
Test Access the container directly, for example: curl -I -k http://127.0.0.1:8000/statics/index.9b97897c.css Where 8000 is the port on which Uvicorn is running. If you receive a 200 response, it means the container is serving all the necessary static files; |
both I changed my reverse proxy software config to include /statics |
I have the same problem after updating to version 7, the dashboard screen is white (I'm using ngnix), has anyone been able to solve it? |
My ngnix settings
} |
add /statics/ like
|
I installed border guard using docker and it works as single port on 443, but adding location ~* /(sub|dashboard|statics|api|docs|redoc|openapi.json) { didn't solve my problem and Dashboard page. It's still white and I had to roll back, is there a way? |
Describe the bug
When opening the dashboard it opens just a white page with no css styles or js scripts.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The page loads and displays the dashboard.
Screenshots
Machine details (please complete the following information):
Additional context
Marzban installed via
sudo bash -c "$(curl -sL https://github.com/Gozargah/Marzban-scripts/raw/master/marzban.sh)" @ install
.My nginx config:
The text was updated successfully, but these errors were encountered: