Login not working After setup


Today i install complete frapp and erpnext by using sudo bash setup_frappe.sh --setup-production, system install properly and generate Admin password.

When i try to login from login page , it not login and keep me on login page , same problem with new registration page.

Please help me

On Console i found this problem

13:38:38.060 SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data 1 frappe-web.min.js:635:28
.call/< http://[ ipaddress ]:8090/assets/js/frappe-web.min.js:635:28
n.Callbacks/i http://[ ipaddress ]:8090/assets/frappe/js/lib/jquery/jquery.min.js:2:27146
n.Callbacks/j.fireWith http://[ ipaddress ]:8090/assets/frappe/js/lib/jquery/jquery.min.js:2:27914
z http://[ ipaddress ]:8090/assets/frappe/js/lib/jquery/jquery.min.js:4:12082
.send/c/< http://[ ipaddress ]:8090/assets/frappe/js/lib/jquery/jquery.min.js:4:15619

What is the browser version you are using?

Hi, I am using Firefox 52.0.2 (32 BIT) , i check in the google chrome also in both case Login, registration page keep me on same page .

hey. i am having problem with my vps running centos7 with erpnext installed correctly.
when i try to open erpnext with server ip address it doesnt open erpnext login page instead opens apache http server test page.
i did use serve --port command to change port & it worked with the new port. but stopped working the moment i closed ssh client
can u please help me with this issue, i am new to it.

i did easy install ( with production command)

If you use bench start then you need the ssh running

If you want a long running session, use supervisor + gunicorn + nginx