this post was submitted on 11 Sep 2025
37 points (95.1% liked)

Selfhosted

62315 readers
1226 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Hello all, first time with Nextcloud and I must be missing something here. I have Nextcloud running in a docker container and hosting my calendar. I set it up for email reminders for events. The test email sends fine. I got a cron job set up on the host and the notifications worked for a few days, then stopped. The test email still sends just fine. So I look in the admin panel and see that the emails stopped when the background jobs stopped, which for some reason was a few days ago. No idea why, because the cron job was still firing and not giving any errors, but whatever.

So I fixed some stuff and got a host cron job running for the background tasks. Now that part is working again every five minutes as expected, but the email notifications for calendar events did not start sending again. The test email still sends just fine.

What am I missing here?

Edit: well I have no idea what the problem was, I didn't solve it. I deleted the docker container and started from scratch. Fortunately it wasn't that much of a pain because I hadn't been using it for very long. With the first installation I found a few things not to do in the second, and so far the re-install is working beautifully. Lots of things to tweak now.

top 6 comments
sorted by: hot top controversial new old
[–] sj_zero@lotide.fbxl.net 6 points 1 year ago

Since calendar is an app, but fundamental email service isn't, one thing that I found is that apps can interact in ways that are completely unintuitive.

For example, I activated the ncdownloader app, and it caused mail to stop showing emails, or I activated nextcloud music and it stopped nextcloud news from updating.

You should check your logs, because usually when there's a problem it will show up in there. The logs I'm referring to are in your administrator panel. It will be completely unintuitive as to what exactly is going on. The other thing that you can do is just pay attention to which apps you've installed, and if there are any that are a little bit unusual, just try to disabling them and seeing if calendar mail works after that.

[–] MaggiWuerze@feddit.org 4 points 1 year ago* (last edited 1 year ago) (1 children)

do they not get sent or do you just not receive them (eg because your mail server blocks them as spam)?
Do both come from the same address?
Can you try to format the testmail the same way to see if they still arrive?

[–] chriscrutch@lemmy.world 3 points 1 year ago (1 children)

I've checked my spam folder and they aren't going there. The test email and the notifications come from the same address, and the test ones arrive immediately.

[–] MaggiWuerze@feddit.org 6 points 1 year ago

if your mail server blocks them they won't show up there I think. It just refuses to accept the mail. Maybe check Nexxtcloud logs to see what happens when it tries to send the mail

[–] monogram@feddit.nl 1 points 1 year ago

I love PHP don’t you? /s

[–] 3dcadmin@lemmy.relayeasy.com 1 points 1 year ago

Running background tasks in Nextcloud is a huge thing to get right, as you have found out...