Completed 500 Internal Server Error when add LICENSE to repo
### Summary <!-- Summarize the bug encountered concisely. --> ### Steps to reproduce - Create new repo - Press the button "Add LICENSE" - Add any license (or add license.txt via git directly) - Status 500 on repo page ( 500 Whoops, something went wrong on our end.) but I can access repo via https://domain.com/user/repo/-/tree/master. License file also unavailable with web interface. ### Example Project New empty project ### What is the current *bug* behavior? Web-UI: Status 500 on repo page ( 500 Whoops, something went wrong on our end.) ### What is the expected *correct* behavior? Working repo - no status 500 ### Relevant logs and/or screenshots ``` Completed 500 Internal Server Error in 3083ms (ActiveRecord: 13.2ms | Elasticsearch: 0.0ms | Allocations: 26527) ActionView::Template::Error (14:error reading from server: EOF.): 1: - blob = local_assigns.fetch(:blob) 2: - auxiliary_viewer = blob.auxiliary_viewer 3: - if auxiliary_viewer && auxiliary_viewer.render_error.nil? && auxiliary_viewer.visible_to?(current_user) 4: .well-segment.blob-auxiliary-viewer 5: = render 'projects/blob/viewer', viewer: auxiliary_viewer lib/gitlab/git/wraps_gitaly_errors.rb:15:in `rescue in wrapped_gitaly_errors' lib/gitlab/git/wraps_gitaly_errors.rb:6:in `wrapped_gitaly_errors' lib/gitlab/git/repository.rb:762:in `license_short_name' app/models/repository.rb:627:in `license_key' lib/gitlab/repository_cache_adapter.rb:21:in `block (2 levels) in cache_method' lib/gitlab/repository_cache.rb:25:in `fetch' lib/gitlab/repository_cache_adapter.rb:163:in `block in cache_method_output' lib/gitlab/utils/strong_memoize.rb:30:in `strong_memoize' lib/gitlab/repository_cache_adapter.rb:203:in `block in memoize_method_output' lib/gitlab/repository_cache_adapter.rb:212:in `no_repository_fallback' lib/gitlab/repository_cache_adapter.rb:202:in `memoize_method_output' lib/gitlab/repository_cache_adapter.rb:162:in `cache_method_output' lib/gitlab/repository_cache_adapter.rb:20:in `block in cache_method' app/models/repository.rb:632:in `license' lib/gitlab/repository_cache_adapter.rb:113:in `block (2 levels) in memoize_method' lib/gitlab/utils/strong_memoize.rb:30:in `strong_memoize' lib/gitlab/repository_cache_adapter.rb:203:in `block in memoize_method_output' lib/gitlab/repository_cache_adapter.rb:212:in `no_repository_fallback' lib/gitlab/repository_cache_adapter.rb:202:in `memoize_method_output' lib/gitlab/repository_cache_adapter.rb:112:in `block in memoize_method' app/models/blob_viewer/license.rb:13:in `license' app/models/blob_viewer/license.rb:17:in `render_error' app/views/projects/blob/_auxiliary_viewer.html.haml:3 app/views/projects/blob/_blob.html.haml:11 app/views/projects/blob/show.html.haml:12 app/controllers/application_controller.rb:136:in `render' app/controllers/projects/blob_controller.rb:242:in `show_html' app/controllers/projects/blob_controller.rb:67:in `block (2 levels) in show' app/controllers/projects/blob_controller.rb:65:in `show' app/controllers/application_controller.rb:554:in `block in allow_gitaly_ref_name_caching' lib/gitlab/gitaly_client.rb:341:in `allow_ref_name_caching' app/controllers/application_controller.rb:553:in `allow_gitaly_ref_name_caching' app/controllers/application_controller.rb:503:in `set_current_admin' lib/gitlab/session.rb:11:in `with_session' app/controllers/application_controller.rb:494:in `set_session_storage' lib/gitlab/i18n.rb:105:in `with_locale' lib/gitlab/i18n.rb:111:in `with_user_locale' app/controllers/application_controller.rb:488:in `set_locale' app/controllers/application_controller.rb:482:in `set_current_context' lib/gitlab/middleware/speedscope.rb:13:in `call' lib/gitlab/request_profiler/middleware.rb:17:in `call' lib/gitlab/database/load_balancing/rack_middleware.rb:23:in `call' lib/gitlab/jira/middleware.rb:19:in `call' lib/gitlab/middleware/go.rb:20:in `call' lib/gitlab/etag_caching/middleware.rb:21:in `call' lib/gitlab/middleware/multipart.rb:173:in `call' lib/gitlab/middleware/read_only/controller.rb:50:in `call' lib/gitlab/middleware/read_only.rb:18:in `call' lib/gitlab/middleware/same_site_cookies.rb:27:in `call' lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call' lib/gitlab/middleware/basic_health_check.rb:25:in `call' lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in `call' lib/gitlab/middleware/request_context.rb:21:in `call' config/initializers/fix_local_cache_middleware.rb:11:in `call' lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call' lib/gitlab/middleware/sidekiq_web_static.rb:20:in `call' lib/gitlab/metrics/requests_rack_middleware.rb:75:in `call' lib/gitlab/middleware/release_env.rb:12:in `call' ---- or sometimes ActionView::Template:Error (unintialized constant Licensee::InvalidLicense) in app/models/repository.rb:629:in `rescue in license` ``` ### Output of checks <!-- If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com --> #### Results of GitLab environment info <!-- Input any relevant GitLab environment information if needed. --> <details> <summary>Expand for output related to GitLab environment info</summary> <pre> [11-15 2:01pm] root@mail [gitlab-ce] %> su -l git -c "cd /usr/local/www/gitlab-ce && rake gitlab:env:info RAILS_ENV=production" WARNING: This installation of GitLab uses a deprecated syntax for 'config/database.yml'. The support for this syntax will be removed in 15.0. More information can be found here: https://gitlab.com/gitlab-org/gitlab/-/issues/338182 System information System: Current User: git Using RVM: no Ruby Version: 2.7.4p191 Gem Version: 3.0.8 Bundler Version:2.2.30 Rake Version: 13.0.6 Redis Version: 6.2.6 Git Version: 2.33.1 Sidekiq Version:6.2.2 Go Version: unknown GitLab information Version: 14.4.2 Revision: Unknown Directory: /usr/local/www/gitlab-ce DB Adapter: PostgreSQL DB Version: 12.9 URL: https://domain.ru HTTP Clone URL: https://domain.ru/some-group/some-project.git SSH Clone URL: ssh://git@domain.ru:5507/some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 13.21.1 Repository storage paths: - default: /usr/local/git/repositories GitLab Shell path: /usr/local/share/gitlab-shell Git: /usr/local/bin/git </pre> OS info: ``` [11-15 1:50pm] root@mail [gitlab-ce] %> uname -a FreeBSD domain.ru 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0 releng/13.0-940681634: Wed Sep 8 12:55:59 MSK 2021 root@domain.ru:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 ``` Ruby gems installed: <pre> acme-client (2.0.9) actioncable (6.1.4.1) actionmailbox (6.1.4.1) actionmailer (6.1.4.1) actionpack (6.1.4.1) actiontext (6.1.4.1) actionview (6.1.4.1) activejob (6.1.4.1) activemodel (6.1.4.1, 6.0.4.1) activerecord (6.1.4.1, 6.0.4.1) activerecord-explain-analyze (0.1.0) activestorage (6.1.4.1) activesupport (6.1.4.1, 6.0.4.1) acts-as-taggable-on (7.0.0) addressable (2.8.0) aes_key_wrap (1.1.0) akismet (3.0.0) aliyun-sdk (0.8.0) android_key_attestation (0.3.0) apollo_upload_server (2.1.0) asana (0.10.3) asciidoctor (2.0.16) asciidoctor-include-ext (0.3.1) asciidoctor-kroki (0.5.0) asciidoctor-plantuml (0.0.15) atlassian-jwt (0.2.1) attr_encrypted (3.1.0) attr_required (1.0.1) autoprefixer-rails (10.2.5.1) awrence (1.1.1) aws-eventstream (1.2.0) aws-partitions (1.525.0, 1.467.0) aws-sdk-cloudformation (1.60.0) aws-sdk-core (3.122.0) aws-sdk-kms (1.51.0) aws-sdk-s3 (1.105.0) aws-sigv4 (1.4.0) axiom-types (0.1.1) azure-storage-blob (2.0.2) azure-storage-common (2.0.3) babosa (1.0.4) base32 (0.3.4) batch-loader (2.0.1) bcrypt (3.1.16) bcrypt_pbkdf (1.1.0) benchmark-memory (0.1.2) bindata (2.4.10) bindex (0.8.1) bootsnap (1.9.1, 1.4.9) bootstrap_form (4.2.0) browser (4.2.0) builder (3.2.4) bundler (2.2.30) byebug (11.1.3) capybara (3.36.0) carrierwave (1.3.2) cbor (0.5.9.6) character_set (1.4.1) charlock_holmes (0.7.7) chef-config (16.16.13) chef-utils (16.16.13) childprocess (4.1.0) chunky_png (1.4.0) citrus (3.0.2) coercible (1.0.0) commonmarker (0.23.2, 0.21.2) concurrent-ruby (1.1.9) connection_pool (2.2.5) cose (1.2.0) countries (3.0.1) crack (0.4.5) crass (1.0.6) creole (0.5.0) css_parser (1.10.0) dalli (2.7.11) deckar01-task_list (2.3.1) declarative (0.0.20) declarative_policy (1.0.0) default_value_for (3.4.0) descendants_tracker (0.0.4) device_detector (1.0.6) devise (4.8.0, 4.7.3) devise-two-factor (4.0.1) diff-lcs (1.4.4) diff_match_patch (0.1.0) diffy (3.4.0) discordrb-webhooks (3.4.2) domain_name (0.5.20190701) doorkeeper (5.5.4) doorkeeper-openid_connect (1.7.5) dotenv (2.7.6) dry-configurable (0.13.0) dry-container (0.9.0) dry-core (0.7.1) dry-inflector (0.2.1) dry-logic (1.2.0) dry-types (1.5.1) ecma-re-validator (0.3.0) ed25519 (1.2.4) elasticsearch (6.8.2) elasticsearch-api (6.8.2) elasticsearch-model (6.1.1) elasticsearch-rails (6.1.1) elasticsearch-transport (6.8.2) email_reply_trimmer (0.1.13) encryptor (3.0.0) erubi (1.10.0, 1.9.0) escape_utils (1.2.1) et-orbi (1.2.6) etc (1.3.0) excon (0.88.0) execjs (2.8.1) expression_parser (0.9.0) extended-markdown-filter (0.7.0) faraday (1.8.0, 1.4.1, 0.17.4) faraday-cookie_jar (0.0.7) faraday-em_http (1.0.0) faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) faraday-httpclient (1.0.1) faraday-net_http (1.0.1) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) faraday_middleware (1.2.0, 0.14.0) faraday_middleware-aws-sigv4 (0.3.0) faraday_middleware-multi_json (0.0.6) fast_blank (1.0.1) fast_gettext (2.1.0) ffi (1.15.4) ffi-compiler (1.0.1) ffi-yajl (2.3.4) flipper (0.21.0) flipper-active_record (0.21.0) flipper-active_support_cache_store (0.21.0) flowdock (0.7.1) fog-aliyun (0.3.19) fog-aws (3.12.0) fog-core (2.2.4, 2.1.0) fog-google (1.16.1) fog-json (1.2.0) fog-local (0.7.0) fog-openstack (1.0.11) fog-rackspace (0.1.6) fog-xml (0.1.4) formatador (0.3.0) fugit (1.5.2, 1.2.3) fuzzyurl (0.9.0) gemoji (3.0.1) gemojione (3.3.0, 3.2.0) gems (1.2.0) get_process_mem (0.2.5) gettext (3.4.1) gettext_i18n_rails (1.8.1) gettext_i18n_rails_js (1.3.0) gitaly (14.3.0.pre.rc2) github-linguist (7.17.0, 7.14.0) github-markup (1.7.0) gitlab-chronic (0.10.5) gitlab-experiment (0.6.4) gitlab-fog-azure-rm (1.2.0) gitlab-gollum-lib (4.2.7.10.gitlab.1) gitlab-gollum-rugged_adapter (0.4.4.4.gitlab.1) gitlab-labkit (0.21.2) gitlab-license (2.0.0) gitlab-mail_room (0.0.12) gitlab-markup (1.7.1) gitlab-net-dns (0.9.1) gitlab-omniauth-openid-connect (0.8.0) gitlab-sidekiq-fetcher (0.8.0) gitlab_chronic_duration (0.10.6.2) gitlab_omniauth-ldap (2.1.1) globalid (0.5.2) gon (6.4.0) google-api-client (0.53.0) google-apis-compute_v1 (0.19.0) google-apis-core (0.4.1) google-apis-discovery_v1 (0.7.0) google-apis-dns_v1 (0.15.0) google-apis-generator (0.4.0) google-apis-iamcredentials_v1 (0.8.0) google-apis-monitoring_v3 (0.16.0) google-apis-pubsub_v1 (0.9.0) google-apis-sqladmin_v1beta4 (0.19.0) google-apis-storage_v1 (0.9.0) google-cloud-env (1.5.0) google-protobuf (3.19.1, 3.17.3) googleapis-common-protos-types (1.3.0) googleauth (0.17.1) gpgme (2.0.20) grape (1.5.3) grape-entity (0.10.1) grape-path-helpers (1.7.0) grape_logging (1.8.4) graphiql-rails (1.4.11) graphlient (0.4.0) graphql (1.11.8) graphql-client (0.16.0) graphql-docs (1.6.1) grpc (1.41.0) gssapi (1.3.0) hamlit (2.15.1) hana (1.3.7) hangouts-chat (0.0.6) hashdiff (1.0.1) hashie (4.1.0) hashie-forbidden_attributes (0.1.1) health_check (3.1.0) html-pipeline (2.13.2) html2text (0.3.1) htmlentities (4.3.4) http (4.4.1) http-accept (2.1.1) http-cookie (1.0.4) http-form_data (2.3.0) http-parser (1.2.3) httparty (0.16.4) httpclient (2.8.3) i18n (1.8.11) i18n_data (0.10.0) icalendar (2.7.1) ice_cube (0.16.4) ice_nine (0.11.2) idn-ruby (0.1.4) image_processing (1.12.1) invisible_captcha (1.1.0) io-wait (0.1.0) ipaddr (1.2.3) ipaddress (0.8.3) jaeger-client (1.1.0) jbuilder (2.11.2) jira-ruby (2.1.5) jmespath (1.4.0) js_regex (3.7.0) json (2.5.1) json-jwt (1.13.0) json_pure (2.6.1) json_schemer (0.2.18) jsonpath (1.1.0) jwt (2.3.0, 2.1.0) kaminari (1.2.1) kaminari-actionview (1.2.1) kaminari-activerecord (1.2.1) kaminari-core (1.2.1) kas-grpc (0.0.2) kramdown (2.3.1) kubeclient (4.9.2) libyajl2 (1.2.0) license_finder (6.14.2) licensee (9.14.1) locale (2.1.3) lockbox (0.6.4) lograge (0.11.2) loofah (2.12.0, 2.9.1) lru_redux (1.1.0) mail (2.7.1) marcel (1.0.2) marginalia (1.10.1) matrix (0.4.2) memoist (0.16.2) memory_profiler (0.9.14) method_source (1.0.0) mime-types (3.3.1) mime-types-data (3.2021.0901) mini_magick (4.10.1) mini_mime (1.1.2) mini_portile2 (2.5.3) minitest (5.14.4) mixlib-cli (2.1.8) mixlib-config (3.0.9) mixlib-log (3.0.9) mixlib-shellout (3.2.5) ms_rest (0.7.6) ms_rest_azure (0.12.0) msgpack (1.4.2, 1.3.3) multi_json (1.15.0, 1.14.1) multi_xml (0.6.0) multipart-post (2.1.1) murmurhash3 (0.1.6) mustermann (1.1.1) mustermann-grape (1.0.1) net-http-persistent (4.0.1) net-imap (0.2.2) net-ldap (0.17.0) net-ntp (2.1.3) net-protocol (0.1.2) net-scp (3.0.0) net-ssh (6.1.0) netrc (0.11.0) nio4r (2.5.8) nokogiri (1.11.7) nokogumbo (2.0.5) numerizer (0.2.0) oauth (0.5.7) oauth2 (1.4.7) octokit (4.21.0) ohai (16.13.0) oj (3.10.18) omniauth (2.0.4, 1.9.1) omniauth-atlassian-oauth2 (0.2.0) omniauth-auth0 (2.0.0) omniauth-authentiq (0.3.3) omniauth-azure-activedirectory-v2 (1.0.0) omniauth-azure-oauth2 (0.0.10) omniauth-cas3 (1.1.4) omniauth-facebook (4.0.0) omniauth-github (1.4.0) omniauth-gitlab (1.0.4) omniauth-google-oauth2 (0.6.0) omniauth-kerberos (0.3.0) omniauth-multipassword (0.4.2) omniauth-oauth (1.2.0) omniauth-oauth2 (1.7.2) omniauth-oauth2-generic (0.2.8) omniauth-salesforce (1.0.5) omniauth-saml (1.10.3) omniauth-shibboleth (1.3.0) omniauth-twitter (1.4.0) omniauth-ultraauth (0.0.2) omniauth_crowd (2.4.0) omniauth_openid_connect (0.3.5) openid_connect (1.2.0) openssl (2.2.1) openssl-signature_algorithm (1.0.0) opentracing (0.5.0) optimist (3.0.1) org-ruby (0.9.12) orm_adapter (0.5.0) os (1.1.1) parslet (1.8.2) passenger (6.0.11) peek (1.1.0) pg (1.2.3) pg_query (2.1.2) pkg-config (1.4.6) plist (3.6.0) po_to_json (1.0.1) premailer (1.15.0) premailer-rails (1.10.3) prometheus-client-mmap (0.15.0) public_suffix (4.0.6) puma (5.3.2) puma_worker_killer (0.3.1) pyu-ruby-sasl (0.0.3.3) raabro (1.4.0) racc (1.6.0) rack (2.2.3, 1.6.13) rack-accept (0.4.5) rack-attack (6.3.1) rack-cors (1.0.6) rack-oauth2 (1.16.0) rack-protection (2.1.0) rack-proxy (0.7.0, 0.6.5) rack-test (1.1.0) rack-timeout (0.5.2) rails (6.1.4.1) rails-dom-testing (2.0.3) rails-html-sanitizer (1.4.2) rails-i18n (6.0.0) railties (6.1.4.1) rainbow (3.0.0) rake (13.0.6) rb-fsevent (0.11.0) rb-inotify (0.10.1) rbtrace (0.4.14) rbtree (0.4.4) rdoc (6.3.2) re2 (1.2.0) recaptcha (4.14.0) recursive-open-struct (1.1.3) RedCloth (4.3.2) redis (4.5.1, 4.4.0) redis-actionpack (5.2.0) redis-namespace (1.8.1) redis-rack (2.1.3) redis-store (1.9.0) regexp_parser (2.1.1) regexp_property_values (1.0.0) representable (3.1.1) request_store (1.5.0) responders (3.0.1) rest-client (2.1.0) retriable (3.1.2) reverse_markdown (1.4.0) rexml (3.2.5) rinku (2.0.6) rotp (6.2.0) rouge (3.26.1) rqrcode (0.10.1) rqrcode-rails3 (0.1.7) rspec (3.8.0) rspec-core (3.8.2) rspec-expectations (3.8.6) rspec-mocks (3.8.2) rspec-support (3.8.3) ruby-fogbugz (0.2.1) ruby-magic (0.4.0) ruby-prof (1.3.2) ruby-progressbar (1.11.0) ruby-saml (1.13.0) ruby-termios (1.1.0) ruby-vips (2.1.3) ruby2_keywords (0.0.5) ruby_parser (3.15.0) rubyntlm (0.6.3) rubypants (0.7.1) rubyzip (2.3.2, 2.0.0) rugged (1.1.1) safety_net_attestation (0.4.0) sanitize (5.2.3) sass (3.7.4) sass-listen (4.0.0) sass-rails (6.0.0) sassc (2.2.1) sassc-rails (2.1.2) sawyer (0.8.2) scientist (1.6.0) securecompare (1.0.0) seed-fu (2.3.9) selenium-webdriver (4.0.3) semantic_range (3.0.0) sentry-raven (3.1.2) set (1.0.2) settingslogic (2.0.9) sexp_processor (4.16.0) sidekiq (6.2.2) sidekiq-cron (1.2.0) signet (0.16.0) simpleidn (0.1.1) sixarm_ruby_unaccent (1.2.0) slack-messenger (2.3.4) snowplow-tracker (0.8.0) sorted_set (1.0.3) spamcheck (0.1.0) spring (3.0.0) sprockets (3.7.2) sprockets-rails (3.2.2) sqlite3 (1.4.2) sshkey (2.0.0) ssrf_filter (1.0.7) stackprof (0.2.16) state_machines (0.5.0) state_machines-activemodel (0.8.0) state_machines-activerecord (0.8.0) stringex (2.8.5) strscan (3.0.1) swd (1.2.0) sys-filesystem (1.1.9) temple (0.8.2) terser (1.0.2) text (1.3.1) thor (1.1.0, 1.0.1) thread_safe (0.3.6) thrift (0.14.1, 0.14.0) tilt (2.0.10) timeliness (0.4.4) timeout (0.2.0) timfel-krb5-auth (0.8.3) toml-rb (2.0.1) tomlrb (2.0.1, 1.3.0) tpm-key_attestation (0.10.0) trailblazer-option (0.1.1) train-core (3.8.1, 3.7.0) truncato (0.7.11) turbolinks (5.2.1) turbolinks-source (5.2.0) twitter-text (3.1.0) tzinfo (2.0.4, 1.2.9) u2f (0.2.1) uber (0.1.0) uglifier (4.1.20) unf (0.1.4) unf_ext (0.0.7.7) unicode_utils (1.4.0) unleash (3.2.2) uri_template (0.7.0) valid_email (0.1.4) validate_email (0.1.6) validate_url (1.0.13) validates_hostname (1.0.11) version_sorter (2.2.4) virtus (2.0.0) vmstat (2.3.1) warden (1.2.9) warning (1.2.1) web-console (4.1.0) webauthn (2.4.1) webdrivers (5.0.0) webfinger (1.1.0) webmock (3.14.0) webpacker (5.4.3) webrick (1.7.0) websocket-driver (0.7.5) websocket-extensions (0.1.5) wikicloth (0.8.1) with_env (1.1.0) wmi-lite (1.0.5) xml-simple (1.1.5) xpath (3.2.0) yajl-ruby (1.4.1) zeitwerk (2.5.1) </pre> </details> #### Results of GitLab application Check <!-- Input any relevant GitLab application check information if needed. --> <details> <summary>Expand for output related to the GitLab application check</summary> <pre> [11-15 2:03pm] root@mail [gitlab-ce] %> su -l git -c "cd /usr/local/www/gitlab-ce && rake gitlab:check RAILS_ENV=production SANITIZE=true" WARNING: This installation of GitLab uses a deprecated syntax for 'config/database.yml'. The support for this syntax will be removed in 15.0. More information can be found here: https://gitlab.com/gitlab-org/gitlab/-/issues/338182 Checking GitLab subtasks ... Checking GitLab Shell ... GitLab Shell: ... GitLab Shell version >= 13.21.1 ? ... OK (13.21.1) Running /usr/local/share/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful Checking GitLab Shell ... Finished Checking Gitaly ... Gitaly: ... default ... OK Checking Gitaly ... Finished Checking Sidekiq ... Sidekiq: ... Running? ... no Try fixing it: sudo -u git -H RAILS_ENV=production bin/background_jobs start For more information see: doc/install/installation.md in section "Install Init Script" see log/sidekiq.log for possible errors Please fix the error above and rerun the checks. Checking Sidekiq ... Finished Checking Incoming Email ... Incoming Email: ... Reply by email is disabled in config/gitlab.yml Checking Incoming Email ... Finished Checking LDAP ... LDAP: ... LDAP is disabled in config/gitlab.yml Checking LDAP ... Finished Checking GitLab App ... Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... skipped (no tmp uploads folder yet) Init script exists? ... no Try fixing it: Install the init script For more information see: doc/install/installation.md in section "Install Init Script" Please fix the error above and rerun the checks. Init script up-to-date? ... can't check because of previous errors Projects have namespace: ... 2/19 ... yes 6/23 ... yes 106/25 ... yes 2/38 ... yes 2/40 ... yes 2/41 ... yes 2/42 ... yes 2/43 ... yes 106/44 ... yes 35/45 ... yes 2/47 ... yes 12/48 ... yes 6/49 ... yes 106/50 ... yes 64/51 ... yes 64/52 ... yes 65/53 ... yes 65/56 ... yes 65/58 ... yes 6/59 ... yes 65/60 ... yes 65/61 ... yes 65/63 ... yes 106/64 ... yes 2/65 ... yes 2/71 ... yes 2/72 ... yes 2/75 ... yes 2/76 ... yes 65/77 ... yes Redis version >= 5.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.4) Git version >= 2.33.0 ? ... yes (2.33.1) Git user has default SSH configuration? ... yes Active users: ... 54 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes Checking GitLab App ... Finished Checking GitLab subtasks ... Finished </pre> Error related to Sidekiq and init are freebsd specific errors. We have it all time. </details> Related FreeBSD bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259848
issue