I have tried all possible solutions related to this topics, but unfortunately, I cannot find the solution in my case. most of all the services are Active and running well, I executed the following commands to check,
sudo service mariadb status
sudo service mysql status
sudo service nginx status
redis-cli ping
No error in response to all the above commands and shows running in green.
I reinstalled the Nginx server using following commands
nginx removed and reinstalled I can access other sides.
tried bench commands to refresh using the following command
bench migrate
bench --site all clear-cache
sudo supervisorctl reload
sudo service nginx restart
all above result was normal and no error.
additionally, checked the database name+pwd in the site .config file which is fine to access the database from the command prompt it returns SQL Queries results perfectly.
but still getting the same error: Internal Server Error.
seems like everything is working well but the website is giving this error. I cannot understand the reason not sure if the files get corrupted while restarting the services or what else to do? How can I resolve this error please?
It may help to say the operating environment, versions of Frappe and any apps, and whether this is a new installation or one that was working and the problem arose after some changes.
Now when trying to migrate the site it’s getting stuck in the DB connection. shows “Connected to site DB” but not moving on, after long waiting time, I broke the process and “bench migrate” is not finishing. seems like DB connection problem but not sure