Diskussion:Server/GitLab: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
(Neuer Abschnitt →‎restore fuckup 13.10)
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 2.650: Zeile 2.650:
Done.
Done.
-->
-->
== [[Server/GitLab#TurnKey 16 Installation]] output confconsole tls error ==
<pre>
</pre>
<!--
<pre>
Running gitlab-ctl reconfigure. This might take a while...
Starting Chef Client, version 14.14.29
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - postgresql (0.1.0)
  - mattermost (0.1.0)
  - gitaly (0.1.0)
  - letsencrypt (0.1.0)
  - runit (5.1.3)
  - praefect (0.1.0)
  - redis (0.1.0)
  - package (0.1.0)
  - crond (0.1.0)
  - registry (0.1.0)
  - gitlab (0.0.1)
  - consul (0.1.0)
  - acme (4.1.1)
  - monitoring (0.1.0)
  - nginx (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: gitlab::default
  * directory[/etc/gitlab] action create (up to date)
  Converging 288 resources
  * directory[/etc/gitlab] action create (up to date)
  * directory[Create /var/opt/gitlab] action create (up to date)
  * directory[Create /var/log/gitlab] action create (up to date)
  * directory[/opt/gitlab/embedded/etc] action create (up to date)
  * template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date)
Recipe: gitlab::web-server
  * account[Webserver user and group] action create
    * group[Webserver user and group] action create (up to date)
    * linux_user[Webserver user and group] action create (up to date)
    (up to date)
Recipe: gitlab::users
  * directory[/var/opt/gitlab] action create (up to date)
  * account[GitLab user and group] action create
    * group[GitLab user and group] action create (up to date)
    * linux_user[GitLab user and group] action create (up to date)
    (up to date)
  * template[/var/opt/gitlab/.gitconfig] action create
    - update content in file /var/opt/gitlab/.gitconfig from cd607d to 431873
    --- /var/opt/gitlab/.gitconfig 2021-04-12 14:41:48.435409459 +0000
    +++ /var/opt/gitlab/.chef-.gitconfig20210412-26655-v4tbal.gitconfig 2021-04-12 15:10:26.596459137 +0000
    @@ -4,7 +4,7 @@
   
    [user]
            name = GitLab
    -        email = gitlab@dev.dat.stu.htw.stura-dresden.de
    +        email = gitlab@https
    [core]
            autocrlf = input
            alternateRefsCommand="exit 0 #"
  * directory[/var/opt/gitlab/.bundle] action create (up to date)
Recipe: gitlab::gitlab-shell
  * storage_directory[/var/opt/gitlab/.ssh] action create
    * ruby_block[directory resource: /var/opt/gitlab/.ssh] action run (skipped due to not_if)
    (up to date)
  * directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
  * directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
  * templatesymlink[Create a config.yml and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-shell/config.yml] action create
      - update content in file /var/opt/gitlab/gitlab-shell/config.yml from d7eafb to 0f6e83
      --- /var/opt/gitlab/gitlab-shell/config.yml 2020-07-16 22:51:24.000000000 +0000
      +++ /var/opt/gitlab/gitlab-shell/.chef-config20210412-26655-1mj75gn.yml 2021-04-12 15:10:26.708460214 +0000
      @@ -6,7 +6,7 @@
      user: git
     
      # Url to gitlab instance. Used for api calls. May but need not end with a slash.
      -gitlab_url: "http://127.0.0.1:8080"
      +gitlab_url: "http://127.0.0.1:8080//dev.dat.stu.htw.stura-dresden.de"
     
      http_settings:
       
    * link[Link /opt/gitlab/embedded/service/gitlab-shell/config.yml to /var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
 
  * link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date)
  * file[/var/opt/gitlab/.ssh/authorized_keys] action create_if_missing (up to date)
Recipe: gitlab::gitlab-rails
  * storage_directory[/var/opt/gitlab/git-data] action create
    * ruby_block[directory resource: /var/opt/gitlab/git-data] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/git-data/repositories] action create
    * ruby_block[directory resource: /var/opt/gitlab/git-data/repositories] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/artifacts] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/artifacts] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/external-diffs] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/external-diffs] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/lfs-objects] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/lfs-objects] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/packages] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/packages] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/dependency_proxy] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/terraform_state] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/terraform_state] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/uploads] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/uploads] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-ci/builds] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-ci/builds] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/cache] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/cache] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/tmp] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/tmp] action run (skipped due to not_if)
    (up to date)
  * storage_directory[/opt/gitlab/embedded/service/gitlab-rails/public] action create (skipped due to only_if)
  * storage_directory[/var/opt/gitlab/gitlab-rails/shared/pages] action create
    * ruby_block[directory resource: /var/opt/gitlab/gitlab-rails/shared/pages] action run (skipped due to not_if)
    (up to date)
  * directory[create /var/opt/gitlab/gitlab-rails/etc] action create (up to date)
  * directory[create /opt/gitlab/etc/gitlab-rails] action create (up to date)
  * directory[create /var/opt/gitlab/gitlab-rails/working] action create (up to date)
  * directory[create /var/opt/gitlab/gitlab-rails/tmp] action create (up to date)
  * directory[create /var/opt/gitlab/gitlab-rails/upgrade-status] action create (up to date)
  * directory[create /var/log/gitlab/gitlab-rails] action create (up to date)
  * storage_directory[/var/opt/gitlab/backups] action create
    * ruby_block[directory resource: /var/opt/gitlab/backups] action run (skipped due to not_if)
    (up to date)
  * directory[/var/opt/gitlab/gitlab-rails] action create (up to date)
  * directory[/var/opt/gitlab/gitlab-ci] action create (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/gitlab-registry.key] action create (skipped due to only_if)
  * template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create
    - update content in file /opt/gitlab/etc/gitlab-rails/gitlab-rails-rc from 000a09 to 7b16c8
    --- /opt/gitlab/etc/gitlab-rails/gitlab-rails-rc 2021-04-12 15:05:31.365608005 +0000
    +++ /opt/gitlab/etc/gitlab-rails/.chef-gitlab-rails-rc20210412-26655-jp3niz 2021-04-12 15:10:29.024482508 +0000
    @@ -1,6 +1,6 @@
    gitlab_user='git'
    gitlab_group='git'
    -registry_dir='/var/opt/gitlab/gitlab-rails/shared/registry'
    +registry_dir=''
    registry_user='registry'
    registry_group='registry'
  * file[/opt/gitlab/embedded/service/gitlab-rails/.secret] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/secret] action delete (up to date)
  * templatesymlink[Create a database.yml and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/database.yml to /var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
    (up to date)
  * templatesymlink[Create a secrets.yml and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml to /var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
    (up to date)
  * templatesymlink[Create a resque.yml and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/resque.yml to /var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
    (up to date)
  * templatesymlink[Create a cable.yml and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/cable.yml] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/cable.yml to /var/opt/gitlab/gitlab-rails/etc/cable.yml] action create (up to date)
    (up to date)
  * templatesymlink[Create a redis.cache.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.cache.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.cache.yml] action delete (up to date)
  * templatesymlink[Create a redis.queues.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.queues.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.queues.yml] action delete (up to date)
  * templatesymlink[Create a redis.shared_state.yml and create a symlink to Rails root] action create (skipped due to not_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/config/redis.shared_state.yml] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/redis.shared_state.yml] action delete (up to date)
  * templatesymlink[Create a smtp_settings.rb and create a symlink to Rails root] action delete
    * file[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
    * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb] action delete (up to date)
    (up to date)
  * templatesymlink[Create a gitlab.yml and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create
      - update content in file /var/opt/gitlab/gitlab-rails/etc/gitlab.yml from c1d078 to 8451e9
      --- /var/opt/gitlab/gitlab-rails/etc/gitlab.yml 2021-04-12 15:05:31.521609517 +0000
      +++ /var/opt/gitlab/gitlab-rails/etc/.chef-gitlab20210412-26655-m06ja2.yml 2021-04-12 15:10:29.324485397 +0000
      @@ -10,7 +10,7 @@
        ## GitLab settings
        gitlab:
          ## Web server settings (note: host is the FQDN, do not include http://)
      -    host: dev.dat.stu.htw.stura-dresden.de
      +    host: https
          port: 443
          https: true
     
      @@ -29,7 +29,7 @@
     
          # WARNING: See config/application.rb under "Relative url support" for the list of
          # other files that need to be changed for relative url support
      -    relative_url_root:
      +    relative_url_root: //dev.dat.stu.htw.stura-dresden.de
     
          # Trusted Proxies
          # Customize if you have GitLab behind a reverse proxy which is running on a different machine.
      @@ -270,11 +270,11 @@
     
        ## Container Registry
        registry:
      -    enabled: true
      -    host: dev.dat.stu.htw.stura-dresden.de
      -    port: 5050
      -    api_url: http://localhost:5000 # internal address to the registry, will be used by GitLab to directly communicate with API
      -    path: /var/opt/gitlab/gitlab-rails/shared/registry
      +    enabled: false
      +    host:
      +    port:
      +    api_url:  # internal address to the registry, will be used by GitLab to directly communicate with API
      +    path:
          key: /var/opt/gitlab/gitlab-rails/etc/gitlab-registry.key
          issuer: omnibus-gitlab-issuer
          notification_secret:
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml to /var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date)
 
  * templatesymlink[Create a gitlab_workhorse_secret and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_workhorse_secret] action create (up to date)
    (up to date)
  * templatesymlink[Create a gitlab_shell_secret and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_shell_secret] action create (up to date)
    (up to date)
  * templatesymlink[Create a gitlab_pages_secret and create a symlink to Rails root] action create
    * template[/var/opt/gitlab/gitlab-rails/etc/gitlab_pages_secret] action create (up to date)
    * link[Link /opt/gitlab/embedded/service/gitlab-rails/.gitlab_pages_secret to /var/opt/gitlab/gitlab-rails/etc/gitlab_pages_secret] action create (up to date)
    (up to date)
  * link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/relative_url.rb] action delete (up to date)
  * file[/var/opt/gitlab/gitlab-rails/etc/relative_url.rb] action delete (up to date)
  * env_dir[/opt/gitlab/etc/gitlab-rails/env] action create
    * directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/RAILS_RELATIVE_URL_ROOT] action create
      - create new file /opt/gitlab/etc/gitlab-rails/env/RAILS_RELATIVE_URL_ROOT
      - update content in file /opt/gitlab/etc/gitlab-rails/env/RAILS_RELATIVE_URL_ROOT from none to bbc37e
      - suppressed sensitive resource
    * file[/opt/gitlab/etc/gitlab-rails/env/LD_PRELOAD] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/ICU_DATA] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/PYTHONPATH] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/EXECJS_RUNTIME] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-rails/env/TZ] action create (up to date)
 
  * link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
  * link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
  * link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
  * link[/var/log/gitlab/gitlab-rails/sidekiq.log] action delete (skipped due to only_if)
  * file[/opt/gitlab/embedded/service/gitlab-rails/db/structure.sql] action create (up to date)
  * remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date)
  * remote_file[/var/opt/gitlab/gitlab-rails/REVISION] action create (up to date)
  * version_file[Create version file for Rails] action create
    * file[/var/opt/gitlab/gitlab-rails/RUBY_VERSION] action create (up to date)
    (up to date)
  * execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
  * file[/var/opt/gitlab/gitlab-rails/config.ru] action delete (up to date)
Recipe: gitlab::selinux
  * bash[Set proper security context on ssh files for selinux] action run (skipped due to only_if)
Recipe: gitlab::add_trusted_certs
  * directory[/etc/gitlab/trusted-certs] action create (up to date)
  * directory[/opt/gitlab/embedded/ssl/certs] action create (up to date)
  * file[/opt/gitlab/embedded/ssl/certs/README] action create (up to date)
  * ruby_block[Move existing certs and link to /opt/gitlab/embedded/ssl/certs] action run (skipped due to only_if)
Recipe: gitlab::default
  * service[create a temporary unicorn service] action nothing (skipped due to action :nothing)
  * service[create a temporary puma service] action nothing (skipped due to action :nothing)
  * service[create a temporary actioncable service] action nothing (skipped due to action :nothing)
  * service[create a temporary sidekiq service] action nothing (skipped due to action :nothing)
  * service[create a temporary mailroom service] action nothing (skipped due to action :nothing)
Recipe: package::runit_systemd
  * directory[/usr/lib/systemd/system] action create (up to date)
  * template[/usr/lib/systemd/system/gitlab-runsvdir.service] action create (up to date)
  * file[/etc/systemd/system/default.target.wants/gitlab-runsvdir.service] action delete (up to date)
  * file[/etc/systemd/system/basic.target.wants/gitlab-runsvdir.service] action delete (up to date)
  * execute[systemctl daemon-reload] action nothing (skipped due to action :nothing)
  * execute[systemctl enable gitlab-runsvdir] action nothing (skipped due to action :nothing)
  * execute[systemctl start gitlab-runsvdir] action nothing (skipped due to action :nothing)
Recipe: package::sysctl
  * execute[reload all sysctl conf] action nothing (skipped due to action :nothing)
Recipe: postgresql::bin
  * ruby_block[check_postgresql_version] action run (skipped due to not_if)
  * ruby_block[check_postgresql_version_is_deprecated] action run (skipped due to not_if)
  * ruby_block[Link postgresql bin files to the correct version] action run (skipped due to only_if)
Recipe: redis::enable
  * account[user and group for redis] action create
    * group[user and group for redis] action create (up to date)
    * linux_user[user and group for redis] action create (up to date)
    (up to date)
  * group[Socket group] action create (up to date)
  * directory[/var/opt/gitlab/redis] action create (up to date)
  * directory[/var/log/gitlab/redis] action create (up to date)
  * template[/var/opt/gitlab/redis/redis.conf] action create (up to date)
  * service[redis] action nothing (skipped due to action :nothing)
  * runit_service[redis] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/redis] action create (up to date)
    * template[/opt/gitlab/sv/redis/run] action create (up to date)
    * directory[/opt/gitlab/sv/redis/log] action create (up to date)
    * directory[/opt/gitlab/sv/redis/log/main] action create (up to date)
    * template[/opt/gitlab/sv/redis/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_redis] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/redis/config] action create (up to date)
    * template[/opt/gitlab/sv/redis/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/redis/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for redis service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/redis/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/redis/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/redis/control] action create (up to date)
    * link[/opt/gitlab/init/redis] action create (up to date)
    * file[/opt/gitlab/sv/redis/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/redis] action create (up to date)
    * ruby_block[wait for redis service socket] action run (skipped due to not_if)
    (up to date)
  * ruby_block[warn pending redis restart] action run (skipped due to only_if)
  * template[/opt/gitlab/etc/gitlab-redis-cli-rc] action create (up to date)
Recipe: gitaly::enable
  * directory[/var/opt/gitlab/gitaly] action create (up to date)
  * directory[/var/log/gitlab/gitaly] action create (up to date)
  * directory[/var/opt/gitlab/gitaly/internal_sockets] action create (up to date)
  * env_dir[/opt/gitlab/etc/gitaly/env] action create
    * directory[/opt/gitlab/etc/gitaly/env] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/HOME] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/PATH] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/TZ] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/PYTHONPATH] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/ICU_DATA] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/SSL_CERT_DIR] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/GITALY_PID_FILE] action create (up to date)
    * file[/opt/gitlab/etc/gitaly/env/WRAPPER_JSON_LOGGING] action create (up to date)
    (up to date)
  * template[Create Gitaly config.toml] action create
    - update content in file /var/opt/gitlab/gitaly/config.toml from 9f6716 to 7c3c46
    --- /var/opt/gitlab/gitaly/config.toml 2020-07-16 22:51:33.000000000 +0000
    +++ /var/opt/gitlab/gitaly/.chef-config20210412-26655-1qwiwu1.toml 2021-04-12 15:10:30.560497295 +0000
    @@ -36,7 +36,7 @@
    dir = "/opt/gitlab/embedded/service/gitlab-shell"
   
    [gitlab]
    -url = 'http://127.0.0.1:8080'
    +url = 'http://127.0.0.1:8080//dev.dat.stu.htw.stura-dresden.de'
   
    [hooks]
   
  * service[gitaly] action nothing (skipped due to action :nothing)
  * runit_service[gitaly] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/gitaly] action create (up to date)
    * template[/opt/gitlab/sv/gitaly/run] action create (up to date)
    * directory[/opt/gitlab/sv/gitaly/log] action create (up to date)
    * directory[/opt/gitlab/sv/gitaly/log/main] action create (up to date)
    * template[/opt/gitlab/sv/gitaly/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_gitaly] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/gitaly/config] action create (up to date)
    * template[/opt/gitlab/sv/gitaly/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/gitaly/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for gitaly service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/gitaly/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/gitaly/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/gitaly/control] action create (up to date)
    * link[/opt/gitlab/init/gitaly] action create (up to date)
    * file[/opt/gitlab/sv/gitaly/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/gitaly] action create (up to date)
    * ruby_block[wait for gitaly service socket] action run (skipped due to not_if)
    (up to date)
  * version_file[Create version file for Gitaly] action create
    * file[/var/opt/gitlab/gitaly/VERSION] action create (up to date)
    (up to date)
  * consul_service[gitaly] action delete
    * file[/var/opt/gitlab/consul/config.d/gitaly-service.json] action delete (up to date)
    (up to date)
Recipe: praefect::disable
  * service[praefect] action nothing (skipped due to action :nothing)
  * runit_service[praefect] action disable
    * ruby_block[disable praefect] action run (skipped due to only_if)
    (up to date)
  * consul_service[praefect] action delete
    * file[/var/opt/gitlab/consul/config.d/praefect-service.json] action delete (up to date)
    (up to date)
Recipe: postgresql::user
  * account[Postgresql user and group] action create
    * group[Postgresql user and group] action create (up to date)
    * linux_user[Postgresql user and group] action create (up to date)
    (up to date)
  * directory[/var/opt/gitlab/postgresql] action create (up to date)
  * file[/var/opt/gitlab/postgresql/.profile] action create (up to date)
Recipe: postgresql::enable
  * directory[/var/opt/gitlab/postgresql] action create (up to date)
  * directory[/var/opt/gitlab/postgresql/data] action create (up to date)
  * directory[/var/log/gitlab/postgresql] action create (up to date)
  * directory[/var/opt/gitlab/postgresql/data] action create (up to date)
  * link[/var/opt/gitlab/postgresql/data] action create (skipped due to not_if)
  * gitlab_sysctl[kernel.shmmax] action create
    * directory[create /etc/sysctl.d for kernel.shmmax] action create (up to date)
    * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmmax.conf kernel.shmmax] action create (up to date)
    * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmmax.conf] action create (up to date)
    * execute[load sysctl conf kernel.shmmax] action nothing (skipped due to action :nothing)
    (up to date)
  * gitlab_sysctl[kernel.shmall] action create
    * directory[create /etc/sysctl.d for kernel.shmall] action create (up to date)
    * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.shmall.conf kernel.shmall] action create (up to date)
    * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.shmall.conf] action create (up to date)
    * execute[load sysctl conf kernel.shmall] action nothing (skipped due to action :nothing)
    (up to date)
  * gitlab_sysctl[kernel.sem] action create
    * directory[create /etc/sysctl.d for kernel.sem] action create (up to date)
    * file[create /opt/gitlab/embedded/etc/90-omnibus-gitlab-kernel.sem.conf kernel.sem] action create (up to date)
    * link[/etc/sysctl.d/90-omnibus-gitlab-kernel.sem.conf] action create (up to date)
    * execute[load sysctl conf kernel.sem] action nothing (skipped due to action :nothing)
    (up to date)
  * execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8] action run (skipped due to not_if)
  * template[/opt/gitlab/etc/gitlab-psql-rc] action create (up to date)
  * file[/var/opt/gitlab/postgresql/data/server.crt] action create (up to date)
  * file[/var/opt/gitlab/postgresql/data/server.key] action create (up to date)
  * postgresql_config[gitlab] action create
    * template[/var/opt/gitlab/postgresql/data/postgresql.conf] action create (up to date)
    * template[/var/opt/gitlab/postgresql/data/runtime.conf] action create (up to date)
    * template[/var/opt/gitlab/postgresql/data/pg_hba.conf] action create (up to date)
    * template[/var/opt/gitlab/postgresql/data/pg_ident.conf] action create (up to date)
    (up to date)
  * service[postgresql] action nothing (skipped due to action :nothing)
  * runit_service[postgresql] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/postgresql] action create (up to date)
    * template[/opt/gitlab/sv/postgresql/run] action create (up to date)
    * directory[/opt/gitlab/sv/postgresql/log] action create (up to date)
    * directory[/opt/gitlab/sv/postgresql/log/main] action create (up to date)
    * template[/opt/gitlab/sv/postgresql/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_postgresql] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/postgresql/config] action create (up to date)
    * template[/opt/gitlab/sv/postgresql/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/postgresql/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for postgresql service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/postgresql/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/postgresql/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/postgresql/control] action create (up to date)
    * template[/opt/gitlab/sv/postgresql/control/t] action create (up to date)
    * link[/opt/gitlab/init/postgresql] action create (up to date)
    * file[/opt/gitlab/sv/postgresql/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/postgresql] action create (up to date)
    * ruby_block[wait for postgresql service socket] action run (skipped due to not_if)
    * directory[/opt/gitlab/service/postgresql/supervise] action create (up to date)
    * directory[/opt/gitlab/service/postgresql/log/supervise] action create (up to date)
    * file[/opt/gitlab/service/postgresql/supervise/ok] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/log/supervise/ok] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/supervise/status] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/log/supervise/status] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/supervise/control] action touch (skipped due to only_if)
    * file[/opt/gitlab/service/postgresql/log/supervise/control] action touch (skipped due to only_if)
    (up to date)
  * postgresql_user[gitlab] action create
    * execute[create gitlab postgresql user] action run (skipped due to not_if)
    (up to date)
  * execute[create gitlabhq_production database] action run (skipped due to not_if)
  * postgresql_user[gitlab_replicator] action create
    * execute[create gitlab_replicator postgresql user] action run (skipped due to not_if)
    * execute[set options for gitlab_replicator postgresql user] action run (skipped due to not_if)
    (up to date)
  * postgresql_extension[pg_trgm] action enable
    * postgresql_query[enable pg_trgm extension] action run (skipped due to only_if)
    (up to date)
  * postgresql_extension[btree_gist] action enable
    * postgresql_query[enable btree_gist extension] action run (skipped due to only_if)
    (up to date)
  * ruby_block[warn pending postgresql restart] action run (skipped due to only_if)
  * execute[reload postgresql] action nothing (skipped due to action :nothing)
  * execute[start postgresql] action nothing (skipped due to action :nothing)
