iamausername's picture

I get this email every hour from cron.hourly

run-parts: /etc/cron.hourly/enable_secalerts exited with return code 22

Looking at the script, it runs curl.

Running curl myself, with the following command line

curl https://hub.turnkeylinux.org/api/server/secalerts/ -d email="wordpressadmin@retireeswa.com.au" -d turnkey_version="turnkey-wordpress-14.1-jessie-amd64 vm"

it returns

HubServer.SecAlertsError:Failure enabling security alerts: 255
Jeremy's picture

I'm not sure what's going on. I'll get in touch with Alon (the Hub Daddy) asap and get him to look into it.


Jeremy Davis's picture

I've discovered the issue. We relatively recently updated our website backend and it looks like something got broken (the website handles the secalerts signup). We're looking into it ASAP.

My suggestion is that for now you tweak the cron job so it doesn't send alarms that it's failing (but leave the job in place). Once we've fixed the website, the cron job will succeed (and delete itself).

iamausername's picture

I've disabled the script for now, because it was driving me insane.

Please let me know when it's been fixed so I can re-enable it.

Add new comment