Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache Superset is not starting line 50: /usr/bin/run-server.sh: No such file or directory #17712

Closed
ninomllr opened this issue Dec 10, 2021 · 23 comments · Fixed by #18196
Closed
Labels
#bug Bug report

Comments

@ninomllr
Copy link

Apache Superset docker-compose is not working for a newly cloned project and by following the offical documentation: https://superset.apache.org/docs/installation/installing-superset-using-docker-compose

How to reproduce the bug

  1. Clone the superset git locally
  2. Run docker-compose -f docker-compose-non-dev.yml up

Expected results

The application should start.

Actual results

The web application is not starting and the log shows the following error:

superset_app            | Starting web app...
superset_app            | /app/docker/docker-bootstrap.sh: line 50: /usr/bin/run-server.sh: No such file or directory

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

git checkout today 10.12.2021, no changes on my side just the latest repository

@ninomllr ninomllr added the #bug Bug report label Dec 10, 2021
@atpage
Copy link

atpage commented Dec 10, 2021

Same here, probably due to this change? aee5c9a

@atpage
Copy link

atpage commented Dec 10, 2021

I confirmed that it works as of the previous commit (8c25f2f). So for now you could check out that commit for the latest working version.

@ninomllr
Copy link
Author

That was it! When I pulled the images again, it worked.

@ctmay4
Copy link

ctmay4 commented Jan 20, 2022

I just checked out master and tried to run through Docker and I am getting the same error. If I check out the 1.4.0 tag it starts correctly without errors. According to the documentation master is supposed to work, right?

superset_app            | Starting web app...
superset_app            | Skipping local overrides
superset_app            | Starting web app...
superset_app            | /app/docker/docker-bootstrap.sh: line 50: /usr/bin/run-server.sh: No such file or directory
superset_app            | Skipping local overrides
superset_app            | Starting web app...
superset_app            | /app/docker/docker-bootstrap.sh: line 50: /usr/bin/run-server.sh: No such file or directory
superset_app            | Skipping local overrides
superset_app            | Starting web app...
superset_app            | /app/docker/docker-bootstrap.sh: line 50: /usr/bin/run-server.sh: No such file or directory
superset_app            | Skipping local overrides
superset_app            | Starting web app...
superset_app            | /app/docker/docker-bootstrap.sh: line 50: /usr/bin/run-server.sh: No such file or directory
superset_app            | Skipping local overrides

@atpage
Copy link

atpage commented Jan 20, 2022

Still broken for me as well. @amitmiran137 any reason this was closed?

@amitmiran137 amitmiran137 reopened this Jan 21, 2022
@amitmiran137
Copy link
Member

@ofekisr can you check it out ?

@wiktor2200
Copy link
Contributor

The problem exists in 1.4.0. There shouldn't be so many differences and long periods of time between releases, because there are a lot of changes everywhere and there is no way to use default helm chart values with stable version. :(
Yesterday release is based on commit from OCTOBER 2021 which causes 3,5months of fixes and improvements missing in new release.
There is 285 changed files with 8,931 additions and 22,463 deletions difference between current master and release tag 1.4.0
@eschutho is there any roadmap for release 1.4.1 or any timetable when next release will cover those changes.

It would be good to add some tests for helm chart deployment for both latest and stable version.

@ofekisr
Copy link
Contributor

ofekisr commented Jan 21, 2022

first, why use docker-compose when you can use the helm chart?
second, just need to change the docker-compose bootstrap file to the new one.
@ninomllr @amitmiran137 @atpage

@atpage
Copy link

atpage commented Jan 21, 2022

@rafalpas
Copy link

@wiktor2200 I have found this discussion for 1.4.0 bugs that are candidates for being fixed in 1.4.1 -> #18119

@nytai
Copy link
Member

nytai commented Jan 26, 2022

Running
docker-compose -f docker-compose-non-dev.yml pull before running the up command should fix this. The issue is that the version of code you are on is not compatible with the docker image you have, so you need to pull a newer docker image that is compatible with this code

@nytai
Copy link
Member

nytai commented Jan 26, 2022

Running the pull command should be standard practice whenever you pull the latest source code

@eschutho
Copy link
Member

eschutho commented Jan 26, 2022

The problem exists in 1.4.0. There shouldn't be so many differences and long periods of time between releases, because there are a lot of changes everywhere and there is no way to use default helm chart values with stable version. :( Yesterday release is based on commit from OCTOBER 2021 which causes 3,5months of fixes and improvements missing in new release. There is 285 changed files with 8,931 additions and 22,463 deletions difference between current master and release tag 1.4.0 @eschutho is there any roadmap for release 1.4.1 or any timetable when next release will cover those changes.

It would be good to add some tests for helm chart deployment for both latest and stable version.

