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]: Directus + PostgreSQL database backups don't work #4347

Open
unknownterritory opened this issue Nov 20, 2024 · 3 comments
Open

[Bug]: Directus + PostgreSQL database backups don't work #4347

unknownterritory opened this issue Nov 20, 2024 · 3 comments
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@unknownterritory
Copy link

Error Message and Logs

There's nothing in the Executions list and nothing related to backups in the PostgreSQL logs. It seems like the backups are not triggered at all.

Steps to Reproduce

  1. Fresh install Coolify.
  2. Create a Directus with Postgresql resource
  3. Add a scheduled backup for the Postgresql database, either local or to a working S3 bucket elsewhere. Save.
  4. Click on "Backup Now" for good measure.

Example Repository URL

No response

Coolify Version

v4.0.0-beta.370

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04.1 LTS

Additional Information

Fresh installation of Coolify. Backups of Coolify itself to an object storage bucket on Scaleway are working just fine.
Have two instances of Directus, both with PostgreSQL databases, on the same Hetzner server where Coolify is installed. Both instances are running fine and healthy. I've tried to set up backups for the databases (Postgresql (postgis/postgis:16-3.4-alpine)), both S3 enabled and local backups.

All the backups fail, both the scheduled and the on-demand backups (by pressing Backup Now). Stranger still is that nothing actually happens. No backup related logs or records in the Executions list.

@unknownterritory unknownterritory added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Nov 20, 2024
@DMdeveloppement
Copy link

Same here.
Fresh install + directus with postgres

No backup now, no scheduler and no result

But if I deploy a simple postgres db, backups are ok. Coolify backups work too.

@unknownterritory unknownterritory changed the title [Bug]: PostgreSQL database backups don't work [Bug]: Directus + PostgreSQL database backups don't work Nov 20, 2024
@DMdeveloppement
Copy link

Just tested that the same issue append on Coolify CLoud

@DMdeveloppement
Copy link

It's maybe on postgis side. When i switch to a directus + postgres (without postgis) backups are working as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

2 participants