2
我升級Gitlab基於Gitlab的更新手動 https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/5.4-to-6.0.md ,沒有問題的工作,之後更新執行任務錯誤的升級Gitlab後,衛星從5.4到6.0
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
驗證問題,我得到這個在許多倉庫消息
Try fixing it:
sudo -u git -H bundle exec rake gitlab:satellites:create RAILS_ENV=production
If necessary, remove the tmp/repo_satellites directory ...
... and rerun the above command
For more information see:
doc/raketasks/maintenance.md
Please fix the error above and rerun the checks.
我執行sudo -u git -H bundle exec rake gitlab:satellites:create RAILS_ENV=production
和gitlab:check
仍然顯示了同樣的錯誤,而且也沒有TMP/repo_satellites目錄
git用戶是否有權限創建該目錄? – dusan
是的,衛星存儲庫位於git用戶和git組中。什麼時候Gitlab 5.4創建衛星的任務工作 –
我發現問題,Gitlab任務正在工作。我增加了磁盤空間 –