From 8f8d280e903a7aff5e228b303d0f58263f96aa53 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Tue, 24 Jun 2025 17:24:42 +0800 Subject: [PATCH] Revert "fix: Fix the issue with upgrade failures (#9262)" (#9264) This reverts commit b46192024fc8b391bb904ba67ea11a50b4d60732. --- backend/app/service/upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/service/upgrade.go b/backend/app/service/upgrade.go index 18416a3ef..8b32a5957 100644 --- a/backend/app/service/upgrade.go +++ b/backend/app/service/upgrade.go @@ -153,7 +153,7 @@ func (u *UpgradeService) Upgrade(req dto.Upgrade) error { }{ {path.Join(tmpDir, "1panel"), path.Join(binDir, "1panel"), 1}, {path.Join(tmpDir, "1pctl"), path.Join(binDir, "1pctl"), 2}, - {selectInitScript(tmpDir, currentServiceName), servicePath, 3}, + {selectInitScript(path.Join(tmpDir, "initscript"), currentServiceName), servicePath, 3}, } for _, update := range criticalUpdates {