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

Bug in the script "wait-for-manager.sh" #196

Open
uulyar opened this issue Oct 15, 2020 · 0 comments
Open

Bug in the script "wait-for-manager.sh" #196

uulyar opened this issue Oct 15, 2020 · 0 comments

Comments

@uulyar
Copy link

uulyar commented Oct 15, 2020

When I try to mount /var/lib/postgresql/data from worker to a local host directory in my docker-compose.yml it throws the exeption:
chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted

Possible solution is to change the script "wait-for-manager.sh" like that:

set -e

until test -f /healthcheck/manager-ready ; do
  >&2 echo "Manager is not ready - sleeping"
  sleep 1
done

>&2 echo "Manager is up - starting worker"

exec  "/docker-entrypoint.sh" "postgres"

citus version: 9.4.1
postgres version: 12

@uulyar uulyar changed the title Bug in script "wait-for-manager.sh" Bug in the script "wait-for-manager.sh" Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant