Gitlab使用FAQ

  • Q:CI/CD jobs 輸出亂碼
  • A:一般是因爲服務器上的字符集與WEB的不一致導致,在.gitlab-ci.yml的script加上LANG=zh_CN.UTF-8即可。

  • Q:gitlab-ctl reconfigure時,服務器上存在舊版gitlab,刪除後,還存在git用戶,新裝gitlab會提示user is currently used by process xxx
  • A:無傷大雅的話,直接userdel -r -f git,再重裝。

  • Q:gitlab-ctl reconfigure時,安裝自帶的數據庫PostgreSQL,若不支持現有主機的字符集,會提示The encoding you selected (UTF8) and the encoding that the selected locale……
  • A:臨時export LANG=en_US.UTF-8就行,安裝完再export LANG=xxx回來。

  • Q:截止提出該問題時, gitlab暫不支持以中文命名的分支往英文分支進行合併時,如果出現版本衝突,進行衝突解決。
  • A:其實就是字符集問題,沒有去嘗試其他語言會不會有同樣問題。把中文改英文可以先跳過該問題。

  • Q:頁面返回502異常,production.log輸出Redis::CommandError (MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.):錯誤。
  • A:請查看redis官網上的常見問題
    在這裏插入圖片描述
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章