Internal Server Error - site_config.json


I am new member of this community and i am a novice programmer. My site has been running properly until I have power cycled my server from digital ocean panel after which I am getting ‘Internal Server Error’ on my site. Upon checking, i found that my site_config.json file in frappe-bench/sites folder is empty. I don’t know mysql database name and password. I don’t know how to fetch it either.

Can anyone please help me to reset it?

bench update --reset


After running bench update --reset, i got:

pkg_resources.DistributionNotFound: bench==0.1

pip uninstall bench
pip install -e /home/frappe/bench-repo