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

Adding a new unit in an existing cluster does not work - Postgres 14.11 rev 384 #735

Open
gianlucaperna opened this issue Jan 20, 2025 · 1 comment
Labels
bug Something isn't working as expected

Comments

@gianlucaperna
Copy link

Steps to Reproduce

  1. Add a new PostgreSQL unit to an existing cluster using Juju:
    juju add-unit postgresql  

Expected Behavior

The PostgreSQL processes on the new unit should start and run successfully.

Actual Behavior

Instead, the PostgreSQL processes fail to start. Checking the syslog reveals that the folder /var/snap/charmed-postgresql/common/var/lib/postgresql has invalid permissions.

Manually changing the permissions of the folder to 750 and then running:

snap start postgresql  

resolves the issue.

Environment Details

  • PostgreSQL: 14.11 (rev 384)
  • OS: Ubuntu 22.04.5 LTS
@gianlucaperna gianlucaperna added the bug Something isn't working as expected label Jan 20, 2025
Copy link

Thank you for reporting your feedback to us!

The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-6401.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant