-
Notifications
You must be signed in to change notification settings - Fork 29
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
Deploy stuck #27
Comments
Did you check the logs under /data/log? That'd probably be the place to look, as the docker-level logs aren't that informative overall. |
yep... the only log that caught my attention was the redis log with some warnings (WARNING you have Transparent Huge Pages (THP) support enabled in your kernel). Do you know which service triggers the "[!] WARNING: User-initiated shutdown.," message? |
Nope. That also shows during a normal shutdown of the docker container, as far as I know. Googling the error message plus poste.io leads to this issue, which relates to not using host-mode networking. Is your container configured for host-mode networking? (It needs to be, or poste.io will not work correctly.) |
Hi @pjeby ... yes, i've set to host
|
You can't use port mappings with poste.io; if you need to share the IP with other web servers you need to use the environment variables described in https://poste.io/doc/getting-started - and pay particular attention to the issue that certificate setup needs to use a real port 80 unless you turn off HTTPS. Your container must be assigned an externally routed public IP whose hostname resolves in public DNS. This is mentioned both in the official poste.io docs and the README for this container. I don't know whether fixing these issues will fix your problem, but they will cause a variety of problems and so should be fixed first, especially since they might well be the cause of your issue. (For example, it's possible that your port mappings are actually disabling host-mode networking, or interfering with it in a way that causes the same shutdown issue as not using host-mode networking.) |
Right, but i have two environments production and homolog with dedicated servers.
I'm testing the image dirtsimple/poste.io on homolog enviroment, with basic configuration on compose, but it does not work...
Yes, the configuration of production environment seems strange because the documentation says to do different, but works fine. The homolog environment is a clone of production. After starting the post using the dirtsimple/poste.io image, the container hangs in "complete" status and I don't know in which log to look for the reason, because the portainer output is very simple. I'll look at the port settings again as you commented. If you have any other suggestions you can send me I would be grateful. Thanks |
According to the documentation, port mappings are discarded and you should be seeing a warning when you combine port mapping with host mode networking. If you're not seeing that warning (in either environment), something is amiss. The most obvious way in which your setup might be failing is that on your dev machine (w/this image) is that you have another web server using port 80 on one of its IPs. With the configuration you've shown ( So one log you might want to check would be log/nginx/error.log in the data volume. You should probably also set |
After starting process, the container stuck on status complete.
On logs, there no errors but show a warning.
How can i fix it or how to debug to find the real error?
The text was updated successfully, but these errors were encountered: