Website is down

The site is down. Is anyone looking into this?

@ncw I confirm it on my end

ditto! It was working last night (AEDT - GMT+11)

And it is back!

Looks like caddy crashed which is unusual. I updated caddy and restarted and seems to be OK.

I don't know why it didn't restart though - I've got this in the systemd file


And the log said this

Dec 08 01:55:36 systemd[1]: caddy.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Dec 08 01:55:36[1]: caddy.service: Unit entered failed state.
Dec 08 01:55:36[1]: caddy.service: Failed with result 'exit-code'.

I'd make it on-failure

1 Like

I've done exactly that - thanks for the tip :smile:

I have noticed my gdrive (rclone) mount services are set to always with RestartSec=30. I have changed to on-failure, should I remove RestartSec too?

RestartSec means systemd will wait that long before trying again. It defaults to 100mS which is probably a bit aggressive. I use 5 seconds.