OpenEMM-19.04.000.459.ova | VirtualBox | Sends Admin emails but not Mailings

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

rmahoney
Posts: 3
Joined: Tue Aug 27, 2019 10:44 pm

OpenEMM-19.04.000.459.ova | VirtualBox | Sends Admin emails but not Mailings

Post by rmahoney » Tue Aug 27, 2019 11:48 pm

I've been happily using 2015-R2 on Windows 10 for a good while.

I've just set up the OpenEMM 2019 appliance using VirtualBox on a Gentoo host.
(And thanks very much for providing the image, by the way, its great.) The trouble
is that while I can send admin test and log mails, the mailings won't send. And
there is no sign that they have actually reached Postfix (tail /var/log/maillog). Still,
this other log *-openemm-mailoutclient.log in this directory /home/openemm/var/log
has this, at about the time the mailing is executed:

[28.08.2019 09:36:59] INFO/invoke: Connecting to localhost
[28.08.2019 09:36:59] ERROR/invoke: MailoutClient exception: Failed to connect to localhost:8089: Connection refused (Connection refused)
[28.08.2019 09:36:59] INFO/invoke: Message: blank

Possibly unrelated, but something I've noticed too, is that the following isn't created
at startup :

/home/openemm/var/run/bav.sock


I'd be grateful for any suggestions.


Best, Richard

mfreundl
Posts: 8
Joined: Wed Aug 28, 2019 10:01 am

Re: OpenEMM-19.04.000.459.ova | VirtualBox | Sends Admin emails but not Mailings

Post by mfreundl » Wed Aug 28, 2019 10:15 am

Hi Richard,
it looks to me that the backend part of the OpenEMM application is not started.
Please try the following and start it if needed.

Code: Select all

su - openemm
bin/backend.sh status
# If status is stopped
bin/backend.sh start
Can you also please tell me how you started OpenMM?

Best regards,
Marcel

rmahoney
Posts: 3
Joined: Tue Aug 27, 2019 10:44 pm

Re: OpenEMM-19.04.000.459.ova | VirtualBox | Sends Admin emails but not Mailings

Post by rmahoney » Wed Aug 28, 2019 11:15 am

Thank you very much Marcel. That did it. I can now send mailings and will
start testing things properly.

I started OpenEMM with "7 Restart" in the OpenEMMInstaller. It seems this
didn't start the backend services. Once I executed ./backend.sh start all the
services began "running".

Best, Richard

mfreundl
Posts: 8
Joined: Wed Aug 28, 2019 10:01 am

Re: OpenEMM-19.04.000.459.ova | VirtualBox | Sends Admin emails but not Mailings

Post by mfreundl » Wed Aug 28, 2019 2:00 pm

Great to hear it worked!
This seems to be a bug then. I already created an issue for this and it should be fixed with the next releases.

Best regards,
Marcel

rmahoney
Posts: 3
Joined: Tue Aug 27, 2019 10:44 pm

Re: OpenEMM-19.04.000.459.ova | VirtualBox | Sends Admin emails but not Mailings

Post by rmahoney » Wed Aug 28, 2019 9:33 pm

Sounds good :D

Richard

Post Reply