cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
carkh 2019-05-25T02:09:53.040700Z

is http://cljdoc.org down for everyone or just me ?

seancorfield 2019-05-25T02:50:17.041200Z

Down for everyone. @martinklepsch?

😒 1
dominicm 2019-05-25T06:45:15.041600Z

So the behaviour is this way because it allows building jars locally?

martinklepsch 2019-05-25T07:35:01.042400Z

@carkh @seancorfield thanks for the ping, looking into it, seems DigitalOcean had to restart the instance and it didn't start up correctly again

martinklepsch 2019-05-25T07:56:55.043600Z

Aaaaand... we're back! πŸ™‚

πŸ‘ 2
❀️ 1
borkdude 2019-05-25T08:05:49.044300Z

post-mortem analysis for the curious? πŸ™‚

carkh 2019-05-25T08:07:18.044900Z

most likely clj-kondo docs brought the whole thing down =D

πŸ˜… 1
borkdude 2019-05-25T08:08:12.045200Z

luckily I had my local Docker instance running πŸ™‚

carkh 2019-05-25T08:09:15.045400Z

lucky you =)

martinklepsch 2019-05-25T08:31:20.047500Z

@borkdude DigitalOcean migrated the Droplet to another physical machine and on that machine one of the important services (Consul) failed to start up. I'm not entirely sure why, the logs seem to indicate that the port was already in use which makes me think that maybe something went wrong during the migration Β―\(ツ)/Β―

borkdude 2019-05-25T08:31:50.047900Z

aaah. you use Docker to run cljdoc there?

martinklepsch 2019-05-25T08:32:12.048200Z

I do (via http://nomadproject.io)

borkdude 2019-05-25T08:32:38.048600Z

I see. Glad it’s fixed πŸ™‚

martinklepsch 2019-05-25T08:32:56.048900Z

same πŸ™‚ took 5 minutes which is great

martinklepsch 2019-05-25T08:33:23.049300Z

And I got alerted but was sleeping of course πŸ˜„

dominicm 2019-05-25T09:55:48.050100Z

Time to get funds together to hire a 24h support team

martinklepsch 2019-05-25T09:55:56.050300Z

πŸ˜„

dominicm 2019-05-25T09:56:20.050900Z

Alternatively, setup pager duty to call you in the middle of the night 😈

martinklepsch 2019-05-25T09:56:43.051300Z

yeah... I think I have better things to do in the middle of the night πŸ˜›

martinklepsch 2019-05-25T09:57:03.051800Z

I'd be happy to onboard more maintainers/admins in different timezones though

borkdude 2019-05-25T11:10:29.052300Z

can’t help there I’m afraid (NL)

mfikes 2019-05-25T12:07:18.056200Z

I'm also a little curious as to how often this occurs with DigitalOcean vs. Linode. I've been using Linode for production since 2013, and usually the pattern is that they will give you plenty of head's up if a migration needs to occur because of a potential hardware issue. (Thus giving you a chance to do the migration ahead of time yourself.) Truth be told, I think there may have been a handful (4 or 5) times where they needed to migrate thing "on the spot" because things were dire with hardware. In those cases, even though there was an outage, it resolved itself because the software servers came up. I suppose I'm lucky in that it is just a Clojure / nginx / mysql setup, and they always come back up by themselves.

martinklepsch 2019-05-25T12:20:14.058100Z

I don't have enough experience to really comment on that. I think that things didn't boot up again is probably my fault. cljdoc's ops infrastructure is a little more involved to enable continuous deployment without downtime

πŸ‘ 1