-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Bug] Failed to retrieve UFW status. #7527
Comments
感谢反馈,麻烦执行 |
Thanks for the feedback, please run |
$ which ufw |
$ which ufw |
感謝感謝,下個版本我們優化該部分判斷 |
Thank you. We will optimize this part in the next version. |
Contact Information
No response
1Panel Version
v1.10.22-lts
Problem Description
My UFW is already enabled, but it is displayed as disabled in 1Panel.
我的 ufw 是已经开启的状态,但是在 1panel 中却显示成未启用
Steps to Reproduce
When the system language is neither English nor Simplified Chinese, open the
/hosts/firewall/port
screen.当系统不是英文或简体中文时,开启 /hosts/firewall/port 画面
The expected correct result
No response
Related log output
No response
Additional Information
It is recommended to set the environment before executing the status query command in
backend/utils/firewall/client/ufw.go
.For example:
LANGUAGE=en_US:en ufw status
建议在 backend/utils/firewall/client/ufw.go 执行状态查询命令前 设置环境
如: LANGUAGE=en_US:en ufw status
The text was updated successfully, but these errors were encountered: