Skip to content

[Feature] Enhance the prompt messages for the 1pctl restore command #11265

@HowieHz

Description

@HowieHz

1Panel Version

latest

Please describe your needs or suggestions for improvements

sudo 1pctl restore
============================================================
Restore 1Panel system
============================================================
1Panel will be restored to the last stable version. Do you want to continue? [y/n]: y
(1/5) Starting rollback of 1Panel service and data from /opt/1panel/tmp/upgrade/v2.0.15/original directory...
(2/5) 1Panel binary rollback successful
(3/5) 1Panel script rollback successful
(4/5) 1Panel service rollback successful
(5/5) 1Panel data rollback successful
Rollback successful! Restarting service, please wait...
------------------------------------------------------------

上面的指令实际让主节点回退到 v2.0.14 版本了。希望能增强指令回显,告诉用户退回到了什么版本。

Please describe the solution you suggest

No response

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions