Open EsmailELBoBDev2 opened 21 hours ago
The manual trigger endpoints only accept GET requests. To link radarr/sonarr etc to autopulse, you setup a radarr/sonarr type of trigger, not manual.
Well, I'm trying to link whisparr mostly and used inotify with autoscan but when I try notify in this I get key map error (even tho I checked my config and used same one from example in readme)
And another question how to know if it's actually working? I get the notification in console and in discord, made sure jellyfin is right url (using local/internal domain name) and API key is correct but nothing shows up even after time or restart of jellyfin..had same issue with autoscan too
UPDATE: I fixed the second issue but first issue still, I can't use type: notify
and I'm not sure why...
Hmm, what happens when you use notify?
I get:
autopulse | 2024-11-16T21:12:14.045581130Z [migrations] started
autopulse | 2024-11-16T21:12:14.045628801Z [migrations] no migrations found
autopulse | 2024-11-16T21:12:14.160646686Z usermod: no changes
autopulse | 2024-11-16T21:12:14.161992267Z ───────────────────────────────────────
autopulse | 2024-11-16T21:12:14.161999397Z _____ __ __ _____ _____ _____ _____
autopulse | 2024-11-16T21:12:14.162002207Z | | | | __|_ _| | |
autopulse | 2024-11-16T21:12:14.162004617Z | --| | |__ | | | | | | | | |
autopulse | 2024-11-16T21:12:14.162007017Z |_____|_____|_____| |_| |_____|_|_|_|
autopulse | 2024-11-16T21:12:14.162009417Z _____ __ __ _ __ ____
autopulse | 2024-11-16T21:12:14.162011747Z | __ | | | | | | \
autopulse | 2024-11-16T21:12:14.162014127Z | __ -| | | | |__| | |
autopulse | 2024-11-16T21:12:14.162016437Z |_____|_____|_|_____|____/
autopulse | 2024-11-16T21:12:14.162018748Z
autopulse | 2024-11-16T21:12:14.162020958Z Based on images from linuxserver.io
autopulse | 2024-11-16T21:12:14.162023338Z ───────────────────────────────────────
autopulse | 2024-11-16T21:12:14.162212511Z
autopulse | 2024-11-16T21:12:14.162218401Z To support LSIO projects visit:
autopulse | 2024-11-16T21:12:14.162221271Z https://www.linuxserver.io/donate/
autopulse | 2024-11-16T21:12:14.162223741Z
autopulse | 2024-11-16T21:12:14.162226061Z ───────────────────────────────────────
autopulse | 2024-11-16T21:12:14.162228831Z GID/UID
autopulse | 2024-11-16T21:12:14.162231181Z ───────────────────────────────────────
autopulse | 2024-11-16T21:12:14.164740950Z
autopulse | 2024-11-16T21:12:14.164752890Z User UID: 911
autopulse | 2024-11-16T21:12:14.164755691Z User GID: 911
autopulse | 2024-11-16T21:12:14.164758101Z ───────────────────────────────────────
autopulse | 2024-11-16T21:12:14.205713223Z [custom-init] No custom files found, skipping...
autopulse | 2024-11-16T21:12:14.222561718Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:14.222592508Z
autopulse | 2024-11-16T21:12:14.222595548Z Caused by:
autopulse | 2024-11-16T21:12:14.222598068Z missing field `timer`
autopulse | 2024-11-16T21:12:15.229119868Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:15.229142588Z
autopulse | 2024-11-16T21:12:15.229145838Z Caused by:
autopulse | 2024-11-16T21:12:15.229148338Z missing field `timer`
autopulse | 2024-11-16T21:12:16.235729188Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:16.235757288Z
autopulse | 2024-11-16T21:12:16.235759758Z Caused by:
autopulse | 2024-11-16T21:12:16.235761638Z missing field `timer`
autopulse | 2024-11-16T21:12:17.242495479Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:17.242531880Z
autopulse | 2024-11-16T21:12:17.242535220Z Caused by:
autopulse | 2024-11-16T21:12:17.242537840Z missing field `timer`
autopulse | 2024-11-16T21:12:18.249007967Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:18.249044407Z
autopulse | 2024-11-16T21:12:18.249048468Z Caused by:
autopulse | 2024-11-16T21:12:18.249051938Z missing field `timer`
autopulse | 2024-11-16T21:12:19.255707937Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:19.255725077Z
autopulse | 2024-11-16T21:12:19.255728717Z Caused by:
autopulse | 2024-11-16T21:12:19.255747687Z missing field `timer`
autopulse | 2024-11-16T21:12:20.262287124Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:20.262306675Z
autopulse | 2024-11-16T21:12:20.262310575Z Caused by:
autopulse | 2024-11-16T21:12:20.262314185Z missing field `timer`
autopulse | 2024-11-16T21:12:21.268714828Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:21.268742248Z
autopulse | 2024-11-16T21:12:21.268745468Z Caused by:
autopulse | 2024-11-16T21:12:21.268748458Z missing field `timer`
autopulse | 2024-11-16T21:12:22.275376285Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:22.275398466Z
autopulse | 2024-11-16T21:12:22.275401666Z Caused by:
autopulse | 2024-11-16T21:12:22.275404426Z missing field `timer`
autopulse | 2024-11-16T21:12:23.282316687Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:23.282341907Z
autopulse | 2024-11-16T21:12:23.282346567Z Caused by:
autopulse | 2024-11-16T21:12:23.282350697Z missing field `timer`
autopulse | 2024-11-16T21:12:24.288372404Z Error: Failed to get settings
autopulse | 2024-11-16T21:12:24.288401684Z
autopulse | 2024-11-16T21:12:24.288404984Z Caused by:
autopulse | 2024-11-16T21:12:24.288407874Z missing field `timer`
Config:
app:
hostname: 0.0.0.0
port: 2875
database_url: sqlite://data/autopulse.db
anchors:
- /mnt/zurg/version.txt
- /mnt/usenetdrive/version.txt
auth:
username: admin
password: password
opts:
check_path: true # Check if the path exists, assuming the path is available to the container
max_retries: 5 # Exponential backoff when a target fails
triggers:
radarr:
type: radarr
sonarr:
type: sonarr
lidarr:
type: lidarr
readarr:
type: readarr
whisparr:
type: notify
paths:
- "/mnt/usenetdrive/adult"
webhooks:
discord:
type: "discord"
url: "https://discord.com/api/webhooks//"
targets:
jellyfin:
type: jellyfin
url: http://jellyfin:8096
token: ""
Oh that's odd, okay yea def a bug, in the meantime try adding just the timer property like in the second example here
It can be maybe bad package? again I use it inside docker on Debian sid. and I can confirm timer worked thank you!
autopulse | 2024-11-17T03:14:37.774809405Z [migrations] started
autopulse | 2024-11-17T03:14:37.774855026Z [migrations] no migrations found
autopulse | 2024-11-17T03:14:37.835210774Z usermod: no changes
autopulse | 2024-11-17T03:14:37.836946911Z ───────────────────────────────────────
autopulse | 2024-11-17T03:14:37.836957272Z _____ __ __ _____ _____ _____ _____
autopulse | 2024-11-17T03:14:37.836959472Z | | | | __|_ _| | |
autopulse | 2024-11-17T03:14:37.836961282Z | --| | |__ | | | | | | | | |
autopulse | 2024-11-17T03:14:37.836963072Z |_____|_____|_____| |_| |_____|_|_|_|
autopulse | 2024-11-17T03:14:37.836964832Z _____ __ __ _ __ ____
autopulse | 2024-11-17T03:14:37.836966612Z | __ | | | | | | \
autopulse | 2024-11-17T03:14:37.836968472Z | __ -| | | | |__| | |
autopulse | 2024-11-17T03:14:37.836970252Z |_____|_____|_|_____|____/
autopulse | 2024-11-17T03:14:37.836972072Z
autopulse | 2024-11-17T03:14:37.836973822Z Based on images from linuxserver.io
autopulse | 2024-11-17T03:14:37.836975642Z ───────────────────────────────────────
autopulse | 2024-11-17T03:14:37.837188885Z
autopulse | 2024-11-17T03:14:37.837193705Z To support LSIO projects visit:
autopulse | 2024-11-17T03:14:37.837195935Z https://www.linuxserver.io/donate/
autopulse | 2024-11-17T03:14:37.837197795Z
autopulse | 2024-11-17T03:14:37.837199685Z ───────────────────────────────────────
autopulse | 2024-11-17T03:14:37.837201805Z GID/UID
autopulse | 2024-11-17T03:14:37.837203575Z ───────────────────────────────────────
autopulse | 2024-11-17T03:14:37.839997429Z
autopulse | 2024-11-17T03:14:37.840002919Z User UID: 911
autopulse | 2024-11-17T03:14:37.840005279Z User GID: 911
autopulse | 2024-11-17T03:14:37.840007519Z ───────────────────────────────────────
autopulse | 2024-11-17T03:14:37.875379725Z [custom-init] No custom files found, skipping...
autopulse | 2024-11-17T03:14:37.883715576Z 2024-11-17T03:14:37.883661045Z INFO autopulse: 💫 autopulse starting up...
autopulse | 2024-11-17T03:14:37.885958071Z 2024-11-17T03:14:37.885920031Z INFO autopulse: 🚀 Listening on 0.0.0.0:2875
autopulse | 2024-11-17T03:14:37.886088003Z 2024-11-17T03:14:37.886060953Z INFO actix_server::builder: starting 16 workers
Description of the bug
When using manual endpoint I get 404 error
Steps To Reproduce
Additional Information
using same info inside same arr but using other end points like radarr works fine so it's issue with manual end point -- worth to mention notify too I used to get
timer
errors in logs. I use docker compose