coolify icon indicating copy to clipboard operation
coolify copied to clipboard

[Bug]: Clone Resource does not work anymore

Open jonathan-reisdorf opened this issue 2 months ago • 5 comments

Error Message and Logs

After selecting the server to clone the resource to, the UI now wants me to select a network destination, but the dropdown for that one stays empty, even though there's network destination coolify available.

Image

Cloning used to work just fine in earlier versions.

Steps to Reproduce

  1. Open Resource Operations
  2. Attempt to clone resource to another server
  3. Stare at the empty network destination dropdown
  4. No option exists to proceed

Example Repository URL

No response

Coolify Version

v4.0.0-beta.440

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Debian 12

Additional Information

No response

jonathan-reisdorf avatar Nov 04 '25 11:11 jonathan-reisdorf

Hey @jonathan-reisdorf I couldn't reproduce this issue on v4.0.0-beta.440 (Cloning Feature works fine for me)

Image

Could you please try creating a new destination from "Destinations" on the sidebar and check if it showing on that dropdown?

ShadowArcanist avatar Nov 04 '25 13:11 ShadowArcanist

Also experiencing this bug. After upgrading to beta 441 a error message appears after chosing the destination server: Server is not functional. Server is however very much functional and has other things deployed by the same coolify instance running on it. Adding a new destination does not change anything.

schumi4 avatar Nov 05 '25 12:11 schumi4

In 440, as soon as I create another destination other than "coolify", also "coolify" appears as a dropdown option for me (on all servers, not just the one where I've added the destination to). However, so far I've only used "coolify" for all my servers, maybe that's the problem here? But it worked just fine before like this a few updates ago. I haven't tested the actual resource cloning with this new destination yet, since in the meantime I've manually recreated my resource.

jonathan-reisdorf avatar Nov 05 '25 14:11 jonathan-reisdorf

I also experience same issue with version 441, it could be new UI update since older version work just fine.

update: I tried tweak some javascript in coolify production and without changes it suddenly work fine. Try to clear browser caching might help it out.

alexzvn avatar Nov 07 '25 09:11 alexzvn

It's not working for me too...

I just found an error in browser console:

Alpine Expression Error: this.servers.find is not a function

Expression: "availableDestinations"

Further investigation shows that for some reason servers variable should be array - but it's an object on my side:

x-data="{
        selectedCloneServer: null,
        selectedCloneDestination: null,
        selectedMoveProject: null,
        selectedMoveEnvironment: null,
        currentProjectId: 10,
        currentEnvironmentId: 10,
        servers: JSON.parse('{\u00221\u0022:{\u0022id\u0022:0,\u0022name\u0022:\u0022localhost\u0022,\u0022ip\u0022:\u0022host.docker.internal\u0022,\u0022destinations\u0022:

and it also starts from 1 (not 0) for some reason...

Winne4r avatar Dec 03 '25 00:12 Winne4r