mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-24 00:00:52 +00:00
fix: Fix the issue with upgrade failures (#9262)
This commit is contained in:
@@ -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(path.Join(tmpDir, "initscript"), currentServiceName), servicePath, 3},
|
||||
{selectInitScript(tmpDir, currentServiceName), servicePath, 3},
|
||||
}
|
||||
|
||||
for _, update := range criticalUpdates {
|
||||
|
||||
Reference in New Issue
Block a user