YunoHost-Apps / kimai2_ynh

Kimai v2 package for YunoHost
https://www.kimai.org/
MIT License
13 stars 8 forks source link

cant create customer #16

Closed kabums closed 4 years ago

kabums commented 5 years ago

Hi, after a new install of yunohost and kimai2 via cli ( sudo yunohost app install https://github.com/YunoHost-Apps/kimai2_ynh ) I can´t create a customer.

Need some help.

Oops! Ein Fehler ist aufgetreten. 500: Internal Server Error Ein unerwarteter Fehler ist aufgetreten. Möglicherweise haben Sie einen Bug gefunden, daher kontaktieren Sie bitte ihren Administrator wenn der Fehler nach einem erneuten Versuch immer noch vorhanden sein sollte.

kevinpapst commented 5 years ago

But you could create a user and login? Please check your log file at kimai/var/log/prod.log

peatsn commented 5 years ago

Same issue here. PHP 7.2

[2019-05-08 22:19:50] php.CRITICAL: Fatal Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 268435464 bytes) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\OutOfMemoryException(code: 0): Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 268435464 bytes) at /var/www/kimai2/vendor/symfony/intl/Data/Bundle/Reader/BundleEntryReader.php:134)"} []
[2019-05-08 22:19:50] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\OutOfMemoryException: "Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 268435464 bytes)" at /var/www/kimai2/vendor/symfony/intl/Data/Bundle/Reader/BundleEntryReader.php line 134 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\OutOfMemoryException(code: 0): Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 268435464 bytes) at /var/www/kimai2/vendor/symfony/intl/Data/Bundle/Reader/BundleEntryReader.php:134)"} []

exhausted memory if i want to create a customer

kevinpapst commented 5 years ago

Aha, now I remember... this was a problem between Symfony (the used framework) and a PHP version. I fixed that in Kimai a while ago, see: https://github.com/kevinpapst/kimai2/issues/711 This is definitely a blocker, which will be solved with 0.9. Seel #15 for my request for the upgrade.

If you are able to switch the PHP version via Yunohost, you could try to downgrade to 7.2. @anmol26s any plans on supporting 0.9?

kabums commented 5 years ago

I have forked the kimai2_ynh and changed some settings. You can try $ sudo yunohost app install https://github.com/kabums/kimai2_ynh

This will install a working version of kimai2 0.9

kreativt commented 4 years ago

Hi,

Any chance Kimai2 for Yunohost will be updated, so that this gets fixed without me having to load kabums fork?

Thanks in advance! /K

alexAubin commented 4 years ago

Well what would be nice is that @kabums creates a PR from her/his fork : https://github.com/YunoHost-Apps/kimai2_ynh/compare/master...kabums:master

Then we can get it validated and merged somehow

yalh76 commented 4 years ago

Fixed