Recipe: gitlab::database_migrations
  * bash[migrate gitlab-rails database] action run (skipped due to not_if)
Recipe: gitlab::logrotate_folders_and_configs
  * directory[/var/opt/gitlab/logrotate] action create (up to date)
  * directory[/var/opt/gitlab/logrotate/logrotate.d] action create (up to date)
  * directory[/var/log/gitlab/logrotate] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.conf] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/nginx] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/puma] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/actioncable] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/unicorn] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-rails] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-shell] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-workhorse] action create (up to date)
  * template[/var/opt/gitlab/logrotate/logrotate.d/gitlab-pages] action create (up to date)
Recipe: gitlab::unicorn_disable
  * unicorn_service[unicorn] action disable
  Recipe: <Dynamically Defined Resource>
    * service[unicorn] action nothing (skipped due to action :nothing)
    * runit_service[unicorn] action disable
      * ruby_block[disable unicorn] action run (skipped due to only_if)
      (up to date)
    (up to date)
Recipe: gitlab::unicorn_disable
  * consul_service[rails] action delete (skipped due to not_if)
Recipe: gitlab::puma
  * directory[/var/log/gitlab/puma] action create (up to date)
  * directory[/opt/gitlab/var/puma] action create (up to date)
  * directory[/var/opt/gitlab/gitlab-rails/sockets] action create (up to date)
  * puma_config[/var/opt/gitlab/gitlab-rails/etc/puma.rb] action create
    * directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
    * template[/var/opt/gitlab/gitlab-rails/etc/puma.rb] action create (up to date)
    (up to date)
  * service[puma] action nothing (skipped due to action :nothing)
  * runit_service[puma] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/puma] action create (up to date)
    * template[/opt/gitlab/sv/puma/run] action create (up to date)
    * directory[/opt/gitlab/sv/puma/log] action create (up to date)
    * directory[/opt/gitlab/sv/puma/log/main] action create (up to date)
    * template[/opt/gitlab/sv/puma/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_puma] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/puma/config] action create (up to date)
    * template[/opt/gitlab/sv/puma/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/puma/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for puma service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/puma/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/puma/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/puma/control] action create (up to date)
    * template[/opt/gitlab/sv/puma/control/t] action create (up to date)
    * template[/opt/gitlab/sv/puma/control/h] action create (up to date)
    * link[/opt/gitlab/init/puma] action create (up to date)
    * file[/opt/gitlab/sv/puma/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/puma] action create (up to date)
    * ruby_block[wait for puma service socket] action run (skipped due to not_if)
    (up to date)
  * runit_service[puma] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/puma] action create (up to date)
    * template[/opt/gitlab/sv/puma/run] action create (up to date)
    * directory[/opt/gitlab/sv/puma/log] action create (up to date)
    * directory[/opt/gitlab/sv/puma/log/main] action create (up to date)
    * template[/opt/gitlab/sv/puma/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_puma] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/puma/config] action create (up to date)
    * template[/opt/gitlab/sv/puma/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/puma/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for puma service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/puma/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/puma/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/puma/control] action create (up to date)
    * template[/opt/gitlab/sv/puma/control/t] action create (up to date)
    * template[/opt/gitlab/sv/puma/control/h] action create (up to date)
    * link[/opt/gitlab/init/puma] action create (up to date)
    * file[/opt/gitlab/sv/puma/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/puma] action create (up to date)
    * ruby_block[wait for puma service socket] action run (skipped due to not_if)
    (up to date)
  * consul_service[rails] action delete
    * file[/var/opt/gitlab/consul/config.d/rails-service.json] action delete (up to date)
    (up to date)
Recipe: gitlab::actioncable_disable
  * service[actioncable] action nothing (skipped due to action :nothing)
  * runit_service[actioncable] action disable
    * ruby_block[disable actioncable] action run (skipped due to only_if)
    (up to date)
  * consul_service[actioncable] action delete
    * file[/var/opt/gitlab/consul/config.d/actioncable-service.json] action delete (up to date)
    (up to date)
Recipe: gitlab::sidekiq-cluster
  * directory[/var/log/gitlab/sidekiq] action create (up to date)
  * service[sidekiq] action nothing (skipped due to action :nothing)
  * runit_service[sidekiq] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/sidekiq] action create (up to date)
    * template[/opt/gitlab/sv/sidekiq/run] action create (up to date)
    * directory[/opt/gitlab/sv/sidekiq/log] action create (up to date)
    * directory[/opt/gitlab/sv/sidekiq/log/main] action create (up to date)
    * template[/opt/gitlab/sv/sidekiq/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_sidekiq] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/sidekiq/config] action create (up to date)
    * template[/opt/gitlab/sv/sidekiq/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/sidekiq/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for sidekiq service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/sidekiq/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/sidekiq/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/sidekiq/control] action create (up to date)
    * link[/opt/gitlab/init/sidekiq] action create (up to date)
    * file[/opt/gitlab/sv/sidekiq/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/sidekiq] action create (up to date)
    * ruby_block[wait for sidekiq service socket] action run (skipped due to not_if)
    (up to date)
  * consul_service[sidekiq] action delete
    * file[/var/opt/gitlab/consul/config.d/sidekiq-service.json] action delete (up to date)
    (up to date)
  * service[sidekiq-cluster] action nothing (skipped due to action :nothing)
  * runit_service[sidekiq-cluster] action disable
    * ruby_block[disable sidekiq-cluster] action run (skipped due to only_if)
    (up to date)
Recipe: gitlab::gitlab-workhorse
  * directory[/var/opt/gitlab/gitlab-workhorse] action create (up to date)
  * directory[/var/log/gitlab/gitlab-workhorse] action create (up to date)
  * directory[/opt/gitlab/etc/gitlab-workhorse] action create (up to date)
  * env_dir[/opt/gitlab/etc/gitlab-workhorse/env] action create
    * directory[/opt/gitlab/etc/gitlab-workhorse/env] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-workhorse/env/PATH] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-workhorse/env/HOME] action create (up to date)
    * file[/opt/gitlab/etc/gitlab-workhorse/env/SSL_CERT_DIR] action create (up to date)
    (up to date)
  * service[gitlab-workhorse] action nothing (skipped due to action :nothing)
  * runit_service[gitlab-workhorse] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/gitlab-workhorse] action create (up to date)
    * template[/opt/gitlab/sv/gitlab-workhorse/run] action create
      - update content in file /opt/gitlab/sv/gitlab-workhorse/run from a979e8 to 543b54
      --- /opt/gitlab/sv/gitlab-workhorse/run 2020-07-16 22:52:49.000000000 +0000
      +++ /opt/gitlab/sv/gitlab-workhorse/.chef-run20210412-26655-ub587c 2021-04-12 15:10:33.600526556 +0000
      @@ -15,7 +15,7 @@
          -listenNetwork unix \
          -listenUmask 0 \
          -listenAddr /var/opt/gitlab/gitlab-workhorse/socket \
      -    -authBackend http://localhost:8080 \
      +    -authBackend http://localhost:8080//dev.dat.stu.htw.stura-dresden.de \
          -authSocket /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket \
          -documentRoot /opt/gitlab/embedded/service/gitlab-rails/public \
          -pprofListenAddr ''\
    * directory[/opt/gitlab/sv/gitlab-workhorse/log] action create (up to date)
    * directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create (up to date)
    * template[/opt/gitlab/sv/gitlab-workhorse/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_gitlab-workhorse] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/gitlab-workhorse/config] action create (up to date)
    * template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/gitlab-workhorse/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for gitlab-workhorse service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/gitlab-workhorse/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/gitlab-workhorse/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/gitlab-workhorse/control] action create (up to date)
    * link[/opt/gitlab/init/gitlab-workhorse] action create (up to date)
    * file[/opt/gitlab/sv/gitlab-workhorse/down] action nothing (skipped due to action :nothing)
    * ruby_block[restart_service] action run
      * ruby_block[restart_service] action nothing (skipped due to action :nothing)
      * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
      * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
      * directory[/opt/gitlab/sv/gitlab-workhorse] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-workhorse/run] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-workhorse/log] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-workhorse/log/main] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-workhorse/log/config] action create (up to date)
      * ruby_block[verify_chown_persisted_on_gitlab-workhorse] action nothing (skipped due to action :nothing)
      * link[/var/log/gitlab/gitlab-workhorse/config] action create (up to date)
      * template[/opt/gitlab/sv/gitlab-workhorse/log/run] action create (up to date)
      * directory[/opt/gitlab/sv/gitlab-workhorse/env] action create (up to date)
      * ruby_block[Delete unmanaged env files for gitlab-workhorse service] action run (skipped due to only_if)
      * template[/opt/gitlab/sv/gitlab-workhorse/check] action create (skipped due to only_if)
      * template[/opt/gitlab/sv/gitlab-workhorse/finish] action create (skipped due to only_if)
      * directory[/opt/gitlab/sv/gitlab-workhorse/control] action create (up to date)
      * link[/opt/gitlab/init/gitlab-workhorse] action create (up to date)
      * file[/opt/gitlab/sv/gitlab-workhorse/down] action nothing (skipped due to action :nothing)
      * directory[/opt/gitlab/service] action create (up to date)
      * link[/opt/gitlab/service/gitlab-workhorse] action create (up to date)
      * ruby_block[wait for gitlab-workhorse service socket] action run (skipped due to not_if)
      - execute the ruby block restart_service
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/gitlab-workhorse] action create (up to date)
    * ruby_block[wait for gitlab-workhorse service socket] action run (skipped due to not_if)
 
  * consul_service[workhorse] action delete
    * file[/var/opt/gitlab/consul/config.d/workhorse-service.json] action delete (up to date)
    (up to date)
  * version_file[Create version file for Workhorse] action create
    * file[/var/opt/gitlab/gitlab-workhorse/VERSION] action create (up to date)
    (up to date)
  * template[/var/opt/gitlab/gitlab-workhorse/config.toml] action create (up to date)
Recipe: gitlab::mailroom_disable
  * service[mailroom] action nothing (skipped due to action :nothing)
  * runit_service[mailroom] action disable
    * ruby_block[disable mailroom] action run (skipped due to only_if)
    (up to date)
