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]: DragonflyDB Loses Public Port Configuration After Restart #4269

Open
tbvgl opened this issue Nov 13, 2024 · 0 comments
Open

[Bug]: DragonflyDB Loses Public Port Configuration After Restart #4269

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

Comments

@tbvgl
Copy link

tbvgl commented Nov 13, 2024

Error Message and Logs

Issue: When restarting a DragonflyDB instance in Coolify, the public port setting is not retained. The instance loses its public port configuration, unlike PostgreSQL, which correctly restores the public port after a restart.

Logs: No specific error logs, but the issue can be observed when checking the network settings of the DragonflyDB container after a restart. Port mappings are missing or not marked as public.

Steps to Reproduce

  1. Deploy a DragonflyDB instance in Coolify and make the port public.
  2. Confirm that the port is accessible publicly (e.g., using curl or a browser).
  3. Restart the DragonflyDB instance from the Coolify dashboard or CLI.
  4. Check the network configuration of the DragonflyDB instance after the restart.
  5. Observe that the public port setting is not retained, and the instance is no longer accessible publicly.

Example Repository URL

Not applicable. This issue can be reproduced using a default DragonflyDB instance setup in Coolify.

Coolify Version

v4.0.0-beta.367

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04

Additional Information

The issue does not occur with PostgreSQL instances, where the public port is restored correctly after a restart. The bug seems specific to DragonflyDB. Attempts to resolve it by adding a save() call in the StartDragonfly.php script did not fix the problem. This suggests that the is_public and public_port attributes may not be set or persisted correctly before the StartDatabaseProxy call.

@tbvgl tbvgl added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Nov 13, 2024
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

1 participant