Skip to content

[Bug] Auto upgrade failed #11789

@233-ahong

Description

@233-ahong

Contact Information

No response

1Panel Version

v2.0.16

Problem Description

升级到v2.0.17的时候报错了
[2026-02-04 09:50:00] [INFO] start to upgrade now...
[2026-02-04 09:50:09] [INFO] download all file successful!
[2026-02-04 09:50:09] [DEBUG] tar zxvf '/data/1panel/tmp/upgrade/v2.0.17/downloads/1panel-v2.0.17-linux-amd64.tar.gz' -C '/data/1panel/tmp/upgrade/v2.0.17/downloads'
[2026-02-04 09:50:13] [ERROR] handle backup original file failed, err: handle cp -f /etc/systemd/system /data/1panel/tmp/upgrade/v2.0.17/original/ failed, stdout: stderr: cp: -r not specified; omitting directory '/etc/systemd/system'
, err: exit status 1

Steps to Reproduce

点击右下角更新按钮进行更新,过一段时间之后就报错了

The expected correct result

No response

Related log output

[2026-02-04 09:50:00] [INFO] start to upgrade now...  
[2026-02-04 09:50:09] [INFO] download all file successful!  
[2026-02-04 09:50:09] [DEBUG] tar zxvf '/data/1panel/tmp/upgrade/v2.0.17/downloads/1panel-v2.0.17-linux-amd64.tar.gz' -C '/data/1panel/tmp/upgrade/v2.0.17/downloads'  
[2026-02-04 09:50:13] [ERROR] handle backup original file failed, err: handle cp -f /etc/systemd/system /data/1panel/tmp/upgrade/v2.0.17/original/ failed, stdout: stderr: cp: -r not specified; omitting directory '/etc/systemd/system'
, err: exit status 1

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions