-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Status 500 "Error calling /en/." since 1.16.0 #871
Comments
What do the logs of Part-DB says? It will explain what the 500 error means |
I couldn't access the logs, as the logs are maybe inside the docker container instead of a mounted folder? Please see the attached file (it's HTML). It starts at the bottom going up. Edit: This line:
|
Same exact issue.....
Found line in error log which indicates a database schema problem.. |
In both cases it appears, that he cant find the You should check if that the database In my private instance and the demo instance the new Part-DB and the required migration works fine... |
The migration script told me it was succesful, just like tpazdera but indeed in my |
Same problem
I saw there were migrations to perform, did so and cleared cache but no change and the column isn't there. Using the Docker container on Unraid with sqlite. |
I'm just trying to copy the app.db file from version 1.14.5 to version 1.16.0 and I can't because the |
Edit: Now see that this was in the mySQL function and the sqlite one was more elaborate... but it worked anyway as far as I can tell. Probably don't do that in your setup. From what I can see it chokes on
not liking the 2 statements in one, threw an error in my sqlite editor, I ran the whole block manually with that as 2 separate statements and it worked.
|
What does |
In my case I show that that version does have a migrated status.
|
I have slightly changed the migration (into basically what @kilrah) reported as succesful. For MySQL this is bascially the same as before, for sqlite its slightly different, but this should normally not make a difference. You can either take the latest commit from the repo master branch, or you wait until the docker image is built, and use the jbtronics/part-db1:master image, and try it out if it is working that way... |
I'm unsure if this is the same issue, as I was only encountering Error 500 past /en/ pages where the database was referenced. This previous thread helped #648. |
The problem persists in jbtronics/part-db1 version 1.16.1 I updated the docker image from 1.16.0 to 1.16.1 After the update I did the migration:
After that, I logged back in to part-DB. The home page works and confirms i'm on 1.16.1, but give the same popup: error (Status 500) Every other page directly displays error 500. The logs show this line:
Here is my full log (again HTML going bottom to top) Do you need anything else? |
I have the same issue. I upgraded to 1.16.1, re-ran the doctrine:migrate command. The messages claimed that the task was either not needed or no task "was executed but did not result in any SQL statements." However, all migration tasks completed successfully, confirmed by doctrine:list.
The attachments table still contains the old path...
Anything I am doing wrong? |
Same, I restored an old DB and tried upgrading it with the :master tag and it also did not work |
@salvatoreraccardi It looks like you may have a different problem. This issue is specifically for the database issue where the attachments table has not been migrated to a later schema. My table has a "path" column, but yours has the updated "internal_path", "external_path". There may be a new thing going on. You may have to check your logs and perhaps start a new issue. |
@tpazdera You are right, I noticed it now thanks for the feedback. I did a fresh install and encountered the problem I reported in the comment above right away. I don't understand what I'm doing wrong. |
I manually ran the update steps from @kilrah above, everything works fine for me now. |
Describe the bug
Since upgrading to 1.16.0, almost every page displays an error 500. It states:
error (Status 500)
Error calling /en/.
Try to reload the page or contact the administrator if this error persists.
To Reproduce
Steps to reproduce the behavior:
php bin/console doctrine:migrations:migrate
as user www-data, type Yes, migation succesfulThe error message advises to run
php bin/console cache:clear
but this does not help.Screenshots
https://postimg.cc/4YYQJtnW
Server Side
Host 10.0.20.2
Host 10.0.20.4
Desktop:
Additional context
My docker-compose is:
The text was updated successfully, but these errors were encountered: