[Bug]: Clone Resource does not work anymore
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.
Cloning used to work just fine in earlier versions.
Steps to Reproduce
- Open Resource Operations
- Attempt to clone resource to another server
- Stare at the empty network destination dropdown
- 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
Hey @jonathan-reisdorf I couldn't reproduce this issue on v4.0.0-beta.440 (Cloning Feature works fine for me)
Could you please try creating a new destination from "Destinations" on the sidebar and check if it showing on that dropdown?
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.
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.
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.
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...