Keleo / Fail2BanBundle

Fail2Ban plugin for Kimai to prevent automated attacks
https://www.kimai.org/store/fail2ban-bundle.html
MIT License
6 stars 4 forks source link

No log file using Docker #8

Closed alexanderharm closed 1 year ago

alexanderharm commented 1 year ago

I'm using kimai/kimai2 Docker image and downloaded v2 of the bundle (even though container reports as 1.30.11 stable (Ayumi). I installed the plugin (extracted, renamed, rebuild cache, fixed permissions) hopefully correctly at least it shows in the Web-GUI and there are no errors in the log. However, testing it with false logins does not log anything. Neither an error in the existing logs nor anything to fail2ban.log (did touch the file and it has the correct permissions). Any ideas where I might have gone wrong?

kevinpapst commented 1 year ago

Clarify versions please. Compatibility in the README

Bildschirm­foto 2023-03-29 um 11 25 13
alexanderharm commented 1 year ago

I installed bundle version 2.0, Docker kimai/kimai2 which reports as 1.30.11 (but should be v2, no?) ...

kevinpapst commented 1 year ago

Everything is "v2". Kimai 1 is dead since 2017. You are late to the party... Bundle 2.0 needs Kimai 2.0. You are running 1.30.11.

alexanderharm commented 1 year ago

kimai/kimai2:latest gives you 1.30.11 at least on Docker hub... I just followed this [https://www.kimai.org/documentation/docker.html]() also from the GUI, I'm pretty sure I'm not running v1.

kevinpapst commented 1 year ago

SERIOUSLY? AGAIN: Kimai 1 in kimai/kimai1 is dead. Kimai (2) is running in version 1.30.11 on your end. Kimai 1 vs 2 is not a version number, but a software name. Kimai (2) in version 2.0 is soon to be released.

alexanderharm commented 1 year ago

OK, I'll try with 1.2 then...