-
Notifications
You must be signed in to change notification settings - Fork 150
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
HTTP code 500 with new (and also existing) installation #67
Comments
Hello @njordr !
What was your previous wallabag version please? |
Well, I don't remember, but the issue happens also with a fresh installation on an empty database |
We test it with a fresh db on every commit. So we need more informations. Config and env variables. |
Did you completely removed and recreated the container? |
Yep, also the database |
Hi @njordr, Pls check my answer for docker users, maybe will help in your case https://gist.github.com/nicosomb/7c537995f2b845a30b4d6cdf23c1e22c |
@nmarjanovic I tried the first command, this is the result: ++ migrating 20161024212538 Migration 20161024212538 failed during Execution. Error There is no table with n [Doctrine\DBAL\Schema\SchemaException] I can confirm the database is empty. Is there a way to create it from command line? |
There's a path issue here. |
@njordr If you are using mysql and not sqlite my solution is not going to help you much, but you can check wallabag/wallabag#2795 how to do same with mysql, and to create db is easy, check https://github.com/wallabag/docker for all information, you can create mysql db and then connect container to it or you can run mysql container and link with wallabag, but think to make data volume on your server if you don't want to lose data etc.. And yep, like @tcitworld said you need to check all path[s]. |
I have no idea. I can't reproduce it at all. |
@nmarjanovic I cannot find how to create the db from scratch. The env varibale POPULATE_DATABASE seems not working because the db is still empty. |
@njordr Just check https://github.com/wallabag/docker#mariadb--mysql, that is all |
already done, no luck |
did you have any volumes for the db set? |
yep, /var/lib/mysql |
I found the issue, it doesn't resolve db address I made a test:
And in another console:
Any bell ringing? |
DNS is not the issue, the container doesn't have an ip:
|
Is your network correctly defined ? How did you create it ?
|
Seems fine to me, also because it's used by other containers without problems
It was created by rancher |
Seems to happens also with other docker images, so i can close this issue, is not related to wallabag Thanks anyway |
Hi.
I run the last docker image available attached to an existing database, but it gave me error 500 with redirection to /login
So I tried to run it with a new database, with the same result.
Here is the logs from the new instance:
The text was updated successfully, but these errors were encountered: