diff --git a/backend/app/service/app_utils.go b/backend/app/service/app_utils.go index f53448acb..797804241 100644 --- a/backend/app/service/app_utils.go +++ b/backend/app/service/app_utils.go @@ -354,8 +354,8 @@ func deleteAppInstall(install model.AppInstall, deleteBackup bool, forceDelete b websiteApp, _ := appRepo.GetFirst(commonRepo.WithByID(websiteAppInstall.AppId)) if websiteApp.Type == constant.RuntimePHP { go func() { - _, _ = compose.Down(install.GetComposePath()) - _ = op.DeleteDir(install.GetPath()) + _, _ = compose.Down(websiteAppInstall.GetComposePath()) + _ = op.DeleteDir(websiteAppInstall.GetPath()) }() _ = appInstallRepo.Delete(ctx, websiteAppInstall) }