2: 2021-06-28 (月) 20:02:01 iseki | 3: 2021-06-29 (火) 13:53:51 iseki | ||
---|---|---|---|
Line 4: | Line 4: | ||
- サービス: gitlab-runsvdir.service | - サービス: gitlab-runsvdir.service | ||
#br | #br | ||
- | *** root のパスワード変更 [#t6848d95] | + | *** LDAP [#a604dcae] |
- | - gitlab-rails console -e production | + | - /etc/gitlab/[[gitlab.rb>./ldap_gitlab.rb]] |
+ | |||
+ | - 変更の反映 | ||
+ | -- # gitlab-ctl reconfigure | ||
+ | - チェック | ||
+ | -- # gitlab-rake gitlab:ldap:check RAILS_ENV=production | ||
+ | #br | ||
+ | |||
+ | *** HTTPS [#n6ae08c0] | ||
+ | # pwd | ||
+ | /etc/gitlab/ssl | ||
+ | # ls -l | ||
+ | -rw-r--r--. 1 root root 1070 2月 19 15:14 gitlab.nsl.tuis.ac.jp.crt | ||
+ | -r--------. 1 root root 1679 2月 19 15:14 gitlab.nsl.tuis.ac.jp.key | ||
+ | -r--------. 1 root root 1675 2月 19 15:14 gitlab.nsl.tuis.ac.jp.key-staging | ||
+ | #br | ||
+ | |||
+ | *** Trouble Shooting [#y0073385] | ||
+ | **** LDAP でログイン時にエラー [#xb711372] | ||
+ | - Could not authenticate you from Ldapmain because "Undefined method `provider' for nil:nilclass". | ||
+ | - LDAPのユーザ属性(posixAccount)に mailアドレスを追加する.see [[phpLDAPadmin]] | ||
+ | #br | ||
+ | **** root のパスワードを忘れた [#p7d291e4] | ||
+ | - # gitlab-rails console -e production | ||
-- user = User.where(id: 1).first | -- user = User.where(id: 1).first | ||
-- user.password = '********' | -- user.password = '********' | ||
Line 29: | Line 52: | ||
=> true | => true | ||
irb(main):005:0> exit | irb(main):005:0> exit | ||
+ | |||
+ | #br |
- GitLab のバックアップ一覧
- GitLab のバックアップ差分(No. All)
- 1: 2021-06-28 (月) 19:17:39 iseki
- 2: 2021-06-28 (月) 20:02:01 iseki
- 3: 2021-06-29 (火) 13:53:51 iseki
- 4: 2021-06-29 (火) 15:42:11 iseki
- 5: 2021-06-29 (火) 19:16:19 iseki
- 6: 2021-09-14 (火) 19:04:58 iseki
- 7: 2021-09-20 (月) 20:07:03 iseki
- 8: 2021-09-21 (火) 00:20:20 iseki
- 9: 2021-10-03 (日) 20:18:23 iseki
- 10: 2023-01-27 (金) 18:19:52 iseki
- 11: 2023-05-17 (水) 10:25:34 iseki
- 現: 2023-11-05 (日) 14:21:13 iseki