ubuntu gitlab 升级/备份/恢复

1. 停止gitlab服务

gitlab-ctl stop unicorn

gitlab-ctl stop sidekiq

gitlab-ctl stop nginx

gitlab-rake gitlab:backup:create       # 备份

2. 安装gitlab

dpkg -i gitlab-ce_8.16.4-ce.0_amd64.deb

3. 配置和重启gitlab

gitlab-ctl restart

4. gitlab恢复数据

# 停止相关数据连接服务
gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq

# 从1393513186编号备份中恢复
gitlab-rake gitlab:backup:restore BACKUP=1486219173_2017_02_04

# 启动Gitlab
sudo gitlab-ctl start
this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets Generating ssh_host_rsa_key... cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 20 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 20 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets Generating ssh_host_rsa_key... cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Generating ssh_host_rsa_key... Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 11 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 19 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random Generating ssh_host_rsa_key... /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random Generating ssh_host_rsa_key... /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random Generating ssh_host_rsa_key... /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 18 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Fatal glibc error: cannot get entropy for arc4random Generating ssh_host_rsa_key... /assets/init-container: line 109: 11 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 11 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa Thank you for using GitLab Docker Image! Current version: gitlab-ce=18.4.0-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart gitlab For a comprehensive list of configuration options please see the Omnibus GitLab readme https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md If this container fails to start due to permission problems try to fix it by executing: docker exec -it gitlab update-permissions docker restart gitlab Cleaning stale PIDs & sockets cat: /var/opt/gitlab/gitlab-rails/VERSION: No such file or directory Generating ssh_host_rsa_key... Fatal glibc error: cannot get entropy for arc4random /assets/init-container: line 109: 12 Aborted (core dumped) ssh-keygen -f /etc/gitlab/ssh_host_rsa_key -N '' -t rsa [root@localhost ~]#
最新发布
10-25
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值