Issue with jq, discord notifactions are empty #131
-
As the subject states, discord notifications are empty. I can see the script start via discord notification "SnapRAID Script Job started", but the details for the remainder of the job are empty brackets. Looking at the log I see the following several times with the first occurrence after the SMART report. My assumption is a jq option is being called that is not recognized. This is the 3.4 beta version of the script jq invocation from script:
Additionally, I see there is a curl error at the end of the script; "curl: (22) The requested URL returned error: 400 ". I have healthcheck.io and discord notifications enabled. I know the discord webhook url is correct as I receive the script job started notification. Same with healthcheck.io I am receiving the snapraid events in the event dashboard. I am on Ubuntu 18.04 with snapraid 11.6 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
There was a fix for Discord notifications in 3.3.x, the recent changes in the beta might have broken it again. Unfortunately handling Discord in this script is very, very hard. Also I don't use it by myself so it's not the first thing I test 😛 I'll have a look |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
in my test environment Discord notifications are working correctly.
I am using the latest beta.
jq installed on my system (Debian 12) is 1.6, yours is 1.5 so this might be the difference. Your main OS not really updated, so some packages might not be aligned.