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

Snibox won't bind mount to host folders #2

Open
gkoerk opened this issue Oct 21, 2018 · 4 comments
Open

Snibox won't bind mount to host folders #2

gkoerk opened this issue Oct 21, 2018 · 4 comments

Comments

@gkoerk
Copy link

gkoerk commented Oct 21, 2018

It seems the frontend doesn't like the folders I am trying to bind mount for static_files. I've tried chmod on them and even chown, but I don't know the UID:GID this process expects to own a common static_files directory. Any ideas?

@touste
Copy link

touste commented Jun 25, 2019

Same issue here, it works with:

volumes:
pg-data:
static-files:

But not anymore when assigning folders to these volumes.

@gkoerk
Copy link
Author

gkoerk commented Jun 25, 2019

Precisely. Same problem. How do we successfully bind mount to a directory to persist data?

@denis-ev
Copy link

Any progress on this?

@aslmx
Copy link

aslmx commented Nov 17, 2021

Would be interested too...

not sure if it is related, but i get this, when i run docker-compose up without -d demonizing it.


database_1  | waiting for server to start....2021-11-17 20:00:00.496 UTC [32] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
database_1  | 2021-11-17 20:00:00.522 UTC [33] LOG:  database system was shut down at 2021-11-17 20:00:00 UTC
database_1  | 2021-11-17 20:00:00.528 UTC [32] LOG:  database system is ready to accept connections 
database_1  |  done
database_1  | server started
database_1  | 
database_1  | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
database_1  | 
database_1  | waiting for server to shut down....2021-11-17 20:00:00.586 UTC [32] LOG:  received fast shutdown request
database_1  | 2021-11-17 20:00:00.587 UTC [32] LOG:  aborting any active transactions
database_1  | 2021-11-17 20:00:00.590 UTC [32] LOG:  worker process: logical replication launcher (PID 39) exited with exit code 1
database_1  | 2021-11-17 20:00:00.590 UTC [34] LOG:  shutting down
database_1  | 2021-11-17 20:00:00.612 UTC [32] LOG:  database system is shut down
database_1  |  done
database_1  | server stopped
database_1  | 
database_1  | PostgreSQL init process complete; ready for start up.
database_1  | 
database_1  | 2021-11-17 20:00:00.694 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
database_1  | 2021-11-17 20:00:00.697 UTC [1] LOG:  listening on IPv6 address "::", port 5432
database_1  | 2021-11-17 20:00:00.700 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
database_1  | 2021-11-17 20:00:00.721 UTC [41] LOG:  database system was shut down at 2021-11-17 20:00:00 UTC
database_1  | 2021-11-17 20:00:00.724 UTC [1] LOG:  database system is ready to accept connections
database_1  | 2021-11-17 20:00:06.355 UTC [48] ERROR:  relation "users" does not exist at character 566
database_1  | 2021-11-17 20:00:06.355 UTC [48] STATEMENT:                SELECT a.attname, format_type(a.atttypid, a.atttypmod),
database_1  |                        pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod,
database_1  |                        c.collname, col_description(a.attrelid, a.attnum) AS comment
database_1  |                   FROM pg_attribute a
database_1  |                   LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum
database_1  |                   LEFT JOIN pg_type t ON a.atttypid = t.oid
database_1  |                   LEFT JOIN pg_collation c ON a.attcollation = c.oid AND a.attcollation <> t.typcollation
database_1  |                  WHERE a.attrelid = '"users"'::regclass
database_1  |                    AND a.attnum > 0 AND NOT a.attisdropped
database_1  |                  ORDER BY a.attnum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants