Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support for discontinued application upgrades #7743

Closed
QYG2297248353 opened this issue Jan 20, 2025 · 6 comments
Closed

[Feature] Support for discontinued application upgrades #7743

QYG2297248353 opened this issue Jan 20, 2025 · 6 comments

Comments

@QYG2297248353
Copy link

1Panel Version

v1.10.23-lts

Please describe your needs or suggestions for improvements

Application upgrade list, support the upgrade of stopped applications, after the upgrade, keep the original state

Image

Please describe the solution you suggest

Support for discontinued application upgrades

Additional Information

No response

@wanghe-fit2cloud
Copy link
Member

如果放开状态限制,替换升级文件后可能无法确保应用的正常运行。

@QYG2297248353
Copy link
Author

如果放开状态限制,替换升级文件后可能无法确保应用的正常运行。

那可同时增加回滚按钮,在已安装列表中
是否升级还是要由用户决定,失败也可回滚回去,也就是原先是自动回滚,现在支持手动回滚

@wanghe-fit2cloud
Copy link
Member

如果放开状态限制,替换升级文件后可能无法确保应用的正常运行。

那可同时增加回滚按钮,在已安装列表中 是否升级还是要由用户决定,失败也可回滚回去,也就是原先是自动回滚,现在支持手动回滚

请问,出于什么原因希望支持停止状态下的应用进行升级呢?

个人觉得还是等服务正常启动后再升级应用会更合适一些。

@QYG2297248353
Copy link
Author

如果放开状态限制,替换升级文件后可能无法确保应用的正常运行。

那可同时增加回滚按钮,在已安装列表中 是否升级还是要由用户决定,失败也可回滚回去,也就是原先是自动回滚,现在支持手动回滚

请问,出于什么原因希望支持停止状态下的应用进行升级呢?

个人觉得还是等服务正常启动后再升级应用会更合适一些。

临时性应用,这个应用,类似工具类,跑完就可以那种,定期启动一次。比如封装好的镜像脚本,用定时任务隔多久跑一次,完成签到,数据抓取,数据更新,这一类应用。

要不然,就要使用 latest标签,需要升级都要强制拉取一次。

@wanghe-fit2cloud
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


If the status restriction is relaxed, the normal operation of the application may not be ensured after replacing the upgrade file.

Then you can add a rollback button at the same time. In the installed list, it is still up to the user to decide whether to upgrade. If it fails, you can roll back. That is, it used to be an automatic rollback, but now it supports manual rollback.

Excuse me, why do you want to support the upgrade of stopped applications?

Personally, I think it would be more appropriate to wait until the service starts normally before upgrading the application.

Temporary application, this application is similar to a tool. It can be started once it is finished. For example, encapsulated mirror scripts can be run at regular intervals using scheduled tasks to complete sign-ins, data capture, and data updates. This type of application.

Otherwise, the latest tag must be used, and if an upgrade is required, it must be forced to be pulled once.

@wanghe-fit2cloud
Copy link
Member

先关闭该 issue,目前暂不计划支持该需求,感谢理解。

@wanghe-fit2cloud wanghe-fit2cloud closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants