第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

GitLab修改PostgreSQL數(shù)據(jù)庫文件位置的問題

GitLab修改PostgreSQL數(shù)據(jù)庫文件位置的問題

jeck貓 2018-08-03 06:09:03
默認(rèn)情況下,GitLab會將數(shù)據(jù)庫文件放在 /var/opt/gitlab/postgresql/data 中。如果要修改數(shù)據(jù)庫文件位置,需要將 /var/opt/gitlab/postgresql/data 中的所有文件復(fù)制到新的位置,然后在 /etc/gitlab/gitlab.rb 中設(shè)置以下4個配置至新的位置:postgresql['dir'] = postgresql['data_dir'] =  postgresql['log_directory'] = postgresql['home'] =進(jìn)行這樣的設(shè)置后,運行g(shù)itlab-ctl reconfigure,卻出現(xiàn)下面的錯誤提示:================================================================================ Error executing action `create` on resource 'user[gitlab-psql]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '8' ---- Begin output of ["usermod", "-d", "/gitlab/postgresql/data", "gitlab-psql"] ---- STDOUT:  STDERR: usermod: user gitlab-psql is currently logged in ---- End output of ["usermod", "-d", "/gitlab/postgresql/data", "gitlab-psql"] ---- Ran ["usermod", "-d", "/gitlab/postgresql/data", "gitlab-psql"] returned 8
查看完整描述

1 回答

?
慕的地10843

TA貢獻(xiàn)1785條經(jīng)驗 獲得超8個贊

usermod -d /gitlab/postgresql/data gitlab-psql,意思應(yīng)該是切換一下gitlab-psql用戶的登入目錄.

查看完整回答
反對 回復(fù) 2018-08-31
  • 1 回答
  • 0 關(guān)注
  • 1868 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號