You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "zsw4579 (via GitHub)" <gi...@apache.org> on 2025/01/10 04:04:00 UTC

[I] docker 构建正常,但是镜像启动异常 [superset]

zsw4579 opened a new issue, #31776:
URL: https://github.com/apache/superset/issues/31776

   ### Bug description
   
   docker 构建正常,但是镜像启动异常,异常信息如下:
   Skipping local overrides
   Unknown Operation!!!
   ######################################################################
   Init Step 1/4 [Starting] -- Applying DB migrations
   ######################################################################
   /app/docker/docker-init.sh: line 50: superset: command not found
   /app/docker/docker-ci.sh: line 26: /usr/bin/run-server.sh: No such file or directory
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.1.1
   
   ### Python version
   
   3.10
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [X] 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] docker 构建正常,但是镜像启动异常 [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #31776:
URL: https://github.com/apache/superset/issues/31776#issuecomment-2581700637

   <!-- Greeting -->
   Hello, @zsw4579! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together while we wait for a human maintainer.
   
   <!-- Answer -->
   The issue you're encountering with the Docker image failing to start and errors such as "command not found" and "No such file or directory" is a known problem with Superset version 4.1.1 when using Python 3.10 and Node 18 or greater. This is due to a mismatch between the mounted `docker/` folder scripts and older Docker images that don't include certain dependencies like 'uv' <sup>[[1]](https://github.com/apache/superset/issues/31510)</sup>.
   
   To resolve this issue, you can try the following solutions:
   
   1. **Revert to an Older Version**: You can revert to an older version of the repository to ensure compatibility between the mounted scripts and the container image by running:
      ```bash
      git fetch --tags
      git checkout 4.1.1
      ```
   
   2. **Modify the Scripts**: Edit the `docker/docker-bootstrap.sh` and `docker/pip-install.sh` scripts to replace all instances of `uv pip` with just `pip`.
   
   3. **Use a Non-Dev Compose File**: Run the Docker setup using a non-dev compose file:
      ```bash
      docker compose -f docker-compose-non-dev.yml up
      ```
   
   Additionally, a permanent fix is being implemented in PR #31588, which adds `pip install uv` to the bootstrap script. This should address the issue in future releases <sup>[[1]](https://github.com/apache/superset/issues/31510)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/809d6332-b41e-4859-a2a8-228d0d654d98?feedback_type=other)</sup>
   


-- 
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] docker 构建正常,但是镜像启动异常 [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #31776: docker 构建正常,但是镜像启动异常
URL: https://github.com/apache/superset/issues/31776


-- 
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] docker 构建正常,但是镜像启动异常 [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #31776:
URL: https://github.com/apache/superset/issues/31776#issuecomment-2852564686

   This isn't enough to go on, and it's been quiet forever, so I'll close it as not-planned. The docker setup has been revamped quite a bit since this was active, so feel free to try the latest, and let us know if you're still having issues. 


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