Closed KaelWD closed 3 weeks ago
try triggering docker cleanup and then delete it. it works sometimes. Server> select server > general > setting > Force Docker Cleanup
I already tried that. I also can't see it in docker images
or docker ps -a
.
yes I'm having same issue , it worked with one, but when you delete the container manually cleanup doesn't work.
Same for me, sometimes containers remain on disk..
Idk what happened but it's gone now, I'm guessing the automated cleanup does something extra that manual one is missing.
I cannot reproduce. If a project has a resource, you cannot delete it and you get this error: Environment has defined resources, please delete them first.
Can you help me with more detailed steps on how you managed to delete the project in the first place?
I don't know, I never got that warning for some reason. I'll try to reproduce it again when I have time.
Yeah it still happens with beta.360.
No error appears, and there is an entry under server -> resources that has no associated project and links to nowhere.
DeleteProject only checks for applications, which does not include ones inside services: https://github.com/coollabsio/coolify/blob/dfd218ec064790d214bc57d3d9b3840f35b6a379/app/Livewire/Project/DeleteProject.php#L30-L32
Deleting an environment does all this instead:
Not sure why each database type needs to be a separate relation, you'd think they're just a subclass of Application.
Thanks for the details, I can now reproduce it and have fixed this and will PR after some testing.
@peaklabs-dev This is still happening. If you go to the dashboard and click on a project, then click delete, it will delete the project but not it's resources.
@ohkimur yes because the new version is not out yet.
@peaklabs-dev Oh, I see. Thanks for letting me know!
Error Message and Logs
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.0.0-beta.355
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04
Additional Information
Looks the same as #1937