- Package information
The omnibus-gitlab package is bundled with all dependencies required for GitLab to function correctly. More details can be found at bundling dependencies document.
The omnibus-gitlab package requires various configuration to get the components in working order. If the configuration is not provided, the package will use the default values assumed in the package.
These defauts are noted in the package defaults document.
Once the omnibus-gitlab package is installed, all versions of the bundled
libraries are located in
Configuration file in
/etc/gitlab/gitlab.rb is created on initial installation
of the omnibus-gitlab package. On subsequent package upgrades, the configuration
file is not updated with new configuration. This is done in order to avoid
accidental overwrite of user configuration provided in
New configuration options are noted in the gitlab.rb.template file.
The omnibus-gitlab package also provides convenience command which will compare the existing user configuration with the latest version of the template contained in the package.
To view a diff between your configuration file and the latest version, run:
sudo gitlab-ctl diff-config
Note: This command is available from GitLab 8.17
Important: If you are copy-pasting the output of this command into your
/etc/gitlab/gitlab.rb configuration file, make sure to omit leading
on each line.
The omnibus-gitlab will attempt to query the underlaying system in order to
check which init system it uses.
This manifests itself as a
WARNING during the
sudo gitlab-ctl reconfigure
Depending on the init system, this
WARNING can be one of:
/sbin/init: unrecognized option '--version'
when the underlying init system IS NOT upstart.
-.mount loaded active mounted /
when the underlying init system IS systemd.
These warnings can be safely ignored. They are not suppressed because this allows everyone to debug possible detection issues faster.