You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "bxter (via GitHub)" <gi...@apache.org> on 2025/08/28 03:21:13 UTC
[I] Superset 6.0.0rc1: install not completed [superset]
bxter opened a new issue, #34877:
URL: https://github.com/apache/superset/issues/34877
### Bug description
The step install is:
1、download the 6.0.0rc package. apache_superset-6.0.0rc1-source.tar.gz
2、using python3.11, install the package
pip install apache_superset-6.0.0rc1-source.tar.gz
3、init
superset db upgrade
superset fab create-admin
superset init
4、run
superset run -h 0.0.0.0 -p 8088 --with-threads --reload
follow the step, everything is ok, but when i open the web page. there is error.
<img width="1322" height="528" alt="Image" src="https://github.com/user-attachments/assets/759faa89-0d98-4d81-b9c2-d74981023df3" />
which not exist static content in directory.
<img width="1021" height="346" alt="Image" src="https://github.com/user-attachments/assets/9c468266-a90e-4dbf-9522-92c4ff09344b" />
what is wrong with it? very thanks to let me know, thks.
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
--
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: notifications-unsubscribe@superset.apache.org.apache.org
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
Re: [I] Superset 6.0.0rc1: install not completed [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34877:
URL: https://github.com/apache/superset/issues/34877#issuecomment-3231677902
<!-- Greeting -->
Hi @bxter! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
The missing static content error happens because the Superset source tarball does not include pre-built frontend assets. After installing from source, you need to manually build these assets using Node.js and npm in the `superset-frontend` directory.
To fix this, run the following commands from your Superset source directory:
```bash
cd superset-frontend
npm ci
npm run build
```
This will generate the required static files (like `500.html`) in `superset/static/assets`. After building, restart Superset and the web UI should load correctly.
This manual frontend build step is required for source installs and is documented in the [Dockerfile.from_local_tarball](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/RELEASING/Dockerfile.from_local_tarball) and [Makefile](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/Makefile). The webpack config confirms these assets are generated only after running the build process ([webpack.config.js](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/webpack.config.js)).
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/33b505de-aef7-4718-89cc-d44b9925e159?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/33b505de-aef7-4718-89cc-d44b9925e159?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/33b505de-aef7-4718-89cc-d44b9925e159?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/33b505de-aef7-4718-89cc-d44b9925e159?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/33b505de-aef7-4718-89cc-d44b9925e159?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/33b505de-aef7-4718-89cc-d44b9925e159?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/33b505de-aef7-4718-89cc-d44b9925e159?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34877)
--
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: notifications-unsubscribe@superset.apache.org
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
Re: [I] Superset 6.0.0rc1: install not completed [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #34877: Superset 6.0.0rc1: install not completed
URL: https://github.com/apache/superset/issues/34877
--
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: notifications-unsubscribe@superset.apache.org
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
Re: [I] Superset 6.0.0rc1: install not completed [superset]
Posted by "bxter (via GitHub)" <gi...@apache.org>.
bxter commented on issue #34877:
URL: https://github.com/apache/superset/issues/34877#issuecomment-3231754948
I use the down package from https://dist.apache.org/repos/dist/dev/superset/6.0.0rc1/
https://dist.apache.org/repos/dist/dev/superset/6.0.0rc1/apache_superset-6.0.0rc1-source.tar.gz
how to install with it. can anyone give a completed install step. thks very much.
--
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: notifications-unsubscribe@superset.apache.org
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
Re: [I] Superset 6.0.0rc1: install not completed [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #34877:
URL: https://github.com/apache/superset/issues/34877#issuecomment-3231767142
<!-- Answer -->
Here’s a complete step-by-step guide to install Superset 6.0.0rc1 from the source tarball:
**Requirements:**
- Python 3.10 or 3.11 (Python 3.12 is not supported)
- Node.js 20.x (recommended: 20.18.3)
- npm 10.8.1 or newer
- OS-level build dependencies (e.g. `build-essential`, `libssl-dev`, `libffi-dev`, `python3-dev`, etc.) [details](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docs/docs/installation/pypi.mdx)
**Install Steps:**
1. **Install OS dependencies**
For Ubuntu/Debian:
```bash
sudo apt-get update
sudo apt-get install build-essential libssl-dev libffi-dev python3-dev libsasl2-dev libldap2-dev default-libmysqlclient-dev
```
For other OS, see [docs](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docs/docs/installation/pypi.mdx).
2. **Install Node.js and npm**
Use Node.js 20.x and npm 10+ (see `.nvmrc` and `package.json` requirements):
```bash
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
```
3. **Create and activate a Python virtual environment**
```bash
python3.11 -m venv venv
source venv/bin/activate
```
4. **Extract the source tarball**
```bash
tar -xvf apache_superset-6.0.0rc1-source.tar.gz
cd apache_superset-6.0.0rc1-source
```
5. **Install Python dependencies and Superset**
```bash
pip install --upgrade pip setuptools
pip install -r requirements/base.txt
pip install .
```
6. **Build frontend assets**
This step is critical and must be done before running Superset:
```bash
cd superset-frontend
npm ci
npm run build
cd ..
```
This will generate the required static files (like `500.html`) in `superset/static/assets` ([reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/RELEASING/Dockerfile.from_local_tarball), [webpack config](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/webpack.config.js)).
7. **Initialize Superset and create admin user**
```bash
export FLASK_APP=superset
export SUPERSET_SECRET_KEY='your-secret-key'
superset db upgrade
superset fab create-admin
superset init
```
8. **(Optional) Load example data**
```bash
superset load-examples
```
9. **Run Superset server**
```bash
superset run -h 0.0.0.0 -p 8088 --with-threads --reload
```
**Common pitfalls:**
- Skipping the frontend build step (`npm ci` + `npm run build`) will result in missing static assets and web UI errors.
- Using unsupported Python or Node.js versions can cause install/build failures.
Let me know if you hit any specific errors during these steps!
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/1d29a638-4b26-4715-9422-5a1846487a0f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/1d29a638-4b26-4715-9422-5a1846487a0f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/1d29a638-4b26-4715-9422-5a1846487a0f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/1d29a638-4b26-4715-9422-5a1846487a0f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1d29a638-4b26-4715-9422-5a1846487a0f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/1d29a638-4b26-4715-9422-5a1846487a0f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1d29a638-4b26-4715-9422-5a1846487a0f?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34877)
--
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: notifications-unsubscribe@superset.apache.org
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
Re: [I] Superset 6.0.0rc1: install not completed [superset]
Posted by "bxter (via GitHub)" <gi...@apache.org>.
bxter commented on issue #34877:
URL: https://github.com/apache/superset/issues/34877#issuecomment-3231717938
Not use source, but
https://dist.apache.org/repos/dist/dev/superset/6.0.0rc1/apache_superset-6.0.0rc1-source.tar.gz
if the release source is not completed, why need build this package.
--
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: notifications-unsubscribe@superset.apache.org
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
Re: [I] Superset 6.0.0rc1: install not completed [superset]
Posted by "sadpandajoe (via GitHub)" <gi...@apache.org>.
sadpandajoe commented on issue #34877:
URL: https://github.com/apache/superset/issues/34877#issuecomment-3234212420
@bxter just wondering why not https://pypi.org/project/apache-superset/6.0.0rc1/ for install?
--
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: notifications-unsubscribe@superset.apache.org
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