mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #378] "Apprise is disabled and/or not installed" depends on caller #291
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#291
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CosmicToast on GitHub (Jun 8, 2020).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/378
On one of my servers, when an apprise integration actually runs, it fails with "Apprise is disabled and/or not installed".
However, apprise is enabled, present in the integrations list, and pressing the "Test" button on the integration successfully sends the notification via apprise.
The apprise(1) executable is present, and
import appriseby hand works ok.I looked through the code, but that doesn't appear to help.
DEBUG = Truedoes not provide any additional insights.How would I go about debugging this further?
@cuu508 commented on GitHub (Jun 9, 2020):
How are you running the
sendalertscommand?My hunch would be that the
sendalertscommand doesn't have the same environment variables, or is not using the same virtualenv as the web server.@CosmicToast commented on GitHub (Jun 9, 2020):
Aha! That wasn't quite it, but I have it solved now.
I was running sendalerts as a systemd service, but while tinkering around I didn't reload it (only the main deployment) when making changes.
All it took was a restart of the sendalerts service to get everything working as expected, thank you for the hint!
Hopefully this issue helps anyone else that has any similar problems.