-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
docker 构建正常,启动并登录后跳转页面错误,并且superset_app出现错误 #31890
Comments
docker构建命令如下 |
Hey @ludaxiansheng! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this docker issue together! I found a similar closed issue related to a 404 error for static assets in Superset, but no solution was found in the comments [1]. Additionally, there are two unsolved discussions that might be relevant:
For your specific issue, the 404 error for the static asset
By following these steps, you should be able to identify and resolve the issue with missing static assets in your Superset Docker deployment. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosubot docker logs superset_init ###################################################################### Init Step 1/4 [Starting] -- Applying DB migrations ###################################################################### Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py] ###################################################################### Init Step 1/4 [Complete] -- Applying DB migrations ###################################################################### ###################################################################### Init Step 2/4 [Starting] -- Setting up admin user ( admin / admin ) ###################################################################### Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py] ###################################################################### Init Step 2/4 [Complete] -- Setting up admin user ###################################################################### ###################################################################### Init Step 3/4 [Starting] -- Setting up roles and perms ###################################################################### Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py] ###################################################################### Init Step 3/4 [Complete] -- Setting up roles and perms ###################################################################### ###################################################################### Init Step 4/4 [Starting] -- Loading examples ###################################################################### Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py] ###################################################################### Init Step 4/4 [Complete] -- Loading examples ###################################################################### root@itgemini-ubuntu:/docker-share/superset# docker ps |
I have the exact same problem as you @ludaxiansheng. Please provide me with a solution to resolve this issue. |
The "Unknown Operation" message you encountered during the Superset initialization process doesn't seem to be causing any critical issues, as the subsequent steps in the initialization process completed successfully. Here's a breakdown of what happened:
The "Unknown Operation" message might be a benign log entry that doesn't affect the overall functionality. If everything else is working as expected, you can likely ignore this message. If you encounter any specific issues related to this message, further investigation might be needed, but based on the logs, the initialization process completed successfully. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosubot an then How to ignore this error and proceed to access the Superset dashboard? |
Bug description
Bug description
docker 构建正常,启动并登录后跳转页面错误,并且superset_app出现错误,错误如下
2025-01-16 11:35:39,016:WARNING:superset.views.error_handling:HTTPException
superset_app | Traceback (most recent call last):
superset_app | File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
superset_app | rv = self.dispatch_request()
superset_app | ^^^^^^^^^^^^^^^^^^^^^^^
superset_app | File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
superset_app | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
superset_app | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
superset_app | File "/app/.venv/lib/python3.11/site-packages/flask/app.py", line 502, in
superset_app | view_func=lambda **kw: self_ref().send_static_file(**kw), # type: ignore # noqa: B950
superset_app | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
superset_app | File "/app/.venv/lib/python3.11/site-packages/flask/scaffold.py", line 317, in send_static_file
superset_app | return send_from_directory(
superset_app | ^^^^^^^^^^^^^^^^^^^^
superset_app | File "/app/.venv/lib/python3.11/site-packages/flask/helpers.py", line 557, in send_from_directory
superset_app | return werkzeug.utils.send_from_directory( # type: ignore[return-value]
superset_app | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
superset_app | File "/app/.venv/lib/python3.11/site-packages/werkzeug/utils.py", line 575, in send_from_directory
superset_app | raise NotFound()
superset_app | werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
superset_app | 10.100.5.188 - - [16/Jan/2025:11:35:39 +0000] "GET /static/assets/images/loading.gif HTTP/1.1" 404 334 "http://10.100.5.77:8088/superset/welcome/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0"
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.11
Node version
18 or greater
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: