jbat commented on issue #19925:
URL: https://github.com/apache/superset/issues/19925#issuecomment-1427153386

   @RaSi96 
   After installing with docker compose successfully in early 2022, and now 
revisiting SuperSet in early 2023 I also have hit the loop issue with 
   
   **superset_db** _DETAIL: The data directory was initialized by PostgreSQL 
version 10, which is not compatible with this version 14.2_
   
   Seemed clear that the my previous install db data dir was being pointed to 
somewhere.
   In `docker-compose.yml` the [db service references the 
volume](https://github.com/apache/superset/blob/master/docker-compose.yml#L49) 
where the db data is stored.
   
   ```
   volumes:
         - db_home:/var/lib/postgresql/data
   ```
   
   ```
   docker volume ls
   DRIVER    VOLUME NAME
   local     superset_db_home
   local     superset_redis
   local     superset_superset_home
   ```
   
   Solution was to remove the old volume for `db_home` and rerun docker compose 
to init the database correctly
   
   ```
   docker volume rm superset_db_home
   docker-compose -f docker-compose-non-dev.yml up`
   
   ```


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