New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite loading when entering settings or editing a customer #685
Comments
Never seen that error. The usual out-of-memory, caused by wrong file permissions for the log file has a different exception root. Your exception seems to be initiated/caused by the Symfony "intl" replacement drop-in bundle, which is ONLY used as fallback when the real php-into extension is not existing on the system. Either way, please install |
I just checked that EDIT: I also tried Apache now, but the same result. |
Then I can only help to poke around to find the reason, as I really have no clue whatsoever what this might be.
|
I removed those 2 dependencies and also did a composer reinstall. My guess is that it could be a issue with my PHP setup. I'm on Arch Linux. I have added these lines to my # --------------------------------------------------------------------------------
# Framework Settings
framework:
default_locale: "ja"
translator:
fallbacks:
- "en"
session:
save_path: "/caddy/kimai/data/sessions/%kernel.environment%" Enabled extensions:
There are no issues inside the docker container, even with my modifications. I'm out of ideas how to debug this. Starting |
I added your config to my local installation, no change visible. Maybe you try to add some debug statements to the file /caddy/kimai/app/vendor/symfony/intl/Data/Bundle/Reader/BundleEntryReader.php |
I managed to build a custom docker container based on the official one which is owned by me (UID 1000). I will post the docker files and build scripts later. Still need to adjust some things here and there. I gave up getting this running on the host system. EDIT: I had other problems with the API too, it leaked everything everywhere and ignored roles and permissions. The problem doesn't seem to exist in a Debain Stretch container, but on Arch Linux. EDIT2: |
Thanks for sharing and your feedback! |
Hi I have exactly the same problem. I'm using Arch as well but no docker installation. There is actually no proper log available. I tried all your suggestions above but nothing worked so far. Everything else works fine, only the customer area seems to have some problems. If I find a solution I'll let you know. Edit: |
Which server are you using @dansman ? |
I use my server at home. Nothing special. An old laptop. I can try it on linode with arch as well if you want to but I guess there will be no difference. |
Which PHP version? |
Hi Kevin PHP 7.3.4 [PHP Modules]
Enabled
mariadb 10.3.14-1 Nginx 1.14.2-1 Log
Config
Which files? No other useful logs available. |
Hey, Cheers |
Thanks @glukose for the info, that's very helpful. |
Thanks @glukose & @kevinpapst I check it then when everything is up to date. |
Can you please test the PR #710 @dansman @magiruuvelvet ? |
Hi Thanks for the quick solution. No problems so far anymore here. |
@dansman There were problems reported by @magiruuvelvet for Arch Linux and PHP 7.3 with these changes. Could you have a look at the comments in #720 and let me know if you experience the same problems with the API requests or if it works on your end as expected? |
Yes, that was a typo, I meant #710
This should be true for the "edit timesheet" and the toolbar-filter. |
Yes, that's working fine. Like I said, I use only global activities. |
Perfect, thats what I wanted to hear. Thanks for your feedback! |
You are welcome. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai. |
Describe the bug
Entering the system configuration page or customer edit page results in infinite loading and eventually a timeout. The
php-fpm
generates high CPU usage in the meantime. The memory usage increases during this process.To Reproduce
Steps to reproduce the behavior:
System Settings
orEdit a Customer
Logfile
Logfile (Server/php-fpm)
There doesn't seem to be a very helpful error message. I increased the memory limit to 2GB, but it just takes longer to get to the exception.
Additional context
I double checked file permissions to be absolutely sure its not a permission related problem.
I also tried an older version, but I have the same issue. Not sure what is going on there.
It works in the docker container, but I want to migrate kimai to the host system as I'm interested into contributing to the project.
The text was updated successfully, but these errors were encountered: