~
means your directory structure
@Amarjeet_Singh_Sintu
You should find the
frappe-bench directory in your directory structure and do all the steps in it
Hope this helps.
~
means your directory structure
@Amarjeet_Singh_Sintu
You should find the
frappe-bench directory in your directory structure and do all the steps in it
Hope this helps.
I tried but as I explained it says permission denied as below:
when i type frappe@erpnext:~/frappe-bench$ find . -name socketio.log NOTHING COMES UP
frappe@erpnext:~/frappe-bench$ find ./logs/node-socketio.error.log NOTHING COMES UP
BUT WHEN I TYPE
frappe@erpnext:~/frappe-bench$ ./logs/node-socketio.error.log IT SAYS " PERMISSION DENIED"
I donwloaded the text files of logs from frappe-bench/logs but the files have more charactors than allowed here. My error log had 1,65,880 charactors while only 32000 are allowed in this forum @krnkris
events.js:72
throw er; // Unhandled âerrorâ event
^
Error: Redis connection to localhost:12000 failed - connect ECONNREFUSED
at errnoException (net.js:901:11)
at Object.afterConnect [as oncomplete] (net.js:892:19)
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Server.init (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:119:16)
at new Server (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:65:8)
at Function.attach (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/engine.io.js:123:16)
at Server.initEngine (/home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:274:21)
at /home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:259:10
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Server.init (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:119:16)
at new Server (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:65:8)
at Function.attach (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/engine.io.js:123:16)
at Server.initEngine (/home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:274:21)
at /home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:259:10
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Server.init (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:119:16)
at new Server (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:65:8)
at Function.attach (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/engine.io.js:123:16)
at Server.initEngine (/home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:274:21)
at /home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:259:10
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Server.init (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:119:16)
at new Server (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:65:8)
at Function.attach (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/engine.io.js:123:16)
at Server.initEngine (/home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:274:21)
at /home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:259:10
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Server.init (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:119:16)
at new Server (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:65:8)
at Function.attach (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/engine.io.js:123:16)
at Server.initEngine (/home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:274:21)
at /home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:259:10
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Server.init (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:119:16)
at new Server (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:65:8)
at Function.attach (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/engine.io.js:123:16)
at Server.initEngine (/home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:274:21)
at /home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:259:10
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Server.init (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:119:16)
at new Server (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:65:8)
at Function.attach (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/engine.io.js:123:16)
at Server.initEngine (/home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:274:21)
at /home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:259:10
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Server.init (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:119:16)
at new Server (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/server.js:65:8)
at Function.attach (/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/lib/engine.io.js:123:16)
at Server.initEngine (/home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:274:21)
at /home/frappe/frappe-bench/node_modules/socket.io/lib/index.js:259:10
/home/frappe/frappe-bench/node_modules/socket.io/node_modules/engine.io/node_modules/uws/uws.js:3
const http = require(âhttpâ);
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensionsâŚjs (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
a
These logs show that nodejs is outdated. You can upgrade by downloading from Nodejs website - Node.js or follow the instructions on this website - Managing Node.js Versions with nvm