Recipe: gitlab::nginx
  * directory[/var/opt/gitlab/nginx] action create (up to date)
  * directory[/var/opt/gitlab/nginx/conf] action create (up to date)
  * directory[/var/log/gitlab/nginx] action create (up to date)
  * link[/var/opt/gitlab/nginx/logs] action create (up to date)
  * template[/var/opt/gitlab/nginx/conf/gitlab-http.conf] action create
    - update content in file /var/opt/gitlab/nginx/conf/gitlab-http.conf from a6c318 to 09ef4d
    --- /var/opt/gitlab/nginx/conf/gitlab-http.conf 2021-04-12 15:05:35.825651241 +0000
    +++ /var/opt/gitlab/nginx/conf/.chef-gitlab-http20210412-26655-na0hu1.conf 2021-04-12 15:10:34.516535372 +0000
    @@ -34,7 +34,7 @@
    server {
      listen *:80;
   
    -  server_name dev.dat.stu.htw.stura-dresden.de;
    +  server_name https;
      server_tokens off; ## Don't show the nginx version number, a security best practice
   
      location /.well-known {
    @@ -42,7 +42,7 @@
      }
   
      location / {
    -    return 301 https://dev.dat.stu.htw.stura-dresden.de:443$request_uri;
    +    return 301 https://https:443$request_uri;
      }
   
      # health checks configuration
    @@ -56,7 +56,7 @@
      listen *:443 ssl http2;
   
   
    -  server_name dev.dat.stu.htw.stura-dresden.de;
    +  server_name https;
      server_tokens off; ## Don't show the nginx version number, a security best practice
   
      ## Increase this if you want to upload large attachments
    @@ -65,8 +65,8 @@
   
      ## Strong SSL Security
      ## https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html & https://cipherli.st/
    -  ssl_certificate /etc/gitlab/ssl/dev.dat.stu.htw.stura-dresden.de.crt;
    -  ssl_certificate_key /etc/gitlab/ssl/dev.dat.stu.htw.stura-dresden.de.key;
    +  ssl_certificate /etc/gitlab/ssl/https.crt;
    +  ssl_certificate_key /etc/gitlab/ssl/https.key;
   
      # GitLab needs backwards compatible ciphers to retain compatibility with Java IDEs
      ssl_ciphers 'ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4';
    @@ -90,7 +90,7 @@
      error_log  /var/log/gitlab/nginx/gitlab_error.log;
   
      if ($http_host = "") {
    -    set $http_host_with_default "dev.dat.stu.htw.stura-dresden.de";
    +    set $http_host_with_default "https";
      }
   
      if ($http_host != "") {
    @@ -128,11 +128,11 @@
        proxy_request_buffering off;
      }
   
    -  location /-/grafana/ {
    +  location //dev.dat.stu.htw.stura-dresden.de/-/grafana/ {
        proxy_pass http://localhost:3000/;
      }
   
    -  location /-/grafana/avatar {
    +  location //dev.dat.stu.htw.stura-dresden.de/-/grafana/avatar {
        deny all;
        return 404;
      }
    @@ -141,12 +141,12 @@
      # health checks configuration
      include /var/opt/gitlab/nginx/conf/gitlab-health.conf;
   
    -  location / {
    +  location //dev.dat.stu.htw.stura-dresden.de {
        proxy_cache off;
        proxy_pass  http://gitlab-workhorse;
      }
   
    -  location /assets {
    +  location //dev.dat.stu.htw.stura-dresden.de/assets {
        proxy_cache gitlab;
        proxy_pass  http://gitlab-workhorse;
      }
  * template[/var/opt/gitlab/nginx/conf/gitlab-smartcard-http.conf] action delete (up to date)
  * template[/var/opt/gitlab/nginx/conf/gitlab-health.conf] action create
    - update content in file /var/opt/gitlab/nginx/conf/gitlab-health.conf from 92d04b to 5b0e6f
    --- /var/opt/gitlab/nginx/conf/gitlab-health.conf 2020-07-16 22:52:53.000000000 +0000
    +++ /var/opt/gitlab/nginx/conf/.chef-gitlab-health20210412-26655-1ivcew8.conf 2021-04-12 15:10:34.564535835 +0000
    @@ -12,17 +12,17 @@
      return 500 '{"error":"nginx returned $status when communicating with gitlab-workhorse","status":$status}\n';
    }
   
    -location = /-/health {
    +location = //dev.dat.stu.htw.stura-dresden.de/-/health {
      proxy_cache off;
      proxy_pass  http://gitlab-workhorse;
      error_page 404 500 502 /error.txt;
    }
    -location = /-/readiness {
    +location = //dev.dat.stu.htw.stura-dresden.de/-/readiness {
      proxy_cache off;
      proxy_pass  http://gitlab-workhorse;
      error_page 404 500 502 /error.json;
    }
    -location = /-/liveness {
    +location = //dev.dat.stu.htw.stura-dresden.de/-/liveness {
      proxy_cache off;
      proxy_pass  http://gitlab-workhorse;
      error_page 404 500 502 /error.json;
  * template[/var/opt/gitlab/nginx/conf/gitlab-pages.conf] action delete (up to date)
  * template[/var/opt/gitlab/nginx/conf/gitlab-registry.conf] action delete
    - delete file /var/opt/gitlab/nginx/conf/gitlab-registry.conf
  * template[/var/opt/gitlab/nginx/conf/gitlab-mattermost-http.conf] action delete (up to date)
  * template[/var/opt/gitlab/nginx/conf/nginx-status.conf] action create (up to date)
  * consul_service[nginx] action delete
    * file[/var/opt/gitlab/consul/config.d/nginx-service.json] action delete (up to date)
    (up to date)
  * template[/var/opt/gitlab/nginx/conf/nginx.conf] action create
    - update content in file /var/opt/gitlab/nginx/conf/nginx.conf from 150bae to fe84d4
    --- /var/opt/gitlab/nginx/conf/nginx.conf 2021-04-12 15:05:36.037653296 +0000
    +++ /var/opt/gitlab/nginx/conf/.chef-nginx20210412-26655-q8px07.conf 2021-04-12 15:10:34.628536450 +0000
    @@ -83,7 +83,6 @@
   
   
   
    -  include /var/opt/gitlab/nginx/conf/gitlab-registry.conf;
   
      include /var/opt/gitlab/nginx/conf/nginx-status.conf;
   
Recipe: nginx::enable
  * service[nginx] action nothing (skipped due to action :nothing)
  * runit_service[nginx] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/nginx] action create (up to date)
    * template[/opt/gitlab/sv/nginx/run] action create (up to date)
    * directory[/opt/gitlab/sv/nginx/log] action create (up to date)
    * directory[/opt/gitlab/sv/nginx/log/main] action create (up to date)
    * template[/opt/gitlab/sv/nginx/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_nginx] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/nginx/config] action create (up to date)
    * template[/opt/gitlab/sv/nginx/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/nginx/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for nginx service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/nginx/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/nginx/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/nginx/control] action create (up to date)
    * link[/opt/gitlab/init/nginx] action create (up to date)
    * file[/opt/gitlab/sv/nginx/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/nginx] action create (up to date)
    * ruby_block[wait for nginx service socket] action run (skipped due to not_if)
    (up to date)
  * execute[reload nginx] action nothing (skipped due to action :nothing)
Recipe: gitlab::remote-syslog_disable
  * service[remote-syslog] action nothing (skipped due to action :nothing)
  * runit_service[remote-syslog] action disable
    * ruby_block[disable remote-syslog] action run (skipped due to only_if)
    (up to date)
Recipe: gitlab::logrotate
  * service[logrotate] action nothing (skipped due to action :nothing)
  * runit_service[logrotate] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/logrotate] action create (up to date)
    * template[/opt/gitlab/sv/logrotate/run] action create (up to date)
    * directory[/opt/gitlab/sv/logrotate/log] action create (up to date)
    * directory[/opt/gitlab/sv/logrotate/log/main] action create (up to date)
    * template[/opt/gitlab/sv/logrotate/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_logrotate] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/logrotate/config] action create (up to date)
    * template[/opt/gitlab/sv/logrotate/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/logrotate/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for logrotate service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/logrotate/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/logrotate/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/logrotate/control] action create (up to date)
    * template[/opt/gitlab/sv/logrotate/control/t] action create (up to date)
    * link[/opt/gitlab/init/logrotate] action create (up to date)
    * file[/opt/gitlab/sv/logrotate/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/logrotate] action create (up to date)
    * ruby_block[wait for logrotate service socket] action run (skipped due to not_if)
    (up to date)
Recipe: gitlab::gitlab-pages_disable
  * service[gitlab-pages] action nothing (skipped due to action :nothing)
  * runit_service[gitlab-pages] action disable
    * ruby_block[disable gitlab-pages] action run (skipped due to only_if)
    (up to date)
Recipe: gitlab::storage-check_disable
  * service[storage-check] action nothing (skipped due to action :nothing)
  * runit_service[storage-check] action disable
    * ruby_block[disable storage-check] action run (skipped due to only_if)
    (up to date)
Recipe: registry::disable
  * service[registry] action nothing (skipped due to action :nothing)
  * runit_service[registry] action disable
    * ruby_block[disable registry] action run
      - execute the ruby block disable registry
 
Recipe: mattermost::disable
  * service[mattermost] action nothing (skipped due to action :nothing)
  * runit_service[mattermost] action disable
    * ruby_block[disable mattermost] action run (skipped due to only_if)
    (up to date)
Recipe: gitlab::gitlab-healthcheck
  * template[/opt/gitlab/etc/gitlab-healthcheck-rc] action create
    - update content in file /opt/gitlab/etc/gitlab-healthcheck-rc from b5efa4 to 9ace91
    --- /opt/gitlab/etc/gitlab-healthcheck-rc 2021-04-12 15:05:42.921720019 +0000
    +++ /opt/gitlab/etc/.chef-gitlab-healthcheck-rc20210412-26655-tmjsgl 2021-04-12 15:10:40.968597469 +0000
    @@ -1 +1 @@
    -url='https://localhost:443/help'
    +url='https://localhost:443//dev.dat.stu.htw.stura-dresden.de/help'
Recipe: monitoring::user
  * account[Prometheus user and group] action create
    * group[Prometheus user and group] action create (up to date)
    * linux_user[Prometheus user and group] action create (up to date)
    (up to date)
Recipe: monitoring::node-exporter
  * directory[/var/log/gitlab/node-exporter] action create (up to date)
  * directory[/opt/gitlab/etc/node-exporter/env] action create (up to date)
  * env_dir[/opt/gitlab/etc/node-exporter/env] action create
    * directory[/opt/gitlab/etc/node-exporter/env] action create (up to date)
    * file[/opt/gitlab/etc/node-exporter/env/SSL_CERT_DIR] action create (up to date)
    (up to date)
  * directory[/var/opt/gitlab/node-exporter/textfile_collector] action create (up to date)
  * service[node-exporter] action nothing (skipped due to action :nothing)
  * runit_service[node-exporter] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/node-exporter] action create (up to date)
    * template[/opt/gitlab/sv/node-exporter/run] action create (up to date)
    * directory[/opt/gitlab/sv/node-exporter/log] action create (up to date)
    * directory[/opt/gitlab/sv/node-exporter/log/main] action create (up to date)
    * template[/opt/gitlab/sv/node-exporter/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_node-exporter] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/node-exporter/config] action create (up to date)
    * template[/opt/gitlab/sv/node-exporter/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/node-exporter/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for node-exporter service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/node-exporter/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/node-exporter/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/node-exporter/control] action create (up to date)
    * link[/opt/gitlab/init/node-exporter] action create (up to date)
    * file[/opt/gitlab/sv/node-exporter/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/node-exporter] action create (up to date)
    * ruby_block[wait for node-exporter service socket] action run (skipped due to not_if)
    (up to date)
  * consul_service[node-exporter] action delete
    * file[/var/opt/gitlab/consul/config.d/node-exporter-service.json] action delete (up to date)
    (up to date)
Recipe: monitoring::gitlab-exporter
  * directory[/var/opt/gitlab/gitlab-exporter] action create (up to date)
  * directory[/var/log/gitlab/gitlab-exporter] action create (up to date)
  * template[/var/opt/gitlab/gitlab-exporter/gitlab-exporter.yml] action create (up to date)
  * version_file[Create version file for GitLab-Exporter] action create
    * file[/var/opt/gitlab/gitlab-exporter/RUBY_VERSION] action create (up to date)
    (up to date)
  * service[gitlab-exporter] action nothing (skipped due to action :nothing)
  * runit_service[gitlab-exporter] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/gitlab-exporter] action create (up to date)
    * template[/opt/gitlab/sv/gitlab-exporter/run] action create (up to date)
    * directory[/opt/gitlab/sv/gitlab-exporter/log] action create (up to date)
    * directory[/opt/gitlab/sv/gitlab-exporter/log/main] action create (up to date)
    * template[/opt/gitlab/sv/gitlab-exporter/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_gitlab-exporter] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/gitlab-exporter/config] action create (up to date)
    * template[/opt/gitlab/sv/gitlab-exporter/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/gitlab-exporter/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for gitlab-exporter service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/gitlab-exporter/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/gitlab-exporter/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/gitlab-exporter/control] action create (up to date)
    * link[/opt/gitlab/init/gitlab-exporter] action create (up to date)
    * file[/opt/gitlab/sv/gitlab-exporter/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/gitlab-exporter] action create (up to date)
    * ruby_block[wait for gitlab-exporter service socket] action run (skipped due to not_if)
    (up to date)
Recipe: monitoring::redis-exporter
  * directory[/var/log/gitlab/redis-exporter] action create (up to date)
  * directory[/opt/gitlab/etc/redis-exporter/env] action create (up to date)
  * env_dir[/opt/gitlab/etc/redis-exporter/env] action create
    * directory[/opt/gitlab/etc/redis-exporter/env] action create (up to date)
    * file[/opt/gitlab/etc/redis-exporter/env/SSL_CERT_DIR] action create (up to date)
    (up to date)
  * service[redis-exporter] action nothing (skipped due to action :nothing)
  * runit_service[redis-exporter] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/redis-exporter] action create (up to date)
    * template[/opt/gitlab/sv/redis-exporter/run] action create (up to date)
    * directory[/opt/gitlab/sv/redis-exporter/log] action create (up to date)
    * directory[/opt/gitlab/sv/redis-exporter/log/main] action create (up to date)
    * template[/opt/gitlab/sv/redis-exporter/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_redis-exporter] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/redis-exporter/config] action create (up to date)
    * template[/opt/gitlab/sv/redis-exporter/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/redis-exporter/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for redis-exporter service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/redis-exporter/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/redis-exporter/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/redis-exporter/control] action create (up to date)
    * link[/opt/gitlab/init/redis-exporter] action create (up to date)
    * file[/opt/gitlab/sv/redis-exporter/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/redis-exporter] action create (up to date)
    * ruby_block[wait for redis-exporter service socket] action run (skipped due to not_if)
    (up to date)
  * consul_service[redis-exporter] action delete
    * file[/var/opt/gitlab/consul/config.d/redis-exporter-service.json] action delete (up to date)
    (up to date)
Recipe: monitoring::prometheus
  * directory[/var/opt/gitlab/prometheus] action create (up to date)
  * directory[/var/opt/gitlab/prometheus/rules] action create (up to date)
  * directory[/var/log/gitlab/prometheus] action create (up to date)
  * directory[/opt/gitlab/etc/prometheus/env] action create (up to date)
  * env_dir[/opt/gitlab/etc/prometheus/env] action create
    * directory[/opt/gitlab/etc/prometheus/env] action create (up to date)
    * file[/opt/gitlab/etc/prometheus/env/SSL_CERT_DIR] action create (up to date)
    (up to date)
  * execute[reload prometheus] action nothing (skipped due to action :nothing)
  * file[Prometheus config] action create (up to date)
  * service[prometheus] action nothing (skipped due to action :nothing)
  * runit_service[prometheus] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/prometheus] action create (up to date)
    * template[/opt/gitlab/sv/prometheus/run] action create (up to date)
    * directory[/opt/gitlab/sv/prometheus/log] action create (up to date)
    * directory[/opt/gitlab/sv/prometheus/log/main] action create (up to date)
    * template[/opt/gitlab/sv/prometheus/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_prometheus] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/prometheus/config] action create (up to date)
    * template[/opt/gitlab/sv/prometheus/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/prometheus/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for prometheus service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/prometheus/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/prometheus/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/prometheus/control] action create (up to date)
    * link[/opt/gitlab/init/prometheus] action create (up to date)
    * file[/opt/gitlab/sv/prometheus/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/prometheus] action create (up to date)
    * ruby_block[wait for prometheus service socket] action run (skipped due to not_if)
    (up to date)
  * consul_service[prometheus] action delete
    * file[/var/opt/gitlab/consul/config.d/prometheus-service.json] action delete (up to date)
    (up to date)
  * template[/var/opt/gitlab/prometheus/rules/gitlab.rules] action create (up to date)
  * template[/var/opt/gitlab/prometheus/rules/node.rules] action create (up to date)
Recipe: monitoring::alertmanager
  * directory[/var/opt/gitlab/alertmanager] action create (up to date)
  * directory[/var/log/gitlab/alertmanager] action create (up to date)
  * directory[/opt/gitlab/etc/alertmanager/env] action create (up to date)
  * env_dir[/opt/gitlab/etc/alertmanager/env] action create
    * directory[/opt/gitlab/etc/alertmanager/env] action create (up to date)
    * file[/opt/gitlab/etc/alertmanager/env/SSL_CERT_DIR] action create (up to date)
    (up to date)
  * file[Alertmanager config] action create (up to date)
  * service[alertmanager] action nothing (skipped due to action :nothing)
  * runit_service[alertmanager] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/alertmanager] action create (up to date)
    * template[/opt/gitlab/sv/alertmanager/run] action create (up to date)
    * directory[/opt/gitlab/sv/alertmanager/log] action create (up to date)
    * directory[/opt/gitlab/sv/alertmanager/log/main] action create (up to date)
    * template[/opt/gitlab/sv/alertmanager/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_alertmanager] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/alertmanager/config] action create (up to date)
    * template[/opt/gitlab/sv/alertmanager/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/alertmanager/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for alertmanager service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/alertmanager/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/alertmanager/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/alertmanager/control] action create (up to date)
    * link[/opt/gitlab/init/alertmanager] action create (up to date)
    * file[/opt/gitlab/sv/alertmanager/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/alertmanager] action create (up to date)
    * ruby_block[wait for alertmanager service socket] action run (skipped due to not_if)
    (up to date)
Recipe: monitoring::postgres-exporter
  * directory[/var/log/gitlab/postgres-exporter] action create (up to date)
  * directory[/var/opt/gitlab/postgres-exporter] action create (up to date)
  * env_dir[/opt/gitlab/etc/postgres-exporter/env] action create
    * directory[/opt/gitlab/etc/postgres-exporter/env] action create (up to date)
    * file[/opt/gitlab/etc/postgres-exporter/env/SSL_CERT_DIR] action create (up to date)
    * file[/opt/gitlab/etc/postgres-exporter/env/DATA_SOURCE_NAME] action create (up to date)
    (up to date)
  * service[postgres-exporter] action nothing (skipped due to action :nothing)
  * runit_service[postgres-exporter] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/postgres-exporter] action create (up to date)
    * template[/opt/gitlab/sv/postgres-exporter/run] action create (up to date)
    * directory[/opt/gitlab/sv/postgres-exporter/log] action create (up to date)
    * directory[/opt/gitlab/sv/postgres-exporter/log/main] action create (up to date)
    * template[/opt/gitlab/sv/postgres-exporter/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_postgres-exporter] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/postgres-exporter/config] action create (up to date)
    * template[/opt/gitlab/sv/postgres-exporter/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/postgres-exporter/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for postgres-exporter service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/postgres-exporter/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/postgres-exporter/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/postgres-exporter/control] action create (up to date)
    * link[/opt/gitlab/init/postgres-exporter] action create (up to date)
    * file[/opt/gitlab/sv/postgres-exporter/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/postgres-exporter] action create (up to date)
    * ruby_block[wait for postgres-exporter service socket] action run (skipped due to not_if)
    (up to date)
  * template[/var/opt/gitlab/postgres-exporter/queries.yaml] action create (up to date)
  * consul_service[postgres-exporter] action delete
    * file[/var/opt/gitlab/consul/config.d/postgres-exporter-service.json] action delete (up to date)
    (up to date)
Recipe: monitoring::grafana
  * directory[/var/log/gitlab/grafana] action create (up to date)
  * directory[/var/opt/gitlab/grafana] action create (up to date)
  * directory[/var/opt/gitlab/grafana/provisioning] action create (up to date)
  * directory[/var/opt/gitlab/grafana/provisioning/dashboards] action create (up to date)
  * directory[/var/opt/gitlab/grafana/provisioning/datasources] action create (up to date)
  * directory[/var/opt/gitlab/grafana/provisioning/notifiers] action create (up to date)
  * file[/var/opt/gitlab/grafana/CVE_reset_status] action delete (up to date)
  * link[/var/opt/gitlab/grafana/conf] action create (up to date)
  * link[/var/opt/gitlab/grafana/public] action create (up to date)
  * directory[/opt/gitlab/etc/grafana/env] action create (up to date)
  * ruby_block[populate Grafana configuration options] action run
    - execute the ruby block populate Grafana configuration options
  * env_dir[/opt/gitlab/etc/grafana/env] action create
    * directory[/opt/gitlab/etc/grafana/env] action create (up to date)
    * file[/opt/gitlab/etc/grafana/env/SSL_CERT_DIR] action create (up to date)
    (up to date)
  * template[/var/opt/gitlab/grafana/grafana.ini] action create
    - update content in file /var/opt/gitlab/grafana/grafana.ini from 04a108 to d5c400
    --- /var/opt/gitlab/grafana/grafana.ini 2021-04-12 15:05:44.853738743 +0000
    +++ /var/opt/gitlab/grafana/.chef-grafana20210412-26655-37ttw6.ini 2021-04-12 15:10:42.188609210 +0000
    @@ -46,7 +46,7 @@
   
    # The full public facing url you use in browser, used for redirects and emails
    # If you use reverse proxy and sub path specify full url (with sub path)
    -root_url = https://dev.dat.stu.htw.stura-dresden.de/-/grafana
    +root_url = https://https://dev.dat.stu.htw.stura-dresden.de/-/grafana
   
    # Log web requests
    ;router_logging = false
    @@ -245,9 +245,9 @@
    client_id = b6359b88c553784ecf7c70f495d7100abe8bd81587307512ba8eddd664b25c07
    client_secret = 984601df5e1af829c2fadb83ceda9c1cc1b0bbb5be01665108565cc8b557cab7
    scopes = api
    -auth_url = https://dev.dat.stu.htw.stura-dresden.de/oauth/authorize
    -token_url = https://dev.dat.stu.htw.stura-dresden.de/oauth/token
    -api_url = https://dev.dat.stu.htw.stura-dresden.de/api/v4
    +auth_url = https://https://dev.dat.stu.htw.stura-dresden.de/oauth/authorize
    +token_url = https://https://dev.dat.stu.htw.stura-dresden.de/oauth/token
    +api_url = https://https://dev.dat.stu.htw.stura-dresden.de/api/v4
    allowed_groups =
   
    #################################### Auth Proxy ##########################
  * file[/var/opt/gitlab/grafana/provisioning/dashboards/gitlab_dashboards.yml] action create (up to date)
  * file[/var/opt/gitlab/grafana/provisioning/datasources/gitlab_datasources.yml] action create (up to date)
  * service[grafana] action nothing (skipped due to action :nothing)
  * runit_service[grafana] action enable
    * ruby_block[restart_service] action nothing (skipped due to action :nothing)
    * ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
    * ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/sv/grafana] action create (up to date)
    * template[/opt/gitlab/sv/grafana/run] action create (up to date)
    * directory[/opt/gitlab/sv/grafana/log] action create (up to date)
    * directory[/opt/gitlab/sv/grafana/log/main] action create (up to date)
    * template[/opt/gitlab/sv/grafana/log/config] action create (up to date)
    * ruby_block[verify_chown_persisted_on_grafana] action nothing (skipped due to action :nothing)
    * link[/var/log/gitlab/grafana/config] action create (up to date)
    * template[/opt/gitlab/sv/grafana/log/run] action create (up to date)
    * directory[/opt/gitlab/sv/grafana/env] action create (up to date)
    * ruby_block[Delete unmanaged env files for grafana service] action run (skipped due to only_if)
    * template[/opt/gitlab/sv/grafana/check] action create (skipped due to only_if)
    * template[/opt/gitlab/sv/grafana/finish] action create (skipped due to only_if)
    * directory[/opt/gitlab/sv/grafana/control] action create (up to date)
    * link[/opt/gitlab/init/grafana] action create (up to date)
    * file[/opt/gitlab/sv/grafana/down] action nothing (skipped due to action :nothing)
    * directory[/opt/gitlab/service] action create (up to date)
    * link[/opt/gitlab/service/grafana] action create (up to date)
    * ruby_block[wait for grafana service socket] action run (skipped due to not_if)
    (up to date)
