What version are you running?
3.0.11
What's the URL of the page containing the problem?
Any that access the repo, such as creating a new review request, viewing an existing request, or even trying to administer the repo: http://reviewboard.taitradio.net/admin/db/scmtools/repository/1/
What steps will reproduce the problem?
- Going to any of these URLs results in a 500 Server Error response.
What is the expected output? What do you see instead?
Expected the normal page, got a 500 instead.
What operating system are you using? What browser?
Ubuntu Bionic & Chrome on the browser side.
Ubuntu Bionic on the server side. This was recently re-deployed and previously running on Xenial. It may be that it broke as part of that process.Please provide any additional information below.
I have attached rb-crash.txt that contains the information sent via email.
Sensitive information was replaced with***
.
Ok, I tracked it down to the fact that the deployment process did not preserve SITE/conf/settings_local.py and in particular the master key there-in. I have restored that file from back-ups and it is now working again.
Catching the exception and giving a more explanatory error message saying that RB failed to decrypt the password, possibly due to a lost master key, might help someone else.
Also, if someone genuinely looses their master key, there is, as far as I could work out, currently no way to clear the encrypted passwords and set new ones except to delete the entire repo and creating it from scratch, which, AFAIK, looses all reviews. I'd say that definitely needs fixing.