Open faatihi opened 2 years ago
@faatihi The release notes of 1.58.0 (https://github.com/hzi-braunschweig/SORMAS-Project/releases/tag/v1.58.0) contain instructions to enable pgcrypto prior to the update. I guess that was missed on your server.
We could think about extending server-update.sh. Creating a super user could have security-related drawbacks that we'd need to discuss. I'll convert this issue into a task because there's no bug to be found here.
Thanks @MateStrysewske. We read the release notes from 1.60.3 to 1.68.0. That's why we missed it. We'll be more thorough next time.
I'll keep in touch with this thread to offer any assistance.
Bug Description
During deployment of version 1.68.0 (from 1.60.3), we encountered an exception in the line of "function gen_random_bytes(int) does not exist". After a while of troubleshooting, we found out we needed to install pgcrypto extension. Installing it resolved the issue.
May be we missed a step that would automatically install this extension during the update. If not, then I suggest one of these two changes:
Steps to Reproduce
Expected Behavior
Screenshots
System Details
Additional Information