Help with MonicaHQ notifications
from mwyal@lemmy.world to selfhosted@lemmy.world on 20 Jun 09:52
https://lemmy.world/post/48402199
from mwyal@lemmy.world to selfhosted@lemmy.world on 20 Jun 09:52
https://lemmy.world/post/48402199
I’m running Monicahq on Pikapods. v. 4.1.2. I’ve entered my email address in the settings>General. After this email address it says “This is the email used to login, and this is where Monica will send your reminders.” However, I’m getting no notifications.
I’ve tried looking in the monicahq manual. The documentation doesn’t appear to correspond to my version. I can’t find this in my instance: docs.monicahq.com/…/notification-channels#anatomy…
The documentation says it’s possible to send test notification:
docs.monicahq.com/…/notification-channels#send-te…
I can’t find a page where I can send a test notification on my instance.
How can I fix notifications? Any help gratefully received.
#selfhosted
threaded - newest
Anything in the logs?
That whole notification section is not familiar at all. There is current work to completely redo Monica and when I view their beta at beta.monicahq.com then it seems to reflect that new version. So I suspect that documentation is wrong for the current version (which hasn’t been meaningfully updated in years).
In addition to what rhe other user asked, what do logs say, how are you configuring emails?
Have you checked with the pikapod support team and/or help pages? They’ve really helped me it in the past.
https://docs.pikapods.com/apps/monica
Does that help, for instance?
Email notification and the like usually don’t work out of the box and require SMTP configuration. This is usually available in the app admin consoles or configurable through Environment variables in the console.
I’m not running it ( and I haven’t checked it for Monica HQ ), but those would be the first things I’d look for.
The .env.example file shows SMTP settings. The example file notifies to a logfile rather than an email.
github.com/monicahq/monica/blob/…/.env.example
# Mailing # Set the MAIL_MAILER to 'smtp' if you want to send emails. MAIL_MAILER=log MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS=hello@example.com MAIL_FROM_NAME="${APP_NAME}" MAIL_REPLY_TO_ADDRESS=hello@example.com MAIL_REPLY_TO_NAME="${APP_NAME}"I’m not familiar with Pikapods but Monica v4 has trouble with notifications. First you need to ensure it’s been configured right to even send a test email, this can be triggered with a command if you have access:
php artisan monica:test-emailVarious Monica environment variables must be set to configure this, it should be in the docs somewhere if not I can fish my config out for you.
Even once that’s working you’ll need Monica to run its regular jobs for sending notifications, there’s config for that too. Finally the code has bugs and will often miss reminders in my experience. There are some open bugs still on this and I guess the devs have moved onto their rewritten version (chandler):
https://github.com/monicahq/monica/issues/5681