Description
Hi
How I can debug RC code for understanding and solving problem with starting of new installed RC server on local machine?
- database installed and view-able by desktop MongoDB editor App
- console.log not working in node.js code, I don’t see real problem in terminal after ‘systemctl status rocketchat.service’ command.
Thanks
Server Setup Information
-
Version of Rocket.Chat Server: Native RC v2.3.1 (https://rocket.chat/docs/installation/manual-installation/ubuntu/)
-
Operating System: Ubuntu 18.04 Desktop
-
Deployment Method: Native RC v2.3.1 (https://rocket.chat/docs/installation/manual-installation/ubuntu/)
-
Number of Running Instances:
-
DB Replicaset Oplog: unknown
-
NodeJS Version: v8.10.0
-
MongoDB Version: (shell version v4.3.2-710-g50444ad) (server version: 3.6.3)
-
Proxy: unknown
-
Firewalls involved: unknown
Any additional Information
It is error message but I don’t understand real reason of an error.
#:/var/www/html/rocketchat231.loc$ systemctl daemon-reload
#:/var/www/html/rocketchat231.loc$ systemctl status rocketchat.service
● rocketchat.service - The Rocket.Chat server
Loaded: loaded (/lib/systemd/system/rocketchat.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-01-27 19:07:05 EET; 14s ago
Main PID: 13715 (code=exited, status=1/FAILURE)
Jan 27 19:07:05 rocketchat[13715]: at Server. (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/topologies/replset.js:358:9)
Jan 27 19:07:05 rocketchat[13715]: at Object.onceWrapper (events.js:315:30)
Jan 27 19:07:05 rocketchat[13715]: at emitOne (events.js:116:13)
Jan 27 19:07:05 rocketchat[13715]: at Server.emit (events.js:211:7)
Jan 27 19:07:05 rocketchat[13715]: at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/topologies/server.js:508:16
Jan 27 19:07:05 rocketchat[13715]: at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/pool.js:532:18
Jan 27 19:07:05 rocketchat[13715]: at _combinedTickCallback (internal/process/next_tick.js:131:7)
Jan 27 19:07:05 rocketchat[13715]: at process._tickCallback (internal/process/next_tick.js:180:9)
Jan 27 19:07:05 systemd[1]: rocketchat.service: Main process exited, code=exited, status=1/FAILURE
Jan 27 19:07:05 systemd[1]: rocketchat.service: Failed with result ‘exit-code’.