Checking, the path is the one that gives the error, if I put another one for example /var/lib/psql/data it works fine but it shows as if it had no tables
When I use the path /var/lib/postgresql/data (the normal path the volume had) It does not work
Yes, I disconnected the volume from a Postgres container and deleted that container, created a new one and when I connect the volume to it it gives me an error