-
Notifications
You must be signed in to change notification settings - Fork 62
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
Cannot sign into new installation #17
Comments
I am wondering if this issue is related to docker compose problem you had i.e. #18
|
Hmm, yeah... I am using Ubuntu server 20.04 LTS with docker and Portainer installed. It has no GUI (being server) so I have to use a separate PC to connect to it. I did not change any of the config (Besides the other issue you mentioned), so I don't know what could be causing it. |
Ohhhhh I just looked at which log you were talking about. That error is because I am using portainer locally only, and it is using a self-generated TLS certificate. I have to click the "proceed to this site anyways" in chrome when I go to the portainer web portal. Edit: Also there is no proxy besides Traefik, which is using the config you set up. It is completely vanilla, besides what I fixed in issue #18. |
Ok, the issue still happens. I used the new setup, with the |
Would this have anything to do with the error?
|
Also noticed a bunch of python errors in the |
AHA! I found something! the 1st line in that
And the error in the Database is:
Notice the |
The most important message from the log is this part:
Which means that for some reason it fails to connect to database. In docker compose file, backend_init depends on db. Aparently your database service is not running.
|
Huh. The database is running. I don't know why it would be connecting. |
Have you looked into doing something like this: https://docs.docker.com/compose/networking/#links If you add a link to the |
I discovered Papermerge today and gave it a try. This setup was started via docker-compose on a dedicated SLES 15 SP3 host. I experienced the same issues as described here during startup ("core_user" missing, db connection refused... seem to be irrelevant here) and also that "404: Page Not Found" error. I configured "HOSTNAME" in .env as a full-qualified hostname ("somehost.my.domain"). Using the FQDN in the browser lead to that 404 error while using just the short name worked perfectly and presented the login page as expected. I finally solved this 404 error for my setup and it seems that #22 is broken by design (@ciur): "HOSTNAME" from the .env file is simply not used if that variable also exists in the shell environment where docker-compose is executed. On my system "HOSTNAME" is set automatically and contains the local part of my system's hostname. See docker-compose documentation regarding environment variables
I fixed this by just renaming the variable HOSTNAME to USE_HOSTNAME in .env and docker-compose.yml. |
@cupracer , awesome research! Thank you! @gljones2001, can you please confirm if renaming |
Closing the ticket due to inactivity. |
So sorry, I ended up switching to a different software. |
I have installed the Portainer setup method, with docker.
The issue I am currently having though is this:
I cannot get any further. It locks me out for some reason. Here are the logs:
_papermerge_redis_1_logs.txt
_papermerge_db_1_logs (1).txt
_papermerge_es_1_logs (1).txt
_papermerge_frontend_1_logs.txt
_papermerge_ws_server_1_logs.txt
_papermerge_backend_1_logs.txt
_papermerge_worker_1_logs.txt
_papermerge_backend_init_1_logs (1).txt
_portainer_logs.txt
_papermerge_traefik_1_logs.txt
Please help. I don't know what to do at this point.
The text was updated successfully, but these errors were encountered: