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
Nothing happens when trying to create account #1910
Comments
@leodoi3 please post this issue in my repo as it seems you are using my simple Docker Compose for SimpleLogin. However, it seems you rely on existing Web Server and SSL certs. This Docker Compose assumes postfix is dockerized and using the same network. Is that the case for you? - POSTFIX_SERVER=postfix
+ POSTFIX_SERVER=10.0.0.1 If postfix is running in a Docker container, we do not need to expose the postgresql TCP ports. However, if that’s not the case you will need to expose the TCP ports as suggested in the original documentation. Please, change postgres:
image: postgres:12.1
container_name: sl-db
env_file: .env
healthcheck:
test: [ "CMD", "pg_isready", "-d", "simplelogin", "-U", "myuser" ]
interval: 10s
retries: 3
start_period: 1s
volumes:
- ./db:/var/lib/postgresql/data
+ ports:
+ - "5432:5432"
networks:
- sl_network
restart: unless-stopped Finally, this Docker Compose also assumes nginx is running inside a Docker container. If that is not the case, you will need to expose the SimpleLogin TCP ports explicitely as you have done. |
I have updated the docker-compose:
.env:
|
I'm not sure about your postfix configuration. Can you please stop and restart the full stack and share the logs from the Can you then use the register/onboard a new user from the web app and share the resulting logs from the I suspect there might be a issue with the SSL cert configurations. |
I haven't set up SSL yet but I don't think it should make a difference why nothing is happening.
And here is the logs from
This is how I currently have postfix set up in the compose yaml:
This is the content of
|
You are right, SSL/TLS should not be an issue initially for postfix even though I would not recommend starting without a proper configuration. This is really difficult for me to help you further as I do not know which postfix image you are using.
I have removed/adjusted those from your example and deployed on my host and it works right away even without SSL. I suggest you start from scratch with my config which is known to work out of the box. If you clone my repository, you will be able to slightly change it towards your configuration and commit each working state so that you can understand what is the issue for you. |
@springcomp I have tried from scratch again by cloning your repo and running it from there, but I still get the same problem where nothing happens when trying to create an account. I am trying to run this on a Synology NAS if that helps. I had to make a few changes to the docker compose file since some ports were already in use like 443,80 and 25, so I commented those out. Also my version of docker-compose did not support the includes tag so I manually merged all the other yamls together. I did not set up any of the SSL or domain yet since I just wanted it to work. I ran
|
@leodoi3 Please, be aware that if you remove port I have pushed a "poc" branch and demonstrated that it sort of works but you do not really want to go down that path. Unfortunately, there is an issue in SimpleLogin that makes it seemingly impossible to work if not properly exposed on TCP port If you do enable TCP ports Basically, there are no shortcuts here, you have to use proper SSL certificates (self-signed will work for demonstration purposes) and proper expected TCP ports for end-to-end demonstration. And you absolutely have to use proper DNS configuration for the mail server as well. I’m not sure what you are after with your attempts. The full stack works out of the box. You can change the nginx/acme.sh part of the stack with something else to better suit your needs but I suggest you start with a properly setup domain, with SSL certs and use the provided postfix configuration from my repo. Once you are happy, you can start fiddling with the postfix configuration to better reflect your setup. |
@leodoi3 hi, have you got that docker compose working? can you share final results and configs ? |
@uhlhosting @leodoi3 I’m interested in understanding how is your intended usage, as this docker is 100% working right outside of the box on a freshly provisioned and booted server.
In that case, you need to remove the relevant configurations from my docker-compose and update the paths to the SSL certificates. You also have to comment some lines from the
My docker-compose set is specifically designed to include a dedicated postfix installation which is barebones and simple but works right outside the box. If you need more elaborate postfix configuration, I guess there is some work to do. That said, the pure SimpleLogin part of the docker-compose source code, without NGINX / Certbox and postfix is also known to be working. If you rewind to early commits in the repository, you will see that was how I was running SimpleLogin initially. NGINX and acme.sh were running bare metal. As was running postfix, following the instructions from this repository. Only the SimpleLogin images were included in the docker-compose. Please, let me know what is your setup and what is not working for you ? |
@springcomp Hi, Thanks for the follow up! I am deploying all my docker apps in caprover. So my final purpose here is to find a working vetted solution. That has all required for the app to work. Yet without acme and nginx part. Since they are handled by caprover. So will try to addapt your docker compose into working caprover template and see how that works. Will keep you posted in this thread. |
Unfortunately I wasn't able to get my setup working as I have eventually gave up. Hopefully you will be able to find something and get yours to work. |
@uhlhosting Hi, Please allow me to inquire if you finally succeeded in using Docker-Compose to self-host SimpleLogin behing CaRover ? |
@springcomp Hi, Unfortunately time wasn't on my side to work our the issues. Will check back the deployment and see if any changes were pushed. I cannot recall now what actions I have made or made not. |
I am unable to create a new account or login. Nothing happens when I click the 'Create account' button. I get no message or no error.
The logs do not show any error either.
My docker-compose.yaml
My .env
The text was updated successfully, but these errors were encountered: