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]: Cloning WordPress service doesn't work to other server, and doesn't clone some vars #4050

Open
theDanielJLewis opened this issue Oct 28, 2024 · 1 comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@theDanielJLewis
Copy link

theDanielJLewis commented Oct 28, 2024

Error Message and Logs

No errors, but obvious omissions in end results.

Steps to Reproduce

  1. Create a WordPress service (try it with MariaDB, since that's what I was using).
  2. Add WORDPRESS_CONFIG_EXTRA=$WORDPRESS_CONFIG_EXTRA to the compose file.
  3. Populate a WORDPRESS_CONFIG_EXTRA environment variable.
  4. Clone the service to a different server
  5. Check if that other server actually has the new service. (I checked by looking for the service ID in /var/lib/docker/volumes/.

Example Repository URL

No response

Coolify Version

v4.0.0-beta.360

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04

Additional Information

I discovered a frustrating little bug.

Small aside: it's not possible on a WordPress service to see which server it's actually running on.

When cloning a WordPress service to a different server, two wrong things happen:

  1. The service is cloned, but to the same server instead of the other one.
  2. Extra environment variables might not be cloning. For example, I added WORDPRESS_CONFIG_EXTRA=$WORDPRESS_CONFIG_EXTRA to my compose file and populated that env var, but the value is blank on the clone.
@theDanielJLewis theDanielJLewis added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Oct 28, 2024
@zenigma99
Copy link

I'm experiencing the same issues with Coolify v4.0.0-beta.360 on my self-hosted installation. The core problem is the inability to move resources between servers. I've tested this with Ghost CMS and several other services, attempting various solutions such as cloning individual deployments and entire projects.

Despite these efforts, all cloned projects and containers persistently remain on the original server. I'm effectively unable to migrate any resources to a different server with Coolify. Here is a screen-recording 👇
https://github.com/user-attachments/assets/c5170b50-ed9c-4926-8a25-d9f3ab3324d6

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