You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "jbat (via GitHub)" <gi...@apache.org> on 2023/02/12 22:48:44 UTC
[GitHub] [superset] jbat commented on issue #19925: Issues related to dev branch .yml and some documentation
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: 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