linuxserver / docker-fail2ban

GNU General Public License v3.0
42 stars 7 forks source link

Can't use "reload" command #3

Closed mhbates closed 1 year ago

mhbates commented 1 year ago

When I attempt to reload Fail2Ban or a particular jail via docker exec fail2ban fail2ban-client reload or reload <jail>, I get errors like:

[200]: ERROR Failed during configuration: Have not found any log file for sshd jail [206]: ERROR Failed during configuration: No section: 'nextcloud-auth' [212]: ERROR Failed during configuration: No section: 'overseerr-auth'

github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

nemchik commented 1 year ago

I just tried and confirmed, I am seeing the same error. I'm not sure exactly why, but I'll experiment to see what I can figure out.

Until then I'd recommend restarting the entire container

nemchik commented 1 year ago

Just a small update on this:

docker exec fail2ban fail2ban-client -c /config/fail2ban reload does work.

Just some additional information (explaining what's going on):

So I'm not sure if there will be a decent compromise with this. Restarting the image is probably the safest and easiest option.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

nemchik commented 1 year ago
docker exec fail2ban fail2ban-client reload

should work after pulling 1.0.2-r0-ls11