-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
Critical error after upgrading from 1.1 to 1.2 #1071
Comments
have you run this command?
|
@hmr-it-jr yes.
|
https://demo-stable.kimai.org/ looks good |
I've updated my Kimai 1.1 to 1.2 20 minutes ago and everything was ok. |
I need to fix the config, but this can't be the cause, can it? The repository is on commit 94f8159, which is 1.2. Unfortunately I still cannot visit any page without that error being thrown. |
Composer is up to date? Some users had troubles with an outdated composer. |
Oh and git status is clean? |
When I've run
composer installed/updated about 40 packages and removed 8. |
@hmr-it-jr
It did (un)install/upgrade some packages when I did it the first time.
Tried that without success.
I'm on 1.8.6. Will update to 1.9 and see if that fixes it... |
... using Composer 1.9 didn't install/upgrade/remove anything. |
|
Yeah, because there is no customer choice in the filter toolbar. But it just doesn't make any sense. The dashboard should work as well, same with tags, system settings, about... This code injects the current user into each form: I guess you can only debug the code to see what is going on. Or you paste some more logs... |
I think I found the issue:
For some reason, the migrations haven't been executed but marked as done. Very strange. |
Huh? That should lead to other errors. |
Okay, I did a quick an dirty I will keep an eye on this... Thank you very much for you fast responses and help @kevinpapst and @hmr-it-jr! :) |
Glad it works now! But to anyone reading this thread and with less knowledge about Symfony & Doctrine: DO NOT EXECUTE "schema:update --force" - THAT IS VERY UNSAFE AND CAN LEAD TO DATA LOSS (depending on the outstanding migrations). |
Good warning! Updated my comment so no one can just paste the command. |
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
After upgrading Kimai2 1.1 to 1.2 I'm getting a 500 on every page after login. I cleared the cache. Currently investigating the cause...
To Reproduce
Steps to reproduce the behavior:
Logfile
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: