You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/01/15 20:42:33 UTC

[GitHub] [incubator-superset] leninworld opened a new issue #8975: UI not working in docker production setup.

leninworld opened a new issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975
 
 
   A clear and concise description of what the bug is.
   
   ### Expected results
   
   what you expected to happen.
   After login with admin/admin for production docker running image, there is no menu/dashbaord showing up. 
   
   ### Actual results
   
   what actually happens.
   
   Instead it shows up some blank page with a button.
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   1. changes in .env file as production for FLASK_ENV and SUPERSET_ENV.
   2. run sudo SUPERSET_LOAD_EXAMPLES=yes docker-compose run --rm superset ./docker-init.sh
   3. run sudo docker-compose up
   4. go to the endpoint login page in the browser. Enter admin/admin. You can see a blank page with a button in it and nothing else.
   
   ### Environment
   ubuntu machine in ec2 
   
   - superset version: `superset version`
   - python version: `python --version`
   - node.js version: `node -v`
   - npm version: `npm -v`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Log attached below.
   
   ### Log
   
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/select2/select2.js HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/select2/select2.js HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/js/ab.js HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/js/ab.js HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/img/flags/flags16.png HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/img/flags/flags16.png HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 127.0.0.1 - - [15/Jan/2020 20:36:58] "GET /health HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:127.0.0.1 - - [15/Jan/2020 20:36:58] "GET /health HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /login/ HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /login/ HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:00] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:00] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:00] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:00] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "POST /login/ HTTP/1.1" 302 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "POST /login/ HTTP/1.1" 302 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET / HTTP/1.1" 302 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET / HTTP/1.1" 302 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /superset/welcome HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /superset/welcome HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/images/loading.gif HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/images/loading.gif HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/5.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/5.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/6.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/6.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/welcome.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/welcome.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-dashboard-explore-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-dashboard-explore-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/5.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/5.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/6.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/6.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:10] "GET /static/assets/dist/vendors-dashboard-explore-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:10] "GET /static/assets/dist/vendors-dashboard-explore-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:10] "GET /static/assets/dist/welcome.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:10] "GET /static/assets/dist/welcome.c35c5291.entry.js HTTP/1.1" 404 -
   [ec2-user@ docker]$ superset_1         | 127.0.0.1 - - [15/Jan/2020 20:37:28] "GET /health HTTP/1.1" 200 -
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] DylanNWatt commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
DylanNWatt commented on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-576036970
 
 
   I also came across this, and after a long debugging session I walked away and it was working. I'm pretty sure it's just that you're able to access the webpage long before the npm installation process has completed. If you inspect the source of the returned page when it's in that, there are no script tags embedded. 
   
   After waiting for about 15 minutes on a modern macbook pro, the logs progressed from `npm ci` step to the actual build, and it started working. The fix here is probably just not starting the web server until the build is complete, and adding more clear logging after `npm ci` of "Installing web dependencies, this may take a while"/

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] DylanNWatt edited a comment on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
DylanNWatt edited a comment on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-576036970
 
 
   I also came across this, and after a long debugging session I walked away, came back, and it was working. I'm pretty sure it's just that you're able to access the webpage long before the npm installation process has completed. If you inspect the source of the returned page when it's in that state, there are no script tags embedded. 
   
   After waiting for about 15 minutes on a modern macbook pro, the logs progressed from `npm ci` step to the actual build, and it started working. The fix here is probably just not starting the web server until the build is complete, and adding more clear logging after `npm ci` of "Installing web dependencies, this may take a while."

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] leninworld opened a new issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
leninworld opened a new issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975
 
 
    
   ### Expected results
   
   what you expected to happen.
   After login with admin/admin for production docker running image, there is no menu/dashboard showing up. 
   
   ### Actual results
   
   what actually happens.
   
   Instead it shows up some blank page with a button.
   
   #### Screenshots
    
   ![2020-01-15_12-45-48](https://user-images.githubusercontent.com/2639584/72469881-01ea2b80-3795-11ea-9e91-84d23f44b364.png)
   
   
   #### How to reproduce the bug
   
   1. changes in .env file as production for FLASK_ENV and SUPERSET_ENV.
   2. run sudo SUPERSET_LOAD_EXAMPLES=yes docker-compose run --rm superset ./docker-init.sh
   3. run sudo docker-compose up
   4. go to the endpoint login page in the browser. Enter admin/admin. You can see a blank page with a button in it and nothing else.
   
   ### Environment
   Latest from master branch
   
   - superset version: `superset version`
   - python version: `python --version`
   - node.js version: `node -v`
   - npm version: `npm -v`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Log attached below.
   
   ### Log
   
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/select2/select2.js HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/select2/select2.js HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/js/ab.js HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/js/ab.js HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/img/flags/flags16.png HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/appbuilder/img/flags/flags16.png HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:57] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 127.0.0.1 - - [15/Jan/2020 20:36:58] "GET /health HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:127.0.0.1 - - [15/Jan/2020 20:36:58] "GET /health HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /login/ HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /login/ HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:36:59] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:00] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:00] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:00] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:00] "GET /static/assets/dist/preamble.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "POST /login/ HTTP/1.1" 302 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "POST /login/ HTTP/1.1" 302 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET / HTTP/1.1" 302 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET / HTTP/1.1" 302 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /superset/welcome HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /superset/welcome HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/theme.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/images/loading.gif HTTP/1.1" 200 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/images/loading.gif HTTP/1.1" 200 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-major.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/5.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/5.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:08] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/6.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/6.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/welcome.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/welcome.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-dashboard-explore-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-dashboard-explore-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-preamble-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/5.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/5.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-showSavedQuery-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/vendors-addSlice-dashboard-explore-profile-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/6.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:09] "GET /static/assets/dist/6.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:10] "GET /static/assets/dist/vendors-dashboard-explore-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:10] "GET /static/assets/dist/vendors-dashboard-explore-sqllab-welcome.c35c5291.chunk.js HTTP/1.1" 404 -
   superset_1         | 162.246.216.28 - - [15/Jan/2020 20:37:10] "GET /static/assets/dist/welcome.c35c5291.entry.js HTTP/1.1" 404 -
   superset_1         | INFO:werkzeug:162.246.216.28 - - [15/Jan/2020 20:37:10] "GET /static/assets/dist/welcome.c35c5291.entry.js HTTP/1.1" 404 -
   [ec2-user@ docker]$ superset_1         | 127.0.0.1 - - [15/Jan/2020 20:37:28] "GET /health HTTP/1.1" 200 -
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] gk1089 commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
gk1089 commented on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-575472617
 
 
   I installed Superset from "bottoms up" in a Ubuntu 18.04 VM right now and can confirm about getting the same issue. Only I am not even getting to the login page. The console shows:
   ```
   **superset run -p 8088 --with-threads --reload --debugger**
   INFO:root:logging was configured successfully
    * Serving Flask app "superset" (lazy loading)
    * Environment: production
      WARNING: This is a development server. Do not use it in a production deployment.
      Use a production WSGI server instead.
    * Debug mode: off
   INFO:werkzeug: * Running on http://127.0.0.1:8088/ (Press CTRL+C to quit)
   INFO:werkzeug: * Restarting with stat
   INFO:root:logging was configured successfully
   WARNING:werkzeug: * Debugger is active!
   INFO:werkzeug: * Debugger PIN: 292-408-079
   ```
   There is no relevant entry for superset in /var/log so I am not sure where to look for them.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] abdulganierkan commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
