Intermittent 502 errors or after a few days If you run Pages on a system that uses systemd and tmpfiles.d, you may encounter intermittent 502 errors trying to serve Pages with an error similar to: dial tcp: lookup gitlab.example.com on [::1]:53: dial udp [::1]:53: connect: no route to host" GitLab Pages creates a bind mount …
Tag: gitlab
Enable LFS (Large File Storage) in GitLab
Refer to official docs: https://docs.gitlab.com/ce/administration/lfs/manage_large_binaries_with_git_lfs.html Requirements Git LFS is supported in GitLab starting with version 8.2 Git LFS must be enabled under project settings Git LFS client version 1.0.1 and up 1. Enable LFS on GitLab Server a). Configuration for Omnibus installations In /etc/gitlab/gitlab.rb: # Change to true to enable lfs - enabled by default …
Gitlab Omnisharp package – Change LDAP DN for external user
Scenario: Change DN from “cn=李小李,ou=IT中心,ou=XX公司,dc=xx,dc=com” to “cn=李小李,ou=HR Dept,ou=XX公司,dc=xx,dc=com” for user #11. Step 1 – Connect to boundled PostgreSQL database # sudo gitlab-psql -d gitlabhq_production psql (10.9) Type "help" for help. gitlabhq_production=# Refer to: https://docs.gitlab.com/omnibus/settings/database.html#connecting-to-the-bundled-postgresql-database Step 2 – Search user DN by user id in the psql shell gitlabhq_production=# select * from identities where provider = …