Gitlab 遷移升級到14.5之後,刪除Project出現500錯誤的問題

Gitlab 升級到14.5之後,發現刪除或編輯老項目,會出現500錯誤。 使用命令 gitlab-ctl tail gitlab-rails

查詢日誌,查詢到Gitlab錯誤: OpenSSL::Cipher::CipherError ():

參照官方文檔: 一、進入數據庫

sudo gitlab-rails dbconsole --database main

二、執行腳本

gitlabhq_production=> UPDATE projects SET runners_token = null, runners_token_encrypted = null;
UPDATE 16
gitlabhq_production=> UPDATE namespaces SET runners_token = null, runners_token_encrypted = null;
UPDATE 33
gitlabhq_production=> UPDATE application_settings SET runners_registration_token_encrypted = null;
UPDATE 1
gitlabhq_production=> UPDATE ci_runners SET token = null, token_encrypted = null;
UPDATE 0

執行完上述腳本後,操作Project等恢復正常。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章