Stream: troubleshooting

Topic: βœ” SystemMail Setting


view this post on Zulip Sherry Lake (Mar 06 2025 at 20:40):

UVA has upgraded from V6.2 to V6.5,
Now we need to get the dataverse.mail.system-email setting set.

We do not have MicroConfig, so I know I need to add this setting to JVM, but what is the syntax? And where in the domain.xml file should it go?

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 20:43):

In domain.xml, it should be put near the other "dataverse" lines.

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 20:44):

You can probably copy and paste a similar setting and tweak it.

view this post on Zulip Sherry Lake (Mar 06 2025 at 20:44):

I have this one that I think I can tweak?

view this post on Zulip Sherry Lake (Mar 06 2025 at 20:44):


<jvm-options>-Ddataverse.bagit.sourceorg.email=libra@virginia.edu</jvm-options>

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 20:44):

sure, great example

view this post on Zulip Sherry Lake (Mar 06 2025 at 20:45):

OK, where was this in the release notes?
I only found out looking at the log file.

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 20:45):

% ack system-email doc/release-notes
doc/release-notes/6.2-release-notes.md
81:Once reconfiguration is complete, you should remove legacy, unused config. First, run `asadmin delete-javamail-resource mail/notifyMailSession` as described in the [6.1 guides](https://guides.dataverse.org/en/6.2/installation/installation-main.html#mail-host-configuration-authentication). Then run `curl -X DELETE http://localhost:8080/api/admin/settings/:SystemEmail` as this database setting has been replace with `dataverse.mail.system-email` as described below.
83:Please note: as there have been problems with email delivered to SPAM folders when the "From" within mail envelope and the mail session configuration didn't match (#4210), as of this version the sole source for the "From" address is the setting `dataverse.mail.system-email` once you migrate to the new way of configuration.
347:- dataverse.mail.system-email

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 20:46):

"Simplified SMTP Configuration" at https://github.com/IQSS/dataverse/releases/tag/v6.2

view this post on Zulip Sherry Lake (Mar 06 2025 at 20:46):

Oh... I was looking in V6.3,
thanks.

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 20:46):

We're trying to simplify your life. :heart:

view this post on Zulip Sherry Lake (Mar 06 2025 at 20:51):

I usually only look at the "Upgrade Instructions" thinking that's where the "to do" things are.

I should be reading the whole release :thinking:

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 20:52):

Hmm, that's good feedback. /cc @Juan Pablo Tosca Villanueva

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 20:53):

I agree. Better to have the "to do" stuff together under upgrade instructions.

view this post on Zulip Sherry Lake (Mar 06 2025 at 21:06):

This is a very big change, and we have not had emails working for 3 months (I see now). I am trying to following the guide, but not sure how?

Do I need to set these as well:
https://guides.dataverse.org/en/6.2/installation/config.html#dataverse-mail-mta

Since I did not set up SMTP, only added the :SystemMail DB setting.

I am not sure what to do.

So far I have added Β dataverse.mail.system-email, and Β dataverse.mail.support-email to domain.xml

Do I need to add the other ".mta" lines?

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 21:08):

Yes, I believe so.

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 21:09):

Although...

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 21:09):

In that 6.2 release note we say "deprecated" on "removed" right?

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 21:09):

Does the old way still work? :thinking:

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 21:10):

As usual, I'll run to @Don Sizemore who always has a better idea of how to actually run Dataverse than I do. :sweat_smile:

view this post on Zulip Sherry Lake (Mar 06 2025 at 21:11):

We are at V6.5,

I clicked "Support" link at the top and have not received the email from our Dataverse.

But notifications work - when creating a dataset and publishing, so I think email is working, just not support-email.

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 21:11):

Oh, interesting.

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 21:11):

I'm glad email is working in general. Phew!

view this post on Zulip Sherry Lake (Mar 06 2025 at 21:12):

Now that I have those two line in JVM, I'll stop/start payara (I need to do that, right).

And try email again.

view this post on Zulip Philip Durbin πŸš€ (Mar 06 2025 at 21:12):

yeah, you have to restart

view this post on Zulip Don Sizemore (Mar 06 2025 at 21:29):

Hello, just getting off a call - Sherry, are you all set?

view this post on Zulip Sherry Lake (Mar 06 2025 at 21:32):

OK, now am getting emails from "Support" link.

Am set now.... and more importantly.... the "depreciated" message in our log files have stopped:

The :**SystemMail** DB setting has been deprecated, please reconfigure using JVM option dataverse.mail.system-email]]

view this post on Zulip Don Sizemore (Mar 06 2025 at 21:32):

Those only print when it sends an e-mail, but yes it's nice to quiet them down. Are you as big into soccer as baseball?

view this post on Zulip Sherry Lake (Mar 06 2025 at 21:33):

Oh.... but I've got 5270 lines in the most recent server.log

view this post on Zulip Sherry Lake (Mar 06 2025 at 21:34):

I follow soccer, but baseball is my in-person game. I have season tickets to UVA baseball. I go to UVA soccer games when the weather is nice.

view this post on Zulip Don Sizemore (Mar 06 2025 at 21:35):

Interesting! There is one server I've been meaning to update. I asked about soccer because the reason for shifting DCM by a day got announced today https://goheels.com/news/2025/3/4/general-mexican-and-turkish-mens-soccer-national-teams-to-meet-june-10-at-kenan-stadium

view this post on Zulip Sherry Lake (Mar 06 2025 at 21:41):

Thanks @Don Sizemore @Philip Durbin β˜€οΈ :dataverse_man:
Now off to find reasons for a externaltools.zipPreviewer.displayname warning....

Might be a new troubleshooting topic tomorrow..... :smile:

view this post on Zulip Notification Bot (Mar 06 2025 at 21:42):

Sherry Lake has marked this topic as resolved.


Last updated: Oct 30 2025 at 06:21 UTC