sfirke commented on PR #28275:
URL: https://github.com/apache/superset/pull/28275#issuecomment-2088465325

   Hm @SaTae66 are you running Docker with a single container or Docker Compose?
   
   I upgraded yesterday using Docker Compose.  When I run `docker compose up`, 
it runs the script at 
https://github.com/apache/superset/blob/master/docker/docker-init.sh which 
includes `superset_db_upgrade`.  And when I look at `docker logs superset_init 
| head -n 100` I see that the DB migrations were applied.
   
   So I don't think `superset db upgrade` is needed necessarily for Docker 
Compose, but I'd like to learn more.  For instance if someone is running with 
Docker Compose should we make it clearer they need to have this 
`docker-init.sh` file in the appropriate path?
   
   Also did you have to enter your container first with `docker exec -it ...` 
in order to run `superset db upgrade` ?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to