got 500 error after destroy default admin account
Created by: zx1986
- 安裝好 Gitlab 後,使用預設的 [email protected] 登入建立一個 project
- 寫了一個 "hello" note 在 wall
- 建立新的 admin 帳號
- 使用新的 admin 帳號登入
- 直接刪除 [email protected] 帳號
- 會到首頁,會出現 500 error
- 原因是 Gitlab 找不到 "hello" 這個 note 的作者
- after setup Gitlab, I login as [email protected] and created a project
- note a "hello" world on the wall of project
- create a new admin account
- login as the NEW admin account
- destroy the [email protected] account
- back to the home page
- got the 500 error
- because of Gitlab could not find the author of "hello" note
- I have to modify the db/production.sqlite3, delete the note "hello", and everything goes fine again.