首页 新闻 会员 周边

gitlab: 修改 repository 路径后 puma 无法启动

0
悬赏园豆:30 [已解决问题] 解决于 2023-08-12 19:15

/etc/gitlab/gitlab.rb 中将 git_data_dirs 路径改为 /data/git-data

git_data_dirs({
  "default" => {
    "path" => "/data/git-data"
   }
})

将 repositories 移动到了新路径

mv /var/opt/gitlab/git-data/repositories/ /data/git-data

重启 gitlab

gitlab-ctl reconfigure ** gitlab-ctl restart

puma 却无法启动

timeout: run: puma: (pid 3188) 8681s, want down
run: puma: (pid 3188) 8956s, want down; down: log: 8173s, normally up, want up

请问如何解决?

dudu的主页 dudu | 高人七级 | 园豆:30948
提问于:2023-08-12 18:52
< >
分享
最佳答案
0

Change gitlab repository location 回答中找到了解决方法

chmod 755 /data/git-data/
dudu | 高人七级 |园豆:30948 | 2023-08-12 19:15
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册