I am installing ERPNEXT and trying to have multitenency with the system, As I used the dns based multitenency to serve on domain based. I am getting 502 error for the request in my server logs and in the front end “Sorry We will be back soon.” page .
I tried rechecking the steps which I follwed there’s nothing wrong in it. Please help me
It’s possible Supervisor didn’t start after your installation. For some strange reason, that seems to be happening quite a lot recently. Try the following command and see if that resolves the issue:
sudo systemctl enable supervisor
Thanks wale, I tried your command but of no use .
Are your sites named erp.myretailplace.com and erp2.myretailplace.com ?
Make sure you setup nginx correctly and reload it using:
bench setup nginx
sudo service nginx reload
Nginx was going to be my next suggestion. Please try the commands shared by @chdecultot
Thanks @wale & @chdecultot it worked finally the both sites are working
Thanks a lot
hey guys, Now I am trying to login with my credentials I am getting 500 internal server error in console
the traceback is
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
UnboundLocalError: local variable ‘data’ referenced before assignment