Recipe: letsencrypt::enable
  * ruby_block[http external-url] action run (skipped due to only_if)
  * directory[/etc/gitlab/ssl] action create (up to date)
  * acme_selfsigned[https] action create
    * file[https SSL selfsigned key] action create_if_missing
      - create new file /etc/gitlab/ssl/https.key
      - update content in file /etc/gitlab/ssl/https.key from none to ec2f92
      - suppressed sensitive resource
      - change mode from '' to '0400'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * file[https SSL selfsigned crt] action create_if_missing
      - create new file /etc/gitlab/ssl/https.crt
      - update content in file /etc/gitlab/ssl/https.crt from none to a859a0
      --- /etc/gitlab/ssl/https.crt 2021-04-12 15:10:43.148618448 +0000
      +++ /etc/gitlab/ssl/.chef-https20210412-26655-zq24br.crt 2021-04-12 15:10:43.148618448 +0000
      @@ -1,17 +1,34 @@
      +-----BEGIN CERTIFICATE-----
      +MIICyjCCAbKgAwIBAgIBADANBgkqhkiG9w0BAQsFADAQMQ4wDAYDVQQDDAVodHRw
      +czAeFw0yMTA0MTIxNTEwNDNaFw0yMTA1MTIxNTEwNDNaMBAxDjAMBgNVBAMMBWh0
      +dHBzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA16TZFi6hQC78yhni
      +hlOsSIw6g1djKD4s/0UBH9K8BYH8jcOdDz/mbPxVc1CU1MMLCzNxaCofjxtHoRk9
      +fSAfJVhlIp7tu5qxp5r4V2FLe8GVJqKmXdU52MpAgSPNKnAScKhGhVLPCem6eSBA
      +bScGYgj1Ds/EvhsEY9Pg6muMqTA3xIk8lFvRvvXUDYbeXB6TAgAW8wtAH5z9pqJw
      +0vOJf2vmUtSqwic1nINRQxKhDJQ6rCQdtirmhLXwOObZD0ylDp2O65gFr6j2CiOY
      +9qHkckK4QOcM6tqgPFuauwiNJ5ZNZHNaFFKclktEsGorgcoutuexh7iS/O9OcXSE
      +chMNJwIDAQABoy8wLTAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBTkjREBayrMrjuY
      +Ps9VeW0xYEV2MjANBgkqhkiG9w0BAQsFAAOCAQEAKuQxcMkQ/TNFK00Owv28N9i2
      +JjjewCXqVMoujeVs41uhfwIvLjDrKGxhykfOxm2HcpQvGs4tKcwqBtP2NLws6xt2
      +vMTYlNk6kG8tSCB0bbWt+OHPNHBTipPPeFViACrbxPCVeQy4nqFXPTIfLmb5l/AG
      +8dFZ7LE/Q0zwQ0zlDql+i8v14cQGW4wUbAO8RdaugEAx/7udcKZgD3b0CeA9MM7o
      +m84cTvSJdRyjyyl3t77lq7XU1UaxUhhSuf8sLyY3Z8a6nV82PFWeYHi6tg3zxTOS
      +NuIzNE19XwJfeHUpoMtjaVZ9csojuBTVF14TaHdErCMtMMNd+sCsnmXkpyABnA==
      +-----END CERTIFICATE-----
      - change mode from '' to '0644'
      - change owner from '' to 'root'
      - change group from '' to 'root'
    * file[https SSL selfsigned chain] action create_if_missing (skipped due to not_if)
 
Recipe: nginx::enable
  * runit_service[nginx] action restart (up to date)
Recipe: letsencrypt::http_authorization
  * letsencrypt_certificate[https] action create
    * acme_certificate[staging] action create
      * file[https SSL key] action create_if_missing
        - create new file /etc/gitlab/ssl/https.key-staging
        - update content in file /etc/gitlab/ssl/https.key-staging from none to a2525c
        - suppressed sensitive resource
        - change mode from '' to '0400'
        - change owner from '' to 'root'
        - change group from '' to 'root'
     
      ================================================================================
      Error executing action `create` on resource 'acme_certificate[staging]'
      ================================================================================
     
      Acme::Client::Error::RejectedIdentifier
      ---------------------------------------
      Error creating new order :: Cannot issue for "https": Domain name needs at least one dot
     
      Cookbook Trace:
      ---------------
      /opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/libraries/acme.rb:47:in `acme_order_certs_for'
      /opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb:76:in `block in class_from_file'
     
      Resource Declaration:
      ---------------------
      suppressed sensitive resource output
     
      Compiled Resource:
      ------------------
      suppressed sensitive resource output
     
      System Info:
      ------------
      chef_version=14.14.29
      platform=debian
      platform_version=10.4
      ruby=ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux]
      program_name=/opt/gitlab/embedded/bin/chef-client
      executable=/opt/gitlab/embedded/bin/chef-client
     
   
    ================================================================================
    Error executing action `create` on resource 'letsencrypt_certificate[https]'
    ================================================================================
   
    Acme::Client::Error::RejectedIdentifier
    ---------------------------------------
    acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 25) had an error: Acme::Client::Error::RejectedIdentifier: Error creating new order :: Cannot issue for "https": Domain name needs at least one dot
   
    Cookbook Trace:
    ---------------
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/libraries/acme.rb:47:in `acme_order_certs_for'
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb:76:in `block in class_from_file'
   
    Resource Declaration:
    ---------------------
    # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/recipes/http_authorization.rb
   
      5: letsencrypt_certificate site do
      6:  crt node['gitlab']['nginx']['ssl_certificate']
      7:  key node['gitlab']['nginx']['ssl_certificate_key']
      8:  notifies :run, "execute[reload nginx]", :immediate
      9:  notifies :run, 'ruby_block[display_le_message]'
    10:  only_if { omnibus_helper.service_up?('nginx') }
    11: end
   
    Compiled Resource:
    ------------------
    # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/recipes/http_authorization.rb:5:in `from_file'
   
    letsencrypt_certificate("https") do
      action [:create]
      updated true
      updated_by_last_action true
      default_guard_interpreter :default
      declared_type :letsencrypt_certificate
      cookbook_name "letsencrypt"
      recipe_name "http_authorization"
      crt "/etc/gitlab/ssl/https.crt"
      key "/etc/gitlab/ssl/https.key"
      alt_names []
      cn "https"
      only_if { #code block }
    end
   
    System Info:
    ------------
    chef_version=14.14.29
    platform=debian
    platform_version=10.4
    ruby=ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-linux]
    program_name=/opt/gitlab/embedded/bin/chef-client
    executable=/opt/gitlab/embedded/bin/chef-client
   
Recipe: gitlab::puma
  * runit_service[puma] action restart (up to date)
  * runit_service[puma] action restart (up to date)
Recipe: gitlab::sidekiq-cluster
  * runit_service[sidekiq] action restart (up to date)
Recipe: gitlab::gitlab-rails
  * execute[clear the gitlab-rails cache] action run
    - execute /opt/gitlab/bin/gitlab-rake cache:clear
Recipe: gitaly::enable
  * runit_service[gitaly] action hup
    - send hup to runit_service[gitaly]
Recipe: nginx::enable
  * runit_service[nginx] action restart (up to date)
Recipe: monitoring::grafana
  * runit_service[grafana] action restart (up to date)
Running handlers:
There was an error running gitlab-ctl reconfigure:
letsencrypt_certificate[https] (letsencrypt::http_authorization line 5) had an error: Acme::Client::Error::RejectedIdentifier: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 25) had an error: Acme::Client::Error::RejectedIdentifier: Error creating new order :: Cannot issue for "https": Domain name needs at least one dot
Warnings:
Environment variable LC_ALL specifies a non-UTF-8 locale. GitLab requires UTF-8 encoding to function properly. Please check your locale settings.
Running handlers complete
Chef Client failed. 27 resources updated in 02 minutes 25 seconds
Warnings:
Environment variable LC_ALL specifies a non-UTF-8 locale. GitLab requires UTF-8 encoding to function properly. Please check your locale settings.
TurnKey GNU/Linux Configuration Console
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
                            ┌─────────────────────GitLab Error!────────────────────────┐
                            │                                                          │ 
                            │ Something went wrong!                                    │ 
                            │ Please check that the domain                            │ 
                            │ https://https://dev.dat.stu.htw.stura-dresden.de        │ 
                            │ resolves to a publicly accessable IP address for this    │ 
                            │ server and that ports 80 and 443 are publicly            │ 
                            │ accessible.                                              │ 
                            │                                                          │ 
                            │ It is also possible that there is some other issue with  │ 
                            │ your config file (/etc/gitlab/gitlab.rb).                │ 
                            │                                                          │ 
                            │ For full details, please try running 'gitlab-ctl        │ 
                            │ reconfigure' from the commandline.                      │ 
                            │                                                          │ 
                            │ Also see:                                                │ 
                            │ https://docs.gitlab.com/omnibus/settings/ssl.html        │ 
                            ├──────────────────────────────────────────────────────────┤ 
                            │                        <  ok  >                        │ 
                            └──────────────────────────────────────────────────────────┘ 
                             
