Failed to Process Alert Transport Mail issues

Getting this error whenever I try an edit a transport or even create a new one. I saw something about DNS but that looks fine and I use an FQDN for my email server.

librenms@librenms:~$ ./validate.php

Component Version
LibreNMS 25.1.0-100-g2d54080e1 (2025-02-10T08:54:40-06:00)
DB Schema 2025_01_30_000121_add_ifindex_index_to_ports_table (314)
PHP 8.3.16
Python 3.10.12
Database MariaDB 10.6.18-MariaDB-0ubuntu0.22.04.1
RRDTool 1.7.2
SNMP 5.9.1
===========================================

[OK] Composer Version: 2.8.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Distributed Polling setting is enabled globally
[OK] Connected to rrdcached
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] Python wrapper cron entry is not present
[OK] Redis is functional
[OK] rrdtool version ok
[OK] Connected to rrdcached
librenms@librenms:~$

I came across this while troubleshooting problems with email notifications. They are unreliable. Some send some don’t. All test emails work without issue. I even moved to a different SMTP server and same issues. So not sure if these two are related or not but both are a problem. Thanks!

Got a picture of your LibreNMS Email Options in settings? maybe something wrong in here which is failing its reach to the smtp server? Also ensure the ports are not blocked for email.

Nothing to fun in there. Again the test emails work over and over without issues. Thanks!

Set Role to None

Assuming you are referring to the role in “Alert Transport”? If I try to create a new one with “none” I can’t save it due to “Failed to Process Alert Transport” and same issue editing an existing one. If you are referring to some other location please let me know.

Wonder if the more detailed errors will be displayed in librenms.log if you can check that when you trigger the error?

The only thing in the logs is [ALERT] INFO: device:poll unfortunately.

So this morning, I got an email when the device recovered but not when it went down. So I went into my rules and thought maybe I will disable and re-enable it. When I try to disable it it fails and says “This alert could not be updated”.
Seems like my whole alerting system is broken. Can’t seem to edit things/create things, delete things. What is at the heart of that system that could be causing this?

Another thing I just noticed, under “notifications” I can “mark as read” all day long and they always come back. Something seems broken, I just have no idea what. Any help would be appreciated.

In the email transport, you can’t have Role set when a specific email address is used.

Also run validate from the Webui.

Hello!
Are you referring to under alert-transports? When I view that it shows the Role as “none”
The first screenshot of the thread was just simply trying to create a new one since I cannot edit the old one. So I just did another test creating a new one and same red error message on the side.

Nothing exciting in the validate unfortunately.