gitlabをソースベースからオムニバスに移動しました。以下のリンクを使用して、MySQLからpsqlへのdbダンプを変換することができます。
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/mysql_to_postgresql.md
私はそれが上の/ var/opt/gitlab/gitのデータ/リポジトリ/復元を手動で& gitlabオムニバスサーバ&にコピーされたリポジトリのzipファイルを作成しました。
これらの手順の後、/var/opt/gitlab/git-data/xyz.sh &のスクリプトを実行して、フックを更新します。
#!/bin/bash
for i in repositories/* ; do
if [ -d "$i" ]; then
for o in $i/* ; do
if [ -d "$i" ]; then
rm "$o/hooks"
# change the paths if required
ln -s "/opt/gitlab/embedded/service/gitlab-shell/hooks" /var/opt/gitlab/git-data/"$o"/hooks
echo "HOOKS CHANGED ($i/$o)"
fi
done
fi
done
注:レポ許可はgitのする必要があります:gitの移行中
いくつかの便利なコマンド:
sudo gitlab-ctl start postgres **to start the Postgres service only**
sudo gitlab-psql **to use the gitlab bundle postgres.**
あなたはgitlabページ上の5xxエラーコードに直面している場合はコメントをお気軽に。