@wiktor2200 1.4.1 will only include bug fixes (not features) that address issues on 1.4.0, so of those 285 changes, only a small portion will apply. 1.4.1 is scheduled to go for vote in the next few days. Please mention any bug fixes that need to be added to the release here: #18119

ancasarb pushed a commit to ancasarb/superset that referenced this issue Jan 27, 2022
…when installing superset using docker compose. fixes apache#17712
villebro pushed a commit that referenced this issue Jan 28, 2022
…when installing superset using docker compose. fixes #17712 (#18196)

Co-authored-by: asarb <[email protected]>
@manisha-tanwar
Copy link

seeing same issue when deploying it using Helm and same on version 1.3.2.
I don't want to use latest as it shows version as v.0.0.0dev on UI.

shcoderAlex pushed a commit to casual-precision/superset that referenced this issue Feb 7, 2022
…when installing superset using docker compose. fixes apache#17712 (apache#18196)

Co-authored-by: asarb <[email protected]>
ofekisr pushed a commit to nielsen-oss/superset that referenced this issue Feb 8, 2022
…when installing superset using docker compose. fixes apache#17712 (apache#18196)

Co-authored-by: asarb <[email protected]>
bwang221 pushed a commit to casual-precision/superset that referenced this issue Feb 10, 2022
…when installing superset using docker compose. fixes apache#17712 (apache#18196)

Co-authored-by: asarb <[email protected]>
@gai6948
Copy link

gai6948 commented Feb 16, 2022

1.4.1 still has the same issue for me

@eschutho
Copy link
Member

@manisha-tanwar @gai6948 have you tried @nytai's suggestion to pull the docker container again before running it?

@gai6948
Copy link

gai6948 commented Feb 17, 2022

It was problem with the helm chart, because running in docker-compose was perfectly fine.

@eschutho
Copy link
Member

@gai6948 or @manisha-tanwar it looks like there was a breaking change in superset-heml-chart-0.5.0 and it is not compatible with the latest Superset release. Can you use 0.4.0 instead?

@arkpoah
Copy link

arkpoah commented Feb 22, 2022

Same issue for me with 0.5.8 chart and 1.4.1 image.
It's ok with 0.4.0 chart

@eschutho
Copy link
Member

Ok, that's what I expected, so for now, <= helm 0.4.0 works with all of the official Superset releases up to 1.4.1. Helm >=0.5.0 will be compatible with either the "latest" non release of Superset and the upcoming 1.5.0 release and is not compatible with <= Superset 1.4.1.

@fertek
Copy link

fertek commented Mar 1, 2022

With x-superset-image: &superset-image apache/superset:1.4.1-dev in docker-compose-non-dev.yml running docker-compose -f docker-compose-non-dev.yml pull before docker-compose -f docker-compose-non-dev.yml up does not help:

superset_app            | Skipping local overrides
superset_app            | Starting web app...
superset_app            | /app/docker/docker-bootstrap.sh: line 50: /usr/bin/run-server.sh: No such file or directory

@caleb15
Copy link
Contributor

caleb15 commented Apr 1, 2022

Same issue with latest superset helm chart, tag: 1.4.2. I pulled a fresh 1.4.2 and looked inside. run-server does not exist in the docker image. @villebro can this be reopened please?

➜  ~ docker pull apache/superset:1.4.2
1.4.2: Pulling from apache/superset
e4d61adff207: Pull complete
4ff1945c672b: Pull complete
ff5b10aec998: Pull complete
12de8c754e45: Pull complete
ada1762e7602: Pull complete
2f2b2e030155: Pull complete
4169ad44c6d7: Pull complete
672a77ed36b6: Pull complete
a6d75b62b7e9: Pull complete
4fe7ffd93a2a: Pull complete
537246e6af6d: Pull complete
5f6fb23fb0de: Pull complete
f926f3e1899a: Pull complete
33c99eb618fb: Pull complete
6759fae3c280: Pull complete
6ad24bb852c9: Pull complete
b7b33bbfd8da: Pull complete
71cbd0b2a3f1: Pull complete
Digest: sha256:a85b0503586f7c08cfe2a9e3654ab155bb674756fff54759f892bcb83853c530
Status: Downloaded newer image for apache/superset:1.4.2
docker.io/apache/superset:1.4.2
➜  ~docker run -it apache/superset:1.4.2 -- bash
➜  ~superset@6bc1707857d5:/app$ cat /usr/bin/run-server.sh
cat: /usr/bin/run-server.sh: No such file or directory

What's also interesting is that the code change in #17713 is not present in the docker image either... 🤔.

@eschutho
Copy link
Member

eschutho commented Apr 1, 2022

@caleb15 this issue should be resolved in the upcoming 1.5.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet