Closed markoftw closed 3 years ago
I cannot reproduce this issue locally, the image runs well. :)
If I'm not mistaken that's not the last step that should in the logs? Tried multiple times, deleted images, rebooted, ..., the same part gets stuck, even bash'd into the container and port 80 and 443 were not in use. 🤷
Using Docker v20.10.6 on Ubuntu 20.04.2 LTS
I ran into the same problem and it looks like it hangs on the mail command in tip_file.sh. The container boots up without issues now after adding MAIL_THE_TIP_FILE=NO
to my local iredmail-docker.conf file.
Seems you're right, boots up successfully after adding that parameter. Thanks for the tip!
Interesting, it works fine locally without MAIL_THE_TIP_FILE=NO
.
I'm investigating this issue.
Should be fixed with last commit: https://github.com/iredmail/dockerized/commit/05a77c4e2b7f0ea8141001c51b96e957d8347da9
Could you guys help test when the new image is available on Docker Hub? https://hub.docker.com/r/iredmail/mariadb
I can confirm it works without MAIL_THE_TIP_FILE=NO
, received a tip email after successful boot. It can be closed.
Thanks for the help. :)
@iredmail Does not work for me using current iredmail/mariadb:stable
.
Container starts, logs stops with
[iRedMail] [Entrypoint] /docker/entrypoints/mlmmjadmin.sh
then I can't access any port.
When ssh'ing into the container and using "ps -elf", I see
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD
4 S root 1 0 0 80 0 - 1058 - 21:30 ? 00:00:00 /bin/bash /entrypoint.sh /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
4 S root 620 1 0 80 0 - 8006 - 21:31 ? 00:00:00 mail -s Details of this iRedMail container postmaster@domain.tld
0 S root 621 620 0 80 0 - 9507 - 21:31 ? 00:00:00 /usr/sbin/sendmail -oi -f root@domain.tld -t
4 S root 622 621 0 80 0 - 9504 - 21:31 ? 00:00:00 /usr/sbin/postdrop -r
4 S root 623 0 0 80 0 - 1061 - 21:33 pts/0 00:00:00 bash
0 R root 639 623 0 80 0 - 1475 - 21:34 pts/0 00:00:00 ps -elf
Only after I kill the mail process (620) the process continues.
For me this is reproducible on Debian when deleting all files and starting over.
The container only starts successfully when using MAIL_THE_TIP_FILE=NO
.
ok, let's try to run the mail -s ...
in background and not hang there.
Please help test when the new image is available on Docker Hub: https://hub.docker.com/r/iredmail/mariadb
@iredmail Works for me now, thanks!
@bluepuma77 Great. Thanks for the feedback. :)
@iredmail Just an after-thought: maybe it did not work because I did not set --hostname to the full email domain.
@bluepuma77 Could be. but if it's resolvable, it should be fine.
Installation / startup seems to be stuck with /docker/entrypoints/mlmmjadmin.sh, over an hour there now.
I have tested it on a fresh Debian installation as well, stuck there too.
Using the instructions from the docker hub.