Live data from Hacker News

GitHub was down

githubstatus.com

31–40 of 133 posts

Re: GitHub was down

#31
This is a nice reminder that you can have multiple remote repos and push/pull to all of them at the same time. For my side projects I usually use both github and google cloud source (I use gcp). If one is down the other is still available and then just resync when service is recovered.

Re: GitHub was down

#32
post #28

Earlier quoted context omitted.

I personally haven't experienced any SD card corruption, even though I am running a Maria-DB instance, Home-Assistant instance and a Pi-Hole instance on a Pi Zero with a 32 gig SD Card ( 23 days uptime as of writing )

I've had 2 sd-cards go corrupt (read-only, any writes were lost). Had a mariadb instance running on it as well. It will hold for for some time, but eventually, the card will give up.

Oh no! What will you recommend as a long term solution? I have ordered a Pi 4, should I use an USB Flash Drive / HDD / SATA SSD?

Re: GitHub was down

#33

Earlier quoted context omitted.

I was going to warn you about SD card corruption, but then I realized even this is probably more reliable than GitHub at this point.

I personally haven't experienced any SD card corruption, even though I am running a Maria-DB instance, Home-Assistant instance and a Pi-Hole instance on a Pi Zero with a 32 gig SD Card ( 23 days uptime as of writing )

It typically kicks in after a few months depending on the stuff you're running and type of SD Card. SD Cards aren't really designed for the type of read/write patterns a 24/7 Raspberry Pi server would entail.

Re: GitHub was down

#34
I just had to access my Github stars to find an old app I bookmarked. No dice. Otherwise I've moved all my current projects to Gitlab so Stars and contributing to other repos are my two most used features atm.

Re: GitHub was down

#35

Earlier quoted context omitted.

I remember it being a weekly occurrence before Microsoft as well. edit: though their historical data doesn't back it up. It's just a 2020 thing it seems; coincidentally picked up right near the middle of February which correlates way too closely with the beginning of COVID.

correlation != causation though.

Fortunately, otherwise covid outbreaks might be caused by github outages

Re: GitHub was down

#36
post #27

I said this before many times and I'll say it again, consider self-hosting your projects on a solution like GitLab or Gitea to avoid this sort of situation. [0] GNOME, Xfce, Redox, Wireguard, KDE and Haiku all have self-hosted on either cgit, Gitlab, Phabricator or Gitea. [0] https://news.ycombinator.com/item?id=23676072

How about a more low-tech solution? I don't want/need a full-blown web application like Gitlab, just need somethings than auto-syncs my public and private repos so that i can still access everything when Github is down.

Any ideas?

Re: GitHub was down

#37
post #27

I said this before many times and I'll say it again, consider self-hosting your projects on a solution like GitLab or Gitea to avoid this sort of situation. [0] GNOME, Xfce, Redox, Wireguard, KDE and Haiku all have self-hosted on either cgit, Gitlab, Phabricator or Gitea. [0] https://news.ycombinator.com/item?id=23676072

The downside is that a lot of these self hosted archives will have disappeared 10 years from now.

Meanwhile, I expect many forgotten repos to remain online with Github one way or another for a very long time.

If you do go the self-hosting route, add a mainstream host as an additional remote and push your commits to both.

Re: GitHub was down

#38
post #14
post #11

People are advocating hosting their own Git repos, but wouldn't those go down, too, and wreck the day even more? Or, are you guys all devops geniuses better than those who work at GitHub?

But those wouldn't take most of the world's public git repos down all at once just because of a single issue. Single points of failure have a bad reputation for a reason.

[deleted]

Re: GitHub was down

#39
post #27

I said this before many times and I'll say it again, consider self-hosting your projects on a solution like GitLab or Gitea to avoid this sort of situation. [0] GNOME, Xfce, Redox, Wireguard, KDE and Haiku all have self-hosted on either cgit, Gitlab, Phabricator or Gitea. [0] https://news.ycombinator.com/item?id=23676072

How about a more low-tech solution? I don't want/need a full-blown web application like Gitlab, just need somethings than auto-syncs my public and private repos so that i can still access everything when Github is down. Any ideas?

SSH and git-shell might be enough.

https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-...

Post reply on HN