sfirke commented on issue #32187:
URL: https://github.com/apache/superset/issues/32187#issuecomment-2654531435

   I can replicate this. I ran `git checkout tags/5.0.0rc1` then `docker 
compose up --build`, the webpack assets build exits without error, output logs 
from that container stop at this:
   
   ```
   superset_node         | <s> [webpack.Progress] 100% 
   superset_node         | 
   superset_node         | 1057 assets
   superset_node         | 12425 modules
   superset_node         | webpack 5.97.1 compiled successfully in 71355 ms
   ```
   
   When I try to visit port 9000 as suggested by @mistercrunch I get:
   ```
   superset_node         | [HPM] Proxy created: /  -> 
http://host.docker.internal:8088
   superset_node         | [HPM] Error occurred while proxying request 
localhost:9000/ to http://host.docker.internal:8088/ [ENOTFOUND] 
(https://nodejs.org/api/errors.html#errors_common_system_errors)
   superset_node         | [HPM] Error occurred while proxying request 
localhost:9000/favicon.ico to http://host.docker.internal:8088/ [ENOTFOUND] 
(https://nodejs.org/api/errors.html#errors_common_system_errors)
   ```
   
   When I visit `localhost:8088` I can login with `admin/admin` but then get 
this screen, same as OP:
   
   
![Image](https://github.com/user-attachments/assets/37e59b19-0e69-4c30-a6ea-9577fd085d0b)
   
   With these errors in the logs:
   ```
   superset_app          | 2025-02-12 18:15:12,849:INFO:werkzeug:172.18.0.1 - - 
[12/Feb/2025 18:15:12] "GET /static/assets/images/loading.gif HTTP/1.1" 404 -
   superset_app          | 2025-02-12 
18:15:12,950: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 <lambda>
   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.
   ```
   
   The steps from @arvebratt above worked to fix this issue for me. That seemed 
to build the frontend assets more thoroughly as that build took longer:
   
   ```
   1057 assets
   12392 modules
   webpack 5.97.1 compiled successfully in 112691 ms
   ```
   
   Mentioning @mistercrunch as this is the same issue we have in #31890 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to