[GH-ISSUE #857] bug in install fail2ban after update 3x-ui #573

Closed
opened 2026-10-31 20:12:58 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @clockedzero on GitHub (Aug 3, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/857

درود
بعد از آپدیت 3x-ui از ورژن 1.6.1 به آخرین نسخه (1.7.5) ، موقعی که fail2ban رو نصب میکنم انجام نمیشه:

Fail2ban is not installed. Installing now...!
.
.
Fail2ban installed successfully!
.
.
Configuring IP Limit...

/usr/bin/x-ui: line 710: /etc/fail2ban/jail.d/3x-ipl.conf: No such file or directory
/usr/bin/x-ui: line 721: /etc/fail2ban/filter.d/3x-ipl.conf: No such file or directory
/usr/bin/x-ui: line 728: /etc/fail2ban/action.d/3x-ipl.conf: No such file or directory
Created Ip Limit jail files with a bantime of 5 minutes.
Failed to start fail2ban.service: Unit fail2ban.service not found.
Failed to enable unit: Unit file fail2ban.service does not exist.
IP Limit installed and configured successfully!.
ممنون میشم راهنمایی بفرمایید.

Version of 3x-ui

1.7.5

Originally created by @clockedzero on GitHub (Aug 3, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/857 درود بعد از آپدیت 3x-ui از ورژن 1.6.1 به آخرین نسخه (1.7.5) ، موقعی که fail2ban رو نصب میکنم انجام نمیشه: Fail2ban is not installed. Installing now...! . . Fail2ban installed successfully! . . Configuring IP Limit... /usr/bin/x-ui: line 710: /etc/fail2ban/jail.d/3x-ipl.conf: No such file or directory /usr/bin/x-ui: line 721: /etc/fail2ban/filter.d/3x-ipl.conf: No such file or directory /usr/bin/x-ui: line 728: /etc/fail2ban/action.d/3x-ipl.conf: No such file or directory Created Ip Limit jail files with a bantime of 5 minutes. Failed to start fail2ban.service: Unit fail2ban.service not found. Failed to enable unit: Unit file fail2ban.service does not exist. IP Limit installed and configured successfully!. ممنون میشم راهنمایی بفرمایید. ### Version of 3x-ui 1.7.5
Author
Owner

@MHSanaei commented on GitHub (Aug 10, 2023):

یکبار fail2ban رو با دستور داخل منو حذف کنید مجدد نصب کنید

<!-- gh-comment-id:1672943678 --> @MHSanaei commented on GitHub (Aug 10, 2023): یکبار fail2ban رو با دستور داخل منو حذف کنید مجدد نصب کنید
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#573
No description provided.