Internal Server Error - site_config.json

Hi,

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?

@SSRKL
bench update --reset

@bhavikpatel7023

After running bench update --reset, i got:

pkg_resources.DistributionNotFound: bench==0.1

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