4 ms·
> And then you can set a daily nightly cron for: sudo apt-get update sudo apt-get install gitlab-ce AHHHH!!!! Don't recommend doing that. Only those who are cr
by nadams 11y ago
> And then you can set a daily nightly cron for: sudo apt-get update sudo apt-get install gitlab-ce
AHHHH!!!! Don't recommend doing that. Only those who are crazy do that. Imagine waking up in the morning and your SCM system is broken due to an update that was automatically applied - I wouldn't want a sysadmin (or developer) to see that before their first cup of coffee.
When you update - does it automatically apply migrations or other database upgrades that might be necessary?
- sytse 11y agoFor the reason mentioned it is better to set the timing during the day (that is what we do). But if you upgrade automatically during the day you'll have a bit of downtime during the day. By default the Omnibus packages will stop, run migrations, and start again, no matter how “big” or “small” the upgrade is. The behaviour can be changed by adding a /etc/gitlab/skip-auto-migrations file. Obviously if you installation grows you can review the needed upgrades in advance and prevent downtime in most cases.