- 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官网上的常见问题。