After update Error on Stock Entry

Hello,

After doing update (seemed everything was okay), but stock entry form shows blank screen.
Below error on javascript console:

http://xxx.compute.amazonaws.com/socket.io/?EIO=3&transport=polling&t=1444370297015-9 Failed to load resource: the server responded with a status of 404 (NOT FOUND)
1 Like
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
(program):16 Uncaught TypeError: Cannot read property 'setup_queries' of undefined

Uncaught TypeError: Cannot read property 'setup_queries' of undefinederpnext.stock.StockController.frappe.ui.form.Controller.extend.setup_warehouse_query @ VM1250:16erpnext.stock.StockController.frappe.ui.form.Controller.extend.onload @ VM1250:10(anonymous function) @ form.min.js:204(anonymous function) @ form.min.js:203n.extend.map @ jquery.min.js:2frappe.ui.form.ScriptManager.Class.extend.trigger @ form.min.js:203(anonymous function) @ form.min.js:64(anonymous function) @ form.min.js:203n.extend.map @ jquery.min.js:2frappe.ui.form.ScriptManager.Class.extend.trigger @ form.min.js:203_f.Frm.setnewdoc @ form.min.js:64_f.Frm.refresh @ form.min.js:48frappe.views.FormFactory.frappe.views.Factory.extend.load @ form.min.js:6(anonymous function) @ form.min.js:6$.extend.with_doc @ desk.min.js:7655frappe.views.FormFactory.frappe.views.Factory.extend.show_doc @ form.min.js:4frappe.views.FormFactory.frappe.views.Factory.extend.make @ form.min.js:1frappe.views.Factory.Class.extend.show @ desk.min.js:7928frappe.route @ desk.min.js:7318(anonymous function) @ desk.min.js:7328n.event.dispatch @ jquery.min.js:3$event.dispatch @ report.min.js:189n.event.add.r.handle @ jquery.min.js:3
desk.min.js:3087 GET http://ec2-52-24-196-120.us-west-2.compute.amazonaws.com/socket.io/?EIO=3&transport=polling&t=1444372154474-1 404 (NOT FOUND)17.Request.create @ desk.min.js:3087Request @ desk.min.js:301017.XHR.request @ desk.min.js:294117.XHR.doPoll @ desk.min.js:297118.Polling.poll @ desk.min.js:336018.Polling.doOpen @ desk.min.js:330414.Transport.open @ desk.min.js:248113.Socket.open @ desk.min.js:1911Socket @ desk.min.js:1793Socket @ desk.min.js:17283.Manager.open.Manager.connect @ desk.min.js:467(anonymous function) @ desk.min.js:732

This happens for somef forms: Sales Order, Stock Entry, Purchase Receipt…

What caused this? Tks

Seems like your Nodej is down or not setup correctly. Did you just migrate from 5-6?

Yes upgraded from v5 to v6…but the upgrade seemed running well without error.
Now many forms are showing blank page…

What to do? Tks

Re-create the nginx and supervisor config files.

https://github.com/frappe/bench/wiki/Regenerate-Production-Config-for-Version-6

1 Like