</pre>
-->
?
https://www.turnkeylinux.org/forum/support/sat-20201205-1311/gitlab-jessie-letsencrypt-borked
== [[Server/GitLab#TurnKey 16 Installation]] Aktualisierung 2021-04-14 ==
erste Aktualisierung nach der Installation
: <code>apt update</code>
: <code>apt upgrade -y</code>
<pre></pre>
<pre>
Package configuration
  ┌───────────────────────┤ Postfix Configuration ├────────────────────────┐
  │                                                                        │
  │  No configuration:                                                     
  │  Should be chosen to leave the current configuration unchanged.       
  │  Internet site:                                                         
  │  Mail is sent and received directly using SMTP.                       
  │  Internet with smarthost:                                               
  │  Mail is received directly using SMTP or by running a utility such     
  │  as fetchmail. Outgoing mail is sent using a smarthost.               
  │  Satellite system:                                                     
  │  All mail is sent to another machine, called a 'smarthost', for       
  │ delivery.                                                               
  │  Local only:                                                           
  │  The only delivered mail is the mail for local users. There is no     
  │ network.                                                               
  │                                                                         
  │                                <Ok>                                   
  │                                                                        │
  └────────────────────────────────────────────────────────────────────────┘
</pre>
<pre>
<Ok>
</pre>
<pre>
Package configuration
                    ┌──────┤ Postfix Configuration ├───────┐
                    │ General type of mail configuration:  │
                    │                                      │
                    │      No configuration              │
                    │      Internet Site                  │
                    │      Internet with smarthost        │
                    │      Satellite system              │
                    │      Local only                    │
                    │                                      │
                    │                                      │
                    │      <Ok>          <Cancel>        │
                    │                                      │
                    └──────────────────────────────────────┘
</pre>
<pre>
<Ok>
</pre>
<pre></pre>
<pre>
Setting up confconsole (2.0.2+4+gef5db16) ...#################..............]
Configuration file '/etc/confconsole/confconsole.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
  What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D    : show the differences between the versions
      Z    : start a shell to examine the situation
The default action is to keep your current version.
*** confconsole.conf (Y/I/N/O/D/Z) [default=N] ?
</pre>
<pre>
Errors were encountered while processing:ate.d...
[master 9bd3e86] committing changes in /etc made by "apt upgrade -y"
81 files changed, 588 insertions(+), 298 deletions(-)
create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-automatic.gpg
create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-security-automatic.gpg
create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-stable.gpg
delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
create mode 100644 gitlab/config_backup/gitlab_config_1618398921_2021_04_14.tar
create mode 120000 ssl/certs/0a775a30.0
create mode 120000 ssl/certs/0f5dc4f3.0
create mode 120000 ssl/certs/1001acf7.0
create mode 120000 ssl/certs/14bc7599.0
delete mode 120000 ssl/certs/157753a5.0
create mode 120000 ssl/certs/2923b3f9.0
create mode 120000 ssl/certs/406c9bb1.0
create mode 120000 ssl/certs/4b718d9b.0
create mode 120000 ssl/certs/5e98733a.0
create mode 120000 ssl/certs/626dceaf.0
create mode 120000 ssl/certs/68dd7389.0
delete mode 120000 ssl/certs/812e17de.0
delete mode 120000 ssl/certs/9f0f5fd6.0
delete mode 120000 ssl/certs/AddTrust_External_Root.pem
create mode 120000 ssl/certs/Certigna_Root_CA.pem
delete mode 120000 ssl/certs/Certinomis_-_Root_CA.pem
delete mode 120000 ssl/certs/Certplus_Class_2_Primary_CA.pem
delete mode 120000 ssl/certs/Deutsche_Telekom_Root_CA_2.pem
create mode 120000 ssl/certs/Entrust_Root_Certification_Authority_-_G4.pem
create mode 120000 ssl/certs/GTS_Root_R1.pem
create mode 120000 ssl/certs/GTS_Root_R2.pem
create mode 120000 ssl/certs/GTS_Root_R3.pem
create mode 120000 ssl/certs/GTS_Root_R4.pem
create mode 120000 ssl/certs/Hongkong_Post_Root_CA_3.pem
create mode 120000 ssl/certs/UCA_Extended_Validation_Root.pem
create mode 120000 ssl/certs/UCA_Global_G2_Root.pem
create mode 120000 ssl/certs/a3418fda.0
create mode 120000 ssl/certs/c01eb047.0
create mode 120000 ssl/certs/e2458005.0
create mode 120000 ssl/certs/emSign_ECC_Root_CA_-_C3.pem
create mode 120000 ssl/certs/emSign_ECC_Root_CA_-_G3.pem
create mode 120000 ssl/certs/emSign_Root_CA_-_C1.pem
create mode 120000 ssl/certs/emSign_Root_CA_-_G1.pem
delete mode 120000 ssl/certs/f060240e.0
create mode 120000 ssl/certs/f51bb24c.0
create mode 120000 sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf
create mode 100644 webmin/installed.cache
Enumerating objects: 1300, done.
Counting objects: 100% (1300/1300), done.
Compressing objects: 100% (831/831), done.
Writing objects: 100% (1300/1300), done.
Total 1300 (delta 92), reused 1156 (delta 63)
E: Sub-process /usr/bin/dpkg returned an error code (1)
</pre>
== [[Server/GitLab#TurnKey 16 Installation]] confconsole (dehydrated) vs. GitLab omnibus ==
https://github.com/turnkeylinux-apps/gitlab/blob/master/conf.d/main
: <code>apt purge -y dehydrated</code>
<pre>
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages will be REMOVED:
  dehydrated*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 182 kB disk space will be freed.
(Reading database ... 109882 files and directories currently installed.)
Removing dehydrated (0.6.2-2+deb10u1) ...
Processing triggers for man-db (2.8.5-2) ...
(Reading database ... 109855 files and directories currently installed.)
Purging configuration files for dehydrated (0.6.2-2+deb10u1) ...
dpkg: warning: while removing dehydrated, directory '/var/lib/dehydrated' not empty so not removed
dpkg: warning: while removing dehydrated, directory '/etc/dehydrated' not empty so not removed
[master 2b99892] committing changes in /etc made by "apt purge -y dehydrated"
2 files changed, 18 deletions(-)
delete mode 100644 dehydrated/config
Enumerating objects: 1445, done.
Counting objects: 100% (1445/1445), done.
Compressing objects: 100% (878/878), done.
Writing objects: 100% (1445/1445), done.
Total 1445 (delta 137), reused 1440 (delta 134)
</pre>
: <code>ls /var/lib/dehydrated </code>
<pre>
accounts  certs  chains
</pre>
: <code>ls /var/lib/dehydrated/certs/</code>
<pre>
gitlab.htw.stura-dresden.de
</pre>
: <code>ls /etc/dehydrated</code>
<pre>
confconsole.config  confconsole.domains.txt  confconsole.domains.txt.bak  confconsole.hook.sh
</pre>
== restore fuckup 13.10 ==
<code>gitlab-rake gitlab:doctor:secrets</code>
<pre>
I, [2021-04-15T02:14:17.910650 #66626]  INFO -- : Checking encrypted values in the database
I, [2021-04-15T02:14:34.238380 #66626]  INFO -- : - ApplicationSetting failures: 1
I, [2021-04-15T02:14:34.400903 #66626]  INFO -- : - User failures: 0
I, [2021-04-15T02:14:34.413306 #66626]  INFO -- : - Ci::InstanceVariable failures: 0
I, [2021-04-15T02:14:34.424056 #66626]  INFO -- : - Clusters::Platforms::Kubernetes failures: 0
I, [2021-04-15T02:14:34.434758 #66626]  INFO -- : - Ci::PipelineScheduleVariable failures: 0
I, [2021-04-15T02:14:34.445801 #66626]  INFO -- : - Snippet failures: 0
I, [2021-04-15T02:14:34.452747 #66626]  INFO -- : - PersonalSnippet failures: 0
I, [2021-04-15T02:14:34.455067 #66626]  INFO -- : - ProjectSnippet failures: 0
I, [2021-04-15T02:14:34.475800 #66626]  INFO -- : - Ci::GroupVariable failures: 0
I, [2021-04-15T02:14:34.486404 #66626]  INFO -- : - Clusters::Applications::Helm failures: 0
I, [2021-04-15T02:14:34.496913 #66626]  INFO -- : - Clusters::Applications::Prometheus failures: 0
I, [2021-04-15T02:14:34.507404 #66626]  INFO -- : - Ci::Variable failures: 0
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "alert_management_http_integrations" does not exist
LINE 1: ...ELECT "alert_management_http_integrations".* FROM "alert_man...
                                                            ^
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:38:in `block in check_model_attributes'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `each'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `check_model_attributes'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:26:in `run!'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/doctor/secrets.rake:11:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Caused by:
PG::UndefinedTable: ERROR:  relation "alert_management_http_integrations" does not exist
LINE 1: ...ELECT "alert_management_http_integrations".* FROM "alert_man...
                                                            ^
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:38:in `block in check_model_attributes'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `each'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `check_model_attributes'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:26:in `run!'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/doctor/secrets.rake:11:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:doctor:secrets
(See full trace by running task with --trace)
</pre>

Aktuelle Version vom 15. April 2021, 03:13 Uhr

"Alternative" mit einfach nur Apache[Bearbeiten]

http://www.bsdforen.de/threads/git-over-http-s-and-per-user-group-rights.28707/

Alternative zu GitLab[Bearbeiten]

(mit und ohne Ruby on Rails)

Gogs
Go Git Service - "A painless self-hosted Git service."

Gern kann wer eine Jail bekommen.

Der Eintrag Installing Gogs on FreeBSD könnte ja eine Vorlage sein.

BTW: Erfolgreiches (oder bisherige Stände) könnten ja in einem Artikel Server/Gogs vermerkt verwerden. (Eigentlich sollte es dann auch einen Artikel Server/Git oder Server/Code geben. Ich warte mal ab. Server/GitLab steckt ja auch noch "in den Kinderschuhen".)

Siehe auch

--Paul 10:27, 12. Mär. 2016 (CET)

Kallithea
Gitbucket (basiert u.a. auf der Programmiersprache Scala)

--Mr N (Diskussion) 23:21, 20. Sep. 2016 (CEST)

testweise Installation[Bearbeiten]

pre install[Bearbeiten]

pkg update && pkg upgrade -y

install gitlab[Bearbeiten]

pkg install -y gitlab


Message from ruby-2.2.5,1:
====
Some of the standard commands are provided as separate ports for ease
of upgrading:

	devel/ruby-gems:	gem - RubyGems package manager
	devel/rubygem-rake:	rake - Ruby Make

And some of the standard libraries are provided as separate ports
since they require extra dependencies:

	databases/ruby-gdbm:	GDBM module

Install them as occasion demands.
====
Message from gcc-4.8.5_2:
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc48

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
Message from node-6.1.0:
Note: If you need npm (Node Package Manager), please install www/npm.
Message from postgresql93-client-9.3.12:
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk 
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-PyGreSQL
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
Message from redis-3.0.7:
===>  CONFIGURATION NOTE:

      To setup "redis" you need to edit the configuration file:
      /usr/local/etc/redis.conf

      To run redis from startup, add redis_enable="YES"
      in your /etc/rc.conf.
Message from rubygem-sinatra-1.4.7:
**** NOTE ****

        Sinatra optionally integrates with haml/sass or Builder
        for templating and mongrel or thin as an HTTP server.
        To use them, install the respective ports separately:

                www/rubygem-haml
                devel/rubygem-builder
                www/rubygem-mongrel
                www/rubygem-thin
Message from gitlab-8.7.2:
Gitlab was installed successfully.

You now need to set up the various components of Gitlab, so please
follow the instructions in the guide at:

https://github.com/t-zuehlsdorff/gitlabhq/blob/master/doc/install/installation-freebsd.md

If you just installed an minor upgrade of GitLab please follow
the instructions in the guide at:

https://github.com/t-zuehlsdorff/gitlabhq/blob/master/doc/update/freebsd_patch_versions.md

If you just installed an major upgrade of GitLab, for example you
switched from 8.6.x to 8.7.x, please follow the instructions in the guide at:

https://github.com/t-zuehlsdorff/gitlabhq/blob/master/doc/update/8.6-to-8.7-freebsd.md

sysrc gitlab_enable=YES

post install[Bearbeiten]

Siehe auch:

PostgreSQL[Bearbeiten]

PostgreSQL 9.5[Bearbeiten]

pkg install -y postgresql95-server postgresql95-contrib

Message from postgresql95-client-9.5.2:
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk 
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-PyGreSQL
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
Message from postgresql95-server-9.5.2:
For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.

If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.

The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, /usr/local/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perfom vacuum on all
databases nightly. Per default, it perfoms `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~pgsql/data/postgresql.conf.

If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.

Please note that if you use the rc script,
/usr/local/etc/rc.d/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default.  Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.

To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
	:lang=en_US.UTF-8:\
	:setenv=LC_COLLATE=C:\
	:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_class="postgres"' to /etc/rc.conf.

======================================================================

To initialize the database, run

  /usr/local/etc/rc.d/postgresql initdb

You can then start PostgreSQL by running:

  /usr/local/etc/rc.d/postgresql start

For postmaster settings, see ~pgsql/data/postgresql.conf

NB. FreeBSD's PostgreSQL port logs to syslog by default
    See ~pgsql/data/postgresql.conf for more info

======================================================================

To run PostgreSQL at startup, add
'postgresql_enable="YES"' to /etc/rc.conf
Message from postgresql95-contrib-9.5.2:
The PostgreSQL contrib utilities have been installed. Please see
/usr/local/share/doc/postgresql/contrib/README
for more information.
PostgreSQL 9.3[Bearbeiten]
… da wegen postgresql95-server der Bestandteil postgresql93-client deinstalliert wird, sollte vielleicht erstmal mit gesamtheitlich PostgreSQL 9.3 weitergemacht werden.

pkg install -y gitlab

Installed packages to be REMOVED:
	postgresql95-server-9.5.2
	postgresql95-client-9.5.2
	postgresql95-contrib-9.5.2

New packages to be INSTALLED:
	gitlab: 8.7.2
	postgresql93-client: 9.3.12
	rubygem-pg: 0.18.4

Server/GitLab#TurnKey 16 Installation output ssh[Bearbeiten]

Reconfiguring GitLab. This might take a while. Please wait.


Reconfiguring GitLab. This might take a while. Please wait.

Server/GitLab#TurnKey 16 Installation output confconsole tls error[Bearbeiten]


? https://www.turnkeylinux.org/forum/support/sat-20201205-1311/gitlab-jessie-letsencrypt-borked

Server/GitLab#TurnKey 16 Installation Aktualisierung 2021-04-14[Bearbeiten]

erste Aktualisierung nach der Installation

apt update
apt upgrade -y

Package configuration

   ┌───────────────────────┤ Postfix Configuration ├────────────────────────┐
   │                                                                        │ 
   │  No configuration:                                                       
   │   Should be chosen to leave the current configuration unchanged.         
   │  Internet site:                                                          
   │   Mail is sent and received directly using SMTP.                         
   │  Internet with smarthost:                                                
   │   Mail is received directly using SMTP or by running a utility such      
   │   as fetchmail. Outgoing mail is sent using a smarthost.                 
   │  Satellite system:                                                       
   │   All mail is sent to another machine, called a 'smarthost', for         
   │ delivery.                                                                
   │  Local only:                                                             
   │   The only delivered mail is the mail for local users. There is no       
   │ network.                                                                 
   │                                                                          
   │                                 <Ok>                                     
   │                                                                        │ 
   └────────────────────────────────────────────────────────────────────────┘ 
<Ok>
Package configuration





                    ┌──────┤ Postfix Configuration ├───────┐
                    │ General type of mail configuration:  │ 
                    │                                      │ 
                    │       No configuration               │ 
                    │       Internet Site                  │ 
                    │       Internet with smarthost        │ 
                    │       Satellite system               │ 
                    │       Local only                     │ 
                    │                                      │ 
                    │                                      │ 
                    │       <Ok>           <Cancel>        │ 
                    │                                      │ 
                    └──────────────────────────────────────┘ 
<Ok>

Setting up confconsole (2.0.2+4+gef5db16) ...#################..............] 

Configuration file '/etc/confconsole/confconsole.conf'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** confconsole.conf (Y/I/N/O/D/Z) [default=N] ? 
Errors were encountered while processing:ate.d...
[master 9bd3e86] committing changes in /etc made by "apt upgrade -y"
 81 files changed, 588 insertions(+), 298 deletions(-)
 create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-automatic.gpg
 create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-security-automatic.gpg
 create mode 100644 apt/trusted.gpg.d/debian-archive-bullseye-stable.gpg
 delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
 delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
 delete mode 100644 apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
 create mode 100644 gitlab/config_backup/gitlab_config_1618398921_2021_04_14.tar
 create mode 120000 ssl/certs/0a775a30.0
 create mode 120000 ssl/certs/0f5dc4f3.0
 create mode 120000 ssl/certs/1001acf7.0
 create mode 120000 ssl/certs/14bc7599.0
 delete mode 120000 ssl/certs/157753a5.0
 create mode 120000 ssl/certs/2923b3f9.0
 create mode 120000 ssl/certs/406c9bb1.0
 create mode 120000 ssl/certs/4b718d9b.0
 create mode 120000 ssl/certs/5e98733a.0
 create mode 120000 ssl/certs/626dceaf.0
 create mode 120000 ssl/certs/68dd7389.0
 delete mode 120000 ssl/certs/812e17de.0
 delete mode 120000 ssl/certs/9f0f5fd6.0
 delete mode 120000 ssl/certs/AddTrust_External_Root.pem
 create mode 120000 ssl/certs/Certigna_Root_CA.pem
 delete mode 120000 ssl/certs/Certinomis_-_Root_CA.pem
 delete mode 120000 ssl/certs/Certplus_Class_2_Primary_CA.pem
 delete mode 120000 ssl/certs/Deutsche_Telekom_Root_CA_2.pem
 create mode 120000 ssl/certs/Entrust_Root_Certification_Authority_-_G4.pem
 create mode 120000 ssl/certs/GTS_Root_R1.pem
 create mode 120000 ssl/certs/GTS_Root_R2.pem
 create mode 120000 ssl/certs/GTS_Root_R3.pem
 create mode 120000 ssl/certs/GTS_Root_R4.pem
 create mode 120000 ssl/certs/Hongkong_Post_Root_CA_3.pem
 create mode 120000 ssl/certs/UCA_Extended_Validation_Root.pem
 create mode 120000 ssl/certs/UCA_Global_G2_Root.pem
 create mode 120000 ssl/certs/a3418fda.0
 create mode 120000 ssl/certs/c01eb047.0
 create mode 120000 ssl/certs/e2458005.0
 create mode 120000 ssl/certs/emSign_ECC_Root_CA_-_C3.pem
 create mode 120000 ssl/certs/emSign_ECC_Root_CA_-_G3.pem
 create mode 120000 ssl/certs/emSign_Root_CA_-_C1.pem
 create mode 120000 ssl/certs/emSign_Root_CA_-_G1.pem
 delete mode 120000 ssl/certs/f060240e.0
 create mode 120000 ssl/certs/f51bb24c.0
 create mode 120000 sysctl.d/90-omnibus-gitlab-net.core.somaxconn.conf
 create mode 100644 webmin/installed.cache
Enumerating objects: 1300, done.
Counting objects: 100% (1300/1300), done.
Compressing objects: 100% (831/831), done.
Writing objects: 100% (1300/1300), done.
Total 1300 (delta 92), reused 1156 (delta 63)
E: Sub-process /usr/bin/dpkg returned an error code (1)

Server/GitLab#TurnKey 16 Installation confconsole (dehydrated) vs. GitLab omnibus[Bearbeiten]

https://github.com/turnkeylinux-apps/gitlab/blob/master/conf.d/main

apt purge -y dehydrated
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  dehydrated*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 182 kB disk space will be freed.
(Reading database ... 109882 files and directories currently installed.)
Removing dehydrated (0.6.2-2+deb10u1) ...
Processing triggers for man-db (2.8.5-2) ...
(Reading database ... 109855 files and directories currently installed.)
Purging configuration files for dehydrated (0.6.2-2+deb10u1) ...
dpkg: warning: while removing dehydrated, directory '/var/lib/dehydrated' not empty so not removed
dpkg: warning: while removing dehydrated, directory '/etc/dehydrated' not empty so not removed
[master 2b99892] committing changes in /etc made by "apt purge -y dehydrated"
 2 files changed, 18 deletions(-)
 delete mode 100644 dehydrated/config
Enumerating objects: 1445, done.
Counting objects: 100% (1445/1445), done.
Compressing objects: 100% (878/878), done.
Writing objects: 100% (1445/1445), done.
Total 1445 (delta 137), reused 1440 (delta 134)
ls /var/lib/dehydrated
accounts  certs  chains
ls /var/lib/dehydrated/certs/
gitlab.htw.stura-dresden.de
ls /etc/dehydrated
confconsole.config  confconsole.domains.txt  confconsole.domains.txt.bak  confconsole.hook.sh

restore fuckup 13.10[Bearbeiten]

gitlab-rake gitlab:doctor:secrets

I, [2021-04-15T02:14:17.910650 #66626]  INFO -- : Checking encrypted values in the database
I, [2021-04-15T02:14:34.238380 #66626]  INFO -- : - ApplicationSetting failures: 1
I, [2021-04-15T02:14:34.400903 #66626]  INFO -- : - User failures: 0
I, [2021-04-15T02:14:34.413306 #66626]  INFO -- : - Ci::InstanceVariable failures: 0
I, [2021-04-15T02:14:34.424056 #66626]  INFO -- : - Clusters::Platforms::Kubernetes failures: 0
I, [2021-04-15T02:14:34.434758 #66626]  INFO -- : - Ci::PipelineScheduleVariable failures: 0
I, [2021-04-15T02:14:34.445801 #66626]  INFO -- : - Snippet failures: 0
I, [2021-04-15T02:14:34.452747 #66626]  INFO -- : - PersonalSnippet failures: 0
I, [2021-04-15T02:14:34.455067 #66626]  INFO -- : - ProjectSnippet failures: 0
I, [2021-04-15T02:14:34.475800 #66626]  INFO -- : - Ci::GroupVariable failures: 0
I, [2021-04-15T02:14:34.486404 #66626]  INFO -- : - Clusters::Applications::Helm failures: 0
I, [2021-04-15T02:14:34.496913 #66626]  INFO -- : - Clusters::Applications::Prometheus failures: 0
I, [2021-04-15T02:14:34.507404 #66626]  INFO -- : - Ci::Variable failures: 0
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "alert_management_http_integrations" does not exist
LINE 1: ...ELECT "alert_management_http_integrations".* FROM "alert_man...
                                                             ^
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:38:in `block in check_model_attributes'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `each'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `check_model_attributes'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:26:in `run!'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/doctor/secrets.rake:11:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'

Caused by:
PG::UndefinedTable: ERROR:  relation "alert_management_http_integrations" does not exist
LINE 1: ...ELECT "alert_management_http_integrations".* FROM "alert_man...
                                                             ^
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:38:in `block in check_model_attributes'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `each'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:36:in `check_model_attributes'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/doctor/secrets.rb:26:in `run!'
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/doctor/secrets.rake:11:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:doctor:secrets
(See full trace by running task with --trace)