4 ms·
Gitlab in particular is unbelievably easy to self host. At my last gig I ran it on a t4g Debian instance with unattended upgrades and then just rebooted once a
by mindwok 5y ago
Gitlab in particular is unbelievably easy to self host. At my last gig I ran it on a t4g Debian instance with unattended upgrades and then just rebooted once a week at like 3am, literally never touched it again and it costs nothing to run.
- Cthulhu_ 5y agoBut how many people would know what to do if something did happen?
- dx034 5y agoWorst case you just spin up a new instance, install and restore the backup. Won't take more than 1-2 hours (less if you have part of it automated).
- mindwok 5y agoThere was a fair bit of ops expertise on the team, so I don't think it'd be an issue. If there was none, I'd probably think twice.
- dbrgn 5y agoDon't enable unattended updates for GitLab. The migrations don't always work and sometimes need manual work. (This is rarely the case, but can happen.) (Also, when upgrading GitLab, make sure to upgrade version-by-version and always wait for background migrations to finish before upgrading to the next version. You can check background migrations at /admin/background_migrations.)
- dijit 5y agointeresting, this isn't my experience. I've been running a gitlab instance for about 300 people for about 7 years now. :\ To be fair though I'm using docker and watchtowerr to keep it updated, there was 1 time where I had to use an older docker image because the latest wasn't working.
- sciurus 5y agoFor those like me who went familiar with it: https://containrrr.dev/watchtower/ https://containrrr.dev/watchtower/
- Aeolun 5y agoIt’s incredibly dumb that it allows you to start the next upgrade before the background migrations finish. Not unrecoverable though, so saying you need to worry about it may be a bit too alarmist.
- mindwok 5y agoInteresting, thanks for the heads up - We didn't have any issues while I was there and probably would just restore if we needed to, but nice to know the footguns.
- Kelteseth 5y agoThis happened to me exactly _once_ in the last three years of successful monthly update on our self-hosted GitLab instance. I got an error because the backup script expected a folder where no folder was. Updating GitLab is a breeze!