what you expected to happen.
After login with admin/admin for production docker running image, there is no menu/dashboard showing up.
what actually happens.
Instead it shows up some blank page with a button.

Latest from master branch
superset versionpython --versionnode -vnpm -vMake sure these boxes are checked before submitting your issue - thank you!
Log attached below.
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, dashboard and code for this bot.
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.
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-079There 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?
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."
Is this also from master branch latest source code?
Yes. I pip installed using git+https://github.com/apache/incubator-superset/
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 cistep 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 afternpm ciof "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.
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?
@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 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.