Omnibus GitLab

I need to check if i have local Omnibus GitLab installed or not (version i know GitLab Enterprise Edition)
How can i know it exactly?

I need to integrate with New Relic my own GitLab Enterprise Edition
which method would be preferable?

Please help me

Probably the easiest way is this, depending on which Linux distribution. If Ubuntu/Debian then:

dpkg -l | grep -i gitlab

you should then see if it has Gitlab installed, as it should return with gitlab-ce or gitlab-ee. If a RHEL type distro, then:

rpm -qa | grep -i gitlab

again, results will be similar. If zero results, then that would hint at it being a source installation or maybe even a docker installation.

thanks
I saw installed the gitlab-ee package
but i also see the omnibus folder in the install path

Does this mean it was done via omnibus or not?

I don’t understand. Please explain more clearly what path exactly, or copy the text from the console window so that we can see more clearly.

Ian!
Thanks for commenting my question

I would greatly appreciate it
If you be so kind to answer how can i add new relic gem to private install of gitlab-ee

thanks beforehand for any answer

Great regards
Anatoli

Ian I really appreciate your help for gitlab install
Please answer me
i want to bundle gitlab once more on existing system where it was ok now
But when i try to do so i am getting error

sudo -u git bundle install --no-deployment --path vendor/bundle
[DEPRECATED] The --path flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use bundle config set path 'vendor/bundle', and stop using this flag
Fetching gem metadata from https://rubygems.org/
Fetching gem metadata from https://rubygems.org/
Resolving dependencies…
Fetching rake 13.0.6
Installing rake 13.0.6
Fetching RedCloth 4.3.2
Fetching faraday-em_http 1.0.0
Fetching faraday-em_synchrony 1.0.0
Fetching faraday-excon 1.1.0
Fetching faraday-net_http 1.0.1
Fetching faraday-net_http_persistent 1.1.0
Fetching multipart-post 2.1.1
Fetching ruby2_keywords 0.0.4
Fetching concurrent-ruby 1.1.9
Fetching minitest 5.11.3
Fetching zeitwerk 2.4.2
Fetching builder 3.2.4
Fetching erubi 1.9.0
Fetching mini_portile2 2.5.3
Fetching racc 1.5.2
Fetching crass 1.0.6
Fetching rack 2.2.3
Fetching nio4r 2.5.4
Fetching websocket-extensions 0.1.5
Fetching marcel 1.0.1
Fetching mini_mime 1.0.2
Fetching pg 1.2.3
Fetching public_suffix 4.0.6
Fetching aes_key_wrap 1.1.0
Fetching akismet 3.0.0
Fetching android_key_attestation 0.3.0
Fetching graphql 1.11.8
Fetching multi_json 1.14.1
Fetching jwt 2.1.0
Fetching multi_xml 0.6.0
Fetching asciidoctor 2.0.15
Fetching encryptor 3.0.0
Installing marcel 1.0.1
Installing nio4r 2.5.4 with native extensions
Installing websocket-extensions 0.1.5
Installing ruby2_keywords 0.0.4
Installing RedCloth 4.3.2 with native extensions
Installing faraday-em_http 1.0.0
Fetching attr_required 1.0.1
Installing erubi 1.9.0
Installing multi_xml 0.6.0
Installing zeitwerk 2.4.2
Installing faraday-excon 1.1.0
Installing minitest 5.11.3
Installing faraday-net_http_persistent 1.1.0
Installing aes_key_wrap 1.1.0
Fetching execjs 2.8.1
Installing crass 1.0.6
Fetching awrence 1.1.1
Fetching aws-eventstream 1.1.0
Fetching aws-partitions 1.345.0
Installing multipart-post 2.1.1
Installing jwt 2.1.0
Fetching jmespath 1.4.0
Installing android_key_attestation 0.3.0
Installing racc 1.5.2 with native extensions
Fetching connection_pool 2.2.2
Fetching babosa 1.0.4
Installing faraday-net_http 1.0.1
Installing graphql 1.11.8
Fetching base32 0.3.2
Fetching batch-loader 2.0.1
Fetching bcrypt 3.1.16
Fetching bcrypt_pbkdf 1.0.0
Installing mini_mime 1.0.2
Fetching memory_profiler 0.9.14
Installing asciidoctor 2.0.15
Installing akismet 3.0.0
Fetching bindata 2.4.10
Installing aws-eventstream 1.1.0
Installing concurrent-ruby 1.1.9
Fetching msgpack 1.3.3
Fetching browser 4.2.0
Installing awrence 1.1.1
Installing execjs 2.8.1
Installing attr_required 1.0.1
Using bundler 2.1.4
Fetching mime-types-data 3.2020.0512
Fetching ssrf_filter 1.0.7
Installing connection_pool 2.2.2
Fetching cbor 0.5.9.6
Installing jmespath 1.4.0
Installing aws-partitions 1.345.0
Installing mini_portile2 2.5.3
Installing faraday-em_synchrony 1.0.0
Installing builder 3.2.4
Fetching rbtree 0.4.4
Installing encryptor 3.0.0
Installing multi_json 1.14.1
Installing rack 2.2.3
Fetching set 1.0.1
Installing babosa 1.0.4
Fetching charlock_holmes 0.7.7
Fetching chef-utils 16.10.17
Installing public_suffix 4.0.6
Installing memory_profiler 0.9.14
Installing bcrypt 3.1.16 with native extensions
Installing bcrypt_pbkdf 1.0.0 with native extensions
Installing pg 1.2.3 with native extensions
Installing msgpack 1.3.3 with native extensions
Installing chef-utils 16.10.17
Installing base32 0.3.2
Installing mime-types-data 3.2020.0512
Installing ssrf_filter 1.0.7
Installing set 1.0.1
Installing batch-loader 2.0.1
Installing browser 4.2.0
Fetching i18n_data 0.8.0
Fetching sixarm_ruby_unaccent 1.2.0
Fetching chunky_png 1.3.5
Fetching unicode_utils 1.4.0
Fetching safe_yaml 1.0.4
Fetching citrus 3.0.2
Fetching claide 1.0.3
Installing bindata 2.4.10
Installing charlock_holmes 0.7.7 with native extensions
Installing cbor 0.5.9.6 with native extensions
Installing rbtree 0.4.4 with native extensions
Fetching declarative 0.0.20
Fetching declarative-option 0.1.0
Installing claide 1.0.3
Installing i18n_data 0.8.0
Installing citrus 3.0.2
Installing safe_yaml 1.0.4
Installing declarative 0.0.20
Fetching device_detector 1.0.0
Fetching orm_adapter 0.5.0
Installing unicode_utils 1.4.0
Installing sixarm_ruby_unaccent 1.2.0
Installing declarative-option 0.1.0
Installing chunky_png 1.3.5
Fetching unf_ext 0.0.7.7
Fetching netrc 0.11.0
Fetching nap 1.1.0
Fetching docile 1.3.2
Fetching open4 1.3.4
Fetching rexml 3.2.5
Installing orm_adapter 0.5.0
Installing device_detector 1.0.0
Installing rexml 3.2.5
Installing open4 1.3.4
Installing netrc 0.11.0
Installing docile 1.3.2
Installing nap 1.1.0
Fetching regexp_parser 2.1.1
Fetching ed25519 1.2.4
Installing unf_ext 0.0.7.7 with native extensions
Installing regexp_parser 2.1.1
Installing ed25519 1.2.4 with native extensions
Fetching excon 0.71.1
Fetching creole 0.5.0
Fetching rchardet 1.8.0
Fetching declarative_policy 1.0.0
Fetching fuzzyurl 0.9.0
Fetching tomlrb 1.3.0
Fetching method_source 1.0.0
Fetching thor 1.1.0
Fetching rotp 6.2.0
Installing creole 0.5.0
Installing fuzzyurl 0.9.0
Installing method_source 1.0.0
Installing tomlrb 1.3.0
Installing thor 1.1.0
Installing declarative_policy 1.0.0
Installing excon 0.71.1
Installing rotp 6.2.0
Installing rchardet 1.8.0
Fetching formatador 0.2.5
Fetching ipaddress 0.8.3
Fetching xml-simple 1.1.5
Fetching http-accept 1.7.0
Fetching no_proxy_fix 0.1.2
Installing formatador 0.2.5
Installing xml-simple 1.1.5
Installing http-accept 1.7.0
Installing no_proxy_fix 0.1.2
Installing ipaddress 0.8.3
Fetching locale 2.1.3
Fetching dry-inflector 0.2.0
Installing dry-inflector 0.2.0
Installing locale 2.1.3
Fetching numerizer 0.2.0
Fetching openssl-signature_algorithm 0.4.0
Fetching elasticsearch-rails 6.1.1
Fetching email_reply_trimmer 0.1.6
Installing email_reply_trimmer 0.1.6
Installing openssl-signature_algorithm 0.4.0
Installing numerizer 0.2.0
Fetching opentracing 0.5.0
Fetching diff_match_patch 0.1.0
Fetching diffy 3.3.0
Fetching expression_parser 0.9.0
Fetching fast_blank 1.0.0
Fetching fast_gettext 2.1.0
Fetching ffi 1.15.3
Fetching libyajl2 1.2.0
Fetching flipper 0.21.0
Fetching unicode-display_width 1.7.0
Fetching memoist 0.16.2
Installing elasticsearch-rails 6.1.1
Fetching os 1.1.1
Installing expression_parser 0.9.0
Installing fast_blank 1.0.0 with native extensions
Installing diffy 3.3.0
Installing opentracing 0.5.0
Installing memoist 0.16.2
Installing diff_match_patch 0.1.0
Installing fast_gettext 2.1.0
Installing libyajl2 1.2.0 with native extensions
Installing flipper 0.21.0
Installing os 1.1.1
Fetching gitlab-markup 1.7.1
Fetching gitlab-net-dns 0.9.1
Fetching net-ldap 0.16.3
Installing unicode-display_width 1.7.0
Fetching pyu-ruby-sasl 0.0.3.3
Fetching httpclient 2.8.3
Fetching contracts 0.11.0
Fetching hashie 4.1.0
Fetching uber 0.1.0
Fetching text 1.3.1
Fetching google-protobuf 3.17.3 (x86_64-linux)
Fetching github-markup 1.7.0
Fetching retriable 3.1.2
Fetching escape_utils 1.2.1
Fetching colored2 3.1.2
Fetching scientist 1.6.0
Fetching timeliness 0.3.10
Fetching raabro 1.1.6
Fetching redis 4.1.4
Fetching rubyntlm 0.6.2
Fetching gitlab-license 2.0.0
Fetching gitlab-mail_room 0.0.9
Installing gitlab-markup 1.7.1
Installing gitlab-net-dns 0.9.1
Installing ffi 1.15.3 with native extensions
Installing contracts 0.11.0
Installing net-ldap 0.16.3
Installing gitlab-mail_room 0.0.9
Installing pyu-ruby-sasl 0.0.3.3
Fetching htmlentities 4.3.4
Installing timeliness 0.3.10
Installing hashie 4.1.0
Installing retriable 3.1.2
Installing redis 4.1.4
Installing text 1.3.1
Installing gitlab-license 2.0.0
Installing colored2 3.1.2
Installing httpclient 2.8.3
Installing escape_utils 1.2.1 with native extensions
Installing uber 0.1.0
Installing raabro 1.1.6
Installing github-markup 1.7.0
Installing rubyntlm 0.6.2
Fetching json 2.5.1
Fetching thrift 0.14.0
Fetching dry-equalizer 0.3.0
Fetching regexp_property_values 1.0.0
Fetching uri_template 0.7.0
Installing scientist 1.6.0
Fetching kaminari-core 1.2.1
Fetching recursive-open-struct 1.1.3
Fetching rubyzip 2.0.0
Fetching parslet 1.8.2
Fetching with_env 1.1.0
Fetching tilt 2.0.10
Fetching hana 1.3.7
Fetching hangouts-chat 0.0.5
Installing htmlentities 4.3.4
Fetching dotenv 2.7.6
Fetching rugged 1.1.0
Fetching lockbox 0.6.2
Fetching temple 0.8.2
Fetching http-form_data 2.3.0
Fetching icalendar 2.4.1
Fetching oauth 0.5.6
Fetching lru_redux 1.1.0
Installing google-protobuf 3.17.3 (x86_64-linux)
Installing with_env 1.1.0
Installing recursive-open-struct 1.1.3
Installing uri_template 0.7.0
Installing dry-equalizer 0.3.0
Installing dotenv 2.7.6
Fetching wmi-lite 1.0.5
Fetching mini_magick 4.10.1
Fetching mixlib-cli 2.1.8
Fetching mixlib-log 3.0.9
Fetching murmurhash3 0.1.6
Fetching net-ntp 2.1.3
Installing regexp_property_values 1.0.0 with native extensions
Fetching newrelic_rpm 3.18.1.330
Fetching plist 3.6.0
Fetching net-ssh 6.0.0
Installing lru_redux 1.1.0
Using openssl 2.2.0
Installing hangouts-chat 0.0.5
Installing thrift 0.14.0 with native extensions
Installing oauth 0.5.6
Installing tilt 2.0.10
Installing icalendar 2.4.1
Installing kaminari-core 1.2.1
Installing rubyzip 2.0.0
Installing lockbox 0.6.2
Installing http-form_data 2.3.0
Installing temple 0.8.2
Installing hana 1.3.7
Installing parslet 1.8.2
Installing json 2.5.1 with native extensions
Fetching rack-timeout 0.5.2
Fetching rainbow 3.0.0
Installing rugged 1.1.0 with native extensions
Fetching ruby-progressbar 1.11.0
Fetching re2 1.2.0
Fetching prometheus-client-mmap 0.15.0
Fetching rdoc 6.3.2
Installing mixlib-cli 2.1.8
Installing mixlib-log 3.0.9
Fetching sexp_processor 4.15.1
Installing murmurhash3 0.1.6 with native extensions
Installing net-ntp 2.1.3
Fetching securecompare 1.0.0
Fetching settingslogic 2.0.9
Fetching simplecov-html 0.12.3
Fetching ruby-prof 1.3.1
Fetching rinku 2.0.0
Fetching slack-messenger 2.3.4
Installing mini_magick 4.10.1
Installing plist 3.6.0
Installing rack-timeout 0.5.2
Installing wmi-lite 1.0.5
Installing net-ssh 6.0.0
Installing rainbow 3.0.0
Using webrick 1.6.1
Fetching websocket-driver 0.7.3
Installing prometheus-client-mmap 0.15.0 with native extensions
Installing ruby-prof 1.3.1 with native extensions
Fetching oj 3.10.6
Fetching timfel-krb5-auth 0.8.3
Fetching optimist 3.0.1
Installing re2 1.2.0 with native extensions
Fetching mustermann 1.1.1
Installing ruby-progressbar 1.11.0
Installing rinku 2.0.0 with native extensions
Installing slack-messenger 2.3.4
Installing settingslogic 2.0.9
Installing newrelic_rpm 3.18.1.330
Installing sexp_processor 4.15.1
Installing simplecov-html 0.12.3
Installing securecompare 1.0.0
Installing rdoc 6.3.2
Fetching faraday 1.4.2
Installing websocket-driver 0.7.3 with native extensions
Installing optimist 3.0.1
Installing mustermann 1.1.1
Installing timfel-krb5-auth 0.8.3 with native extensions
Installing oj 3.10.6 with native extensions
Fetching attr_encrypted 3.1.0
Installing faraday 1.4.2
Fetching u2f 0.2.1
Fetching version_sorter 2.2.4
Fetching vmstat 2.3.0
Fetching warning 1.2.0
Fetching yajl-ruby 1.4.1
Fetching rouge 3.26.0
Fetching rubypants 0.2.0
Fetching sshkey 2.0.0
Fetching stackprof 0.2.15
Fetching elasticsearch-api 6.8.2
Installing attr_encrypted 3.1.0
Fetching gpgme 2.0.20
Installing version_sorter 2.2.4 with native extensions
Installing u2f 0.2.1
Installing stackprof 0.2.15 with native extensions
Installing warning 1.2.0
Installing vmstat 2.3.0 with native extensions
Installing rubypants 0.2.0
Installing sshkey 2.0.0
Installing elasticsearch-api 6.8.2
Installing rouge 3.26.0
Installing yajl-ruby 1.4.1 with native extensions
Fetching state_machines 0.5.0
Fetching atlassian-jwt 0.2.0
Installing state_machines 0.5.0
Installing atlassian-jwt 0.2.0
Fetching aws-sigv4 1.2.1
Fetching safety_net_attestation 0.4.0
Fetching terser 1.0.2
Installing gpgme 2.0.20 with native extensions
Installing aws-sigv4 1.2.1
Installing safety_net_attestation 0.4.0
Installing terser 1.0.2
Fetching rack-attack 6.3.0
Fetching rack-cors 1.0.6
Fetching rack-proxy 0.6.0
Installing rack-attack 6.3.0
Installing rack-proxy 0.6.0
Installing rack-cors 1.0.6
Fetching mail 2.7.1
Fetching autoprefixer-rails 10.2.5.1
Fetching net-http-persistent 4.0.1
Installing mail 2.7.1
Installing net-http-persistent 4.0.1
Installing autoprefixer-rails 10.2.5.1
Fetching ruby-magic 0.4.0
Installing ruby-magic 0.4.0 with native extensions
Fetching jsonpath 1.1.0
Installing jsonpath 1.1.0
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: /opt/gitlab/embedded/service/gitlab-rails/vendor/bundle/ruby/2.7.0/gems/RedCloth-4.3.2/ext/redcloth_scan

/opt/gitlab/embedded/bin/ruby -I /opt/gitlab/embedded/lib/ruby/site_ruby/2.7.0 -r ./siteconf20210928-34145-1qxji9k.rb extconf.rb
mkmf.rb can’t find header files for ruby at /opt/gitlab/embedded/lib/ruby/include/ruby.h

Please help me what is wrong

Hi, sorry I don’t use source install, I only use omnibus installations, much easier and simpler to install and manage. But maybe someone will be able to help if you are wanting to make source install.