-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
Error / Internal Server Error #581
Comments
Can you please attach full webapp's docker log ? Issue may be related (or even the same?) to Issue#579. In case it is same problem - well, I am currently working on it! |
i will deploy both stacks and send you the log seperatly in 5 min |
only Web App + Worker |
PostgreSQL compose |
In case of last logs there is an error:
Which means that in your case tables were not created. Could you check if db It is interesting, because I literally just copy paste this docker compose:
And then |
could you quickly tell me how i could test it. here is the log from db |
I found the problem. The problem is that docker compose's "depends_on" waits only for the container to start, but not the service inside it; in other words "db" container may be up, while actual initialization of the postgres/mysql database is not yet ready! I will fix that part. Thank you again for reporting the problem! |
@tobasium |
Hi, tested, and found new error: MySQL / MariaDB compose |
Hi tested, Solr compose works. so that i can login into pm but solr container exits after start with following error: Cannot write to /var/solr as 8983:8983 |
I am closing the ticket as original issue was solved (original issue was that app started before db service was up, which caused "core_user table not found exception" - fixed in 3.0.2). |
Hi i wantet to run papermerge but it did not work. Maybe someone could help me to solve the problem.
Did not see where exactly the problem is.
I use portainer and tested 2 different compose files:
Web App + Worker
PostgreSQL
Web App + Worker
for test i use the same data as in documentation.
papermerge starts
i try to login it loads and then it shows only error
i only see Error
Log in Docker:
sqlalchemy.exc.NoResultFound: No row was found when one was required
PostgreSQL (change username tobasium)
papermerge starts
i try to login
Under the pw field it shows:
Internal Server Error
Docker Log:
[SQL: SELECT core_user.id AS core_user_id, core_user.username AS core_user_username, core_user.email AS core_user_email, core_user.password AS core_user_password, core_user.is_superuser AS core_user_is_superuser, core_user.is_staff AS core_user_is_staff, core_user.is_active AS core_user_is_active, core_user.first_name AS core_user_first_name, core_user.last_name AS core_user_last_name, core_user.home_folder_id AS core_user_home_folder_id, core_user.inbox_folder_id AS core_user_inbox_folder_id, core_user.date_joined AS core_user_date_joined, core_user.created_at AS core_user_created_at, core_user.updated_at AS core_user_updated_at
FROM core_user
WHERE core_user.username = %(username_1)s
LIMIT %(param_1)s]
[parameters: {'username_1': 'tobasium', 'param_1': 1}]
(Background on this error at: https://sqlalche.me/e/20/f405)
Info:
The text was updated successfully, but these errors were encountered: