alphabit-technology/erpnext-restaurant

UI not updating

Closed this issue · 13 comments

UI not updating new order creation , order deletion, and other actions. Things get done in the background and you have to refresh manually or reopen the table to see changes.

It is possible that your server is in dev mode.

If that's the case, sorry I couldn't get the socket to work in dev mode, it works only with the production server.

The server is not in dev mode. Frappe helper is installed. Maybe some missing dependency ??

Ok, I don't know what could be happening. I would have to see the console.

I have the same problem, please explain how to fix it

I have the same problem, please explain how to fix it

I have the same problem, please explain how to fix it

im need help

Ok, after installing frappe-helper and restaurant app, you need to run bench migrate, bench build and bench clear-cache.

And to ensure the installation execute the reinstall button in restaurant settings.

Please try and comment.

Please try and comment.

I applied the commands you explained, but the problem still persists
We may be typing the commands incorrectly
Please write the complete installation command
I will put the server data for you so that you can log in and discover the problem yourself
I also ask you to communicate with us through the WhatsApp number 00201144110096
We are very interested in using your addon
http://139.59.154.140/app/home
username : administrator
password : admin

thank you

Ok perfect, I am check.

ok problem Solved
Remember, This app works 100% in real time, and the socket.io does not work when the server (not frappe) is in development mode, the server must be in production mode.

Problem fixed after setting server in production, I ran the bellow code in bench directory:
sudo bench setup production [BENCH USER]
sudo supervisorctl restart all