Giter Club home page Giter Club logo

Comments (8)

canonex avatar canonex commented on August 11, 2024 1

Yes, version 1.18 is working (... tested with mobile connection to get a disposable ip)!
nb. it should be renamed:
mv Fail2BanBundle-master Fail2BanBundle

Thank you,
Riccardo

from fail2banbundle.

kevinpapst avatar kevinpapst commented on August 11, 2024

Bildschirmfoto 2022-08-02 um 10 17 20

from fail2banbundle.

canonex avatar canonex commented on August 11, 2024

I have the same exact problem.

Debian 11 bullseye
Php 7.4.30
Kimai 1.28.1

from fail2banbundle.

kevinpapst avatar kevinpapst commented on August 11, 2024

Totally forgot abou this issue, thanks for the reminder @canonex

Can you please try the following:

  • Remove the plugin
  • Hard delete the cache rm -r var/cache/*
  • Install the lastest plugin from here (I made an update just minutes ago)
  • run bin/console kimai:reload --env=prod

from fail2banbundle.

canonex avatar canonex commented on August 11, 2024

Thanks to you for the speed!

Removed the plugin, removed the cache, unzipped the file, reloaded kimai and fixed permissions.

I don't get error but the plugin doesn't appear in the plugin list.
Even if renamed from Fail2BanBundle-master to Fail2BanBundle (I have no idea if it is of any use but anyway I tried it....).

from fail2banbundle.

kevinpapst avatar kevinpapst commented on August 11, 2024

Ah, I am so stupid, I did not even test, sorry!
Please redo the exact same steps from above once again and it will work... hopefully ... 😁

from fail2banbundle.

kevinpapst avatar kevinpapst commented on August 11, 2024

Fixed in version 1.2:
https://github.com/Keleo/Fail2BanBundle/releases/tag/1.2

from fail2banbundle.

canonex avatar canonex commented on August 11, 2024

Nb. it works only if I remove the previus one and git clone again.

If I just git pull, as I do for others plugins, I get:

PHP Warning:  include(/var/www/stikim/vendor/composer/../../var/plugins/Fail2BanBundle/Fail2BanPlugin.php): failed to open stream: No such file or directory in /var/www/stikim/vendor/composer/ClassLoader.php on line 444
PHP Warning:  include(): Failed opening '/var/www/stikim/vendor/composer/../../var/plugins/Fail2BanBundle/Fail2BanPlugin.php' for inclusion (include_path='.:/usr/share/php') in /var/www/stikim/vendor/composer/ClassLoader.php on line 444

[WARNING] Some commands could not be registered:
In getPluginManagerService.php line 12:
Class 'KimaiPlugin\Fail2BanBundle\Fail2BanPlugin' not found
                                                           
[WARNING] Some commands could not be registered:
In getPluginManagerService.php line 12:
Class 'KimaiPlugin\Fail2BanBundle\Fail2BanPlugin' not found

Reloading configurations ...
============================
...

Thank you,
Riccardo

from fail2banbundle.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.