-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
2.15.1 在数据初始化时,无法正常启动预设插件 #5867
Labels
area/core
Issues or PRs related to the Halo Core
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
Milestone
Comments
/assign |
ruibaby
added
area/core
Issues or PRs related to the Halo Core
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
kind/bug
Categorizes issue or PR as related to a bug.
labels
May 7, 2024
经过排查,主要是因为安装好插件后,立即启用了插件,此时插件正在被解析并禁用,禁用的时候会自动设置 plugin.spec.enabled 为 false,这也就导致启动插件接口会一直等待插件启动成功,直到等待超时。 目前,我的解决方案就是在启用插件的重试逻辑中尝试重新设置插件状态,这可能是当前修改最小的解决方案。 |
f2c-ci-robot bot
pushed a commit
that referenced
this issue
May 10, 2024
#### What type of PR is this? /kind bug /area core /area plugin /milestone 2.16.x #### What this PR does / why we need it: This PR refactors plugin running state change method to resolve the problem of not being able to initialize preset plugins due to too small gap between installation and enabling. #### Which issue(s) this PR fixes: Fixes #5867 #### Does this PR introduce a user-facing change? ```release-note 解决初始化时无法正常启用插件的问题 ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/core
Issues or PRs related to the Halo Core
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
系统信息
使用的哪种方式运行?
Docker
发生了什么?
如图,第一个插件无法正常启动,接口一直处于 pending 状态,然后刷新页面之后仅安装了一个插件且没有启动。再次启动可以正常启动插件。
日志:halo-log-2024-05-07 15_14.log
/kind bug
/area core
/priority critical-urgent
相关日志输出
No response
附加信息
No response
The text was updated successfully, but these errors were encountered: