Internal Server Error: After upgrade to ERPNEXT 8.0

~
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"

Please help URGENT @clarkej @krnkris

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 - https://nodejs.org/en/ or follow the instructions on this website - https://davidwalsh.name/nvm