alphabit-technology / erpnext-restaurant

ERPNext Restaurant
GNU General Public License v3.0
114 stars 133 forks source link

UI not updating #4

Closed asamawi closed 2 years ago

asamawi commented 2 years ago

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.

alphabit-technology commented 2 years ago

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.

asamawi commented 2 years ago

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

alphabit-technology commented 2 years ago

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

asamawi commented 2 years ago

Https://demo.n4s-solutions.com

kanu2005 commented 2 years ago

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

kanu2005 commented 2 years ago

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

alphabit-technology commented 2 years ago

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.

alphabit-technology commented 2 years ago

Please try and comment.

kanu2005 commented 2 years ago

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

alphabit-technology commented 2 years ago

Ok perfect, I am check.

alphabit-technology commented 2 years ago

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.

asamawi commented 2 years ago

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

alphabit-technology commented 2 years ago

Yes Sr.