Closed sinethra closed 1 year ago
Use the correct version of the plugin.
Read these issues: https://github.com/kevinpapst/ImportBundle/issues?q=is%3Aissue+is%3Aclosed
Yes it works if get the plugin from the 1.x branch because the kimai about page says the version I'm using is 1.30.5. How could the version be 1.30.5 if im using the kimai/kimai2:latest image according the above docker-compose file ?
I don't know, but I assume latest does not include pre-releases. Which would be highly suprising and a terrible bug IMO.
2.0 is not yet released and only available as beta.
Yes, this could be a bug. According to the docker hub, it's the V2 image https://hub.docker.com/r/kimai/kimai2
I guess, for now, I'll use the plugin versions compatible with Kimai V1
Don't mix up Kimai2 with the release 2.0.
Kimai2 is the name of the software, while 2.0 is the release version which is in beta right now.
Thanks @kevinpapst . Understood
Describe the bug Hi I have spun up a kimai instance on docker using this docker-compose file (https://github.com/tobybatch/kimai2/blob/main/compose/docker-compose.fpm.prod.yml).
I have copied the ImportBundle plugin https://github.com/kevinpapst/ImportBundle to the plugins directory and when I run "bin/console kimai:reload --env=prod" i get the below error
Cannot autowire service "KimaiPlugin\ImportBundle\Command\KimaiImporterCommand": argument "$passwordHasher" of method ___construct()" has type "Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface" but this class was not found.
I think the latest kimai FPM image is not really V2, cuz the about page says the version is 1.30.5
This could be the reason why i get the above error when trying to install ImportBundle 2.0
To Reproduce Steps to reproduce the behaviour:
Desktop (please complete the following information):
Docker compose file (with passwords redacted)