Superset dashboard or no data loading after login
Even after successful docker-compose up with latest updates from master branch after login welcome page keeps loading no dashboards or no data can be seen. Checked the logs for PostgreSQL in image no error or exception in logs. Even executed docker-init.sh successfully.
Expected results
Superset should load default roles and dashboard after login.
Actual results
welcome page keeps loading after login, no dashboards or no data can be seen.
Screenshots
How to reproduce the bug
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Environment
(please complete the following information):
- 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.
- [x] I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
Add any other context about the problem here.
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Please post docker-init logs from the superset-init container
I run the docker-init command twice (considering resources not downloaded on first attempt) so in logs it says admin user already exists. Please find attached logs.
ok, that seems more or less ok. Looking at the uploaded picture you provided it seems that the docker build step may have failed. Try issuing a docker-compose build first (after docker-compose down)
@swapnil-chenoa Are you sure you've waited for superset-node container to finish before loading page? Looks like you're missing JS files generated from webpack.
ok, that seems more or less ok. Looking at the uploaded picture you provided it seems that the docker build step may have failed. Try issuing a
docker-compose buildfirst (after docker-compose down)
Thanks for your response. The docker build was successful with all 32 steps executed few container initialization failed so used docker-compose build command which was successful.
It took hours for 11th step to complete.
Step 11/32 : RUN cd /app/superset/assets && npm run build && rm -rf node_modules ---> Running in ec3cd24edd7d
[email protected] build /app/superset/assets cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production webpack --mode=production --colors --progress clean-webpack-plugin: /app/superset/assets/dist has been removed. Starting type checking service... Using 1 worker with 2048MB memory limit 92% chunk asset optimization OptimizeCssAssetsWebpackPluginBrowserslist: caniuse-lite is outdated. Please r 92% chunk asset optimization TerserPlugin
I met the same problem as yours, how do you resolve it
@swapnil-chenoa Are you sure you've waited for superset-node container to finish before loading page? Looks like you're missing JS files generated from webpack.
Thanks for your response. Yes we waited for same even for log-in page resources didn't load. If we missed something how to recover JS files from webpack.
I met the same problem as yours, how do you resolve it
No that issue not yet resolved. We are looking for solution.

my superset-work is unhealthy, do you have the same situation ?
my superset-work is unhealthy, do you have the same situation ?
No. all were in healthy state.
the default username & password is admin & admin ?
the default username & password is admin & admin ?
Yes its written in docker-init.sh.
I used cd superset/assets \
&& npm install \
&& npm run build \
&& rm -rf node_modules to resolve it, but i met another problem:

@flutterWang you have to wait for the superset-init to finish, it takes a while since it's upgrading the db, and downloading all the data for the examples dashboards
@dpgaspar

but my superset-init has been exited, did this mean it was finish?
seems like superset-init failed, can you post the full log?
This is happening to me as well on macosx
@dpgaspar
but my superset-init has been exited, did this mean it was finish?
@flutterWang - looks like you were running this while github was having some issues, as you can see from the SSL error. Were you able to retry this at all?
This is happening to me as well on macosx
@nabinkhadka - how much RAM are you allocating to your Docker VM? I'd recommend at least 4GB, as the default of 2 isn't enough to get Terser off the ground.