abdulganierkan commented on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-594362090
 
 
   @DylanNWatt's answer worked. You have to install npm dependencies for the client-side. Additionally, if you're using docker just do it for the related container like:
   `docker exec -it incubator-superset_superset-node_1 sudo npm ci`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] gk1089 edited a comment on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
gk1089 edited a comment on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-576099347
 
 
   > Is this also from master branch latest source code?
   
   Yes. I pip installed using `git+https://github.com/apache/incubator-superset/`
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] DylanNWatt edited a comment on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
DylanNWatt edited a comment on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-576036970
 
 
   I also came across this, and after a long debugging session I walked away and it was working. I'm pretty sure it's just that you're able to access the webpage long before the npm installation process has completed. If you inspect the source of the returned page when it's in that, there are no script tags embedded. 
   
   After waiting for about 15 minutes on a modern macbook pro, the logs progressed from `npm ci` step to the actual build, and it started working. The fix here is probably just not starting the web server until the build is complete, and adding more clear logging after `npm ci` of "Installing web dependencies, this may take a while."

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] leninworld closed issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
leninworld closed issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] leninworld commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
leninworld commented on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-575740672
 
 
   > I installed Superset from "bottoms up" in a Ubuntu 18.04 VM right now and can confirm about getting the same issue. Only I am not even getting to the login page. The console shows:
   > 
   > ```
   > **superset run -p 8088 --with-threads --reload --debugger**
   > INFO:root:logging was configured successfully
   >  * Serving Flask app "superset" (lazy loading)
   >  * Environment: production
   >    WARNING: This is a development server. Do not use it in a production deployment.
   >    Use a production WSGI server instead.
   >  * Debug mode: off
   > INFO:werkzeug: * Running on http://127.0.0.1:8088/ (Press CTRL+C to quit)
   > INFO:werkzeug: * Restarting with stat
   > INFO:root:logging was configured successfully
   > WARNING:werkzeug: * Debugger is active!
   > INFO:werkzeug: * Debugger PIN: 292-408-079
   > ```
   > 
   > There is no relevant entry for superset in /var/log so I am not sure where to look for them.
   
   Is this also from master branch latest source code?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] gk1089 commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
gk1089 commented on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-576099347
 
 
   > Is this also from master branch latest source code?
   Yes. I pip installed using `git+https://github.com/apache/incubator-superset/`
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] gk1089 commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
gk1089 commented on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-576148039
 
 
   I tried the suggestion made by @DylanNWatt and it still does not work for me after waiting for a good amount of time. Where exactly does superset log its events? And how do I turn the debug mode on when running the application?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] issue-label-bot[bot] commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-574847403
 
 
   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] gk1089 commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
gk1089 commented on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-576099910
 
 
   > 
   > 
   > I also came across this, and after a long debugging session I walked away, came back, and it was working. I'm pretty sure it's just that you're able to access the webpage long before the npm installation process has completed. If you inspect the source of the returned page when it's in that state, there are no script tags embedded.
   > 
   > After waiting for about 15 minutes on a modern macbook pro, the logs progressed from `npm ci` step to the actual build, and it started working. The fix here is probably just not starting the web server until the build is complete, and adding more clear logging after `npm ci` of "Installing web dependencies, this may take a while."
   
   So what you are suggesting is that post installation, when I run with the command `superset run -p 8088 --with-threads --reload --debugger`, I should wait for 'some' time before I fire the link in the browser. My host machine is pretty powerful, but I am running this in a VM with 4 gigs of RAM and a couple of cores, so let us see how it fares against a dedicated machine like you said.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] DylanNWatt edited a comment on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
DylanNWatt edited a comment on issue #8975: UI not working in docker production setup.
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-576036970
 
 
   I also came across this, and after a long debugging session I walked away, came back, and it was working. I'm pretty sure it's just that you're able to access the webpage long before the npm installation process has completed. If you inspect the source of the returned page when it's in that, there are no script tags embedded. 
   
   After waiting for about 15 minutes on a modern macbook pro, the logs progressed from `npm ci` step to the actual build, and it started working. The fix here is probably just not starting the web server until the build is complete, and adding more clear logging after `npm ci` of "Installing web dependencies, this may take a while."

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] stale[bot] commented on issue #8975: UI not working in docker production setup.

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #8975:
URL: https://github.com/apache/incubator-superset/issues/8975#issuecomment-623086944


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org