Closed chegeiser closed 4 years ago
Could you send the output of:
systemctl status snap.rocketchat.*
Attached.
How much ram do you have on your N2 device? Can you show the output of top command? Can you try removing diaspora to see if that helps?
4GB of ram.
● snap.rocketchat.nginx.service - Service for snap application rocketchat.nginx
Loaded: loaded (/etc/systemd/system/snap.rocketchat.nginx.service; enabled)
Active: activating (start-pre) since Fri 2019-06-28 21:59:13 UTC; 4min 43s ago
Control: 21738 (service.nginx.s)
CGroup: /system.slice/snap.rocketchat.nginx.service
└─control
├─21738 /bin/bash -e /snap/rocketchat/190609478/bin/service.nginx.sh pre-start
├─21762 timeout 1000 /bin/bash -c until echo > /dev/tcp/localhost/3000; do sleep 5; done
├─21763 /bin/bash -c until echo > /dev/tcp/localhost/3000; do sleep 5; done
└─23372 sleep 5
Jun 28 22:03:33 odroid-n2 rocketchat.nginx[21738]: /bin/bash: connect: Connection refused
Jun 28 22:03:33 odroid-n2 rocketchat.nginx[21738]: /bin/bash: /dev/tcp/localhost/3000: Connection refused
Jun 28 22:03:38 odroid-n2 rocketchat.nginx[21738]: /bin/bash: connect: Connection refused
Jun 28 22:03:38 odroid-n2 rocketchat.nginx[21738]: /bin/bash: /dev/tcp/localhost/3000: Connection refused
Jun 28 22:03:43 odroid-n2 rocketchat.nginx[21738]: /bin/bash: connect: Connection refused
Jun 28 22:03:43 odroid-n2 rocketchat.nginx[21738]: /bin/bash: /dev/tcp/localhost/3000: Connection refused
Jun 28 22:03:48 odroid-n2 rocketchat.nginx[21738]: /bin/bash: connect: Connection refused
Jun 28 22:03:48 odroid-n2 rocketchat.nginx[21738]: /bin/bash: /dev/tcp/localhost/3000: Connection refused
Jun 28 22:03:53 odroid-n2 rocketchat.nginx[21738]: /bin/bash: connect: Connection refused
Jun 28 22:03:53 odroid-n2 rocketchat.nginx[21738]: /bin/bash: /dev/tcp/localhost/3000: Connection refused
● snap.rocketchat.mongodb.service - Service for snap application rocketchat.mongodb
Loaded: loaded (/etc/systemd/system/snap.rocketchat.mongodb.service; enabled)
Active: active (running) since Fri 2019-06-28 22:03:47 UTC; 10s ago
Main PID: 23313 (mongod.bin)
CGroup: /system.slice/snap.rocketchat.mongodb.service
└─23313 /snap/rocketchat/190609478/mongodb/bin/mongod.bin --quiet --config /var/snap/rocketchat/common/config/mongodb.conf
Jun 28 22:03:50 odroid-n2 mongod.bin.27017[23313]: [ReplicationExecutor] transition to RECOVERING
Jun 28 22:03:50 odroid-n2 mongod.bin.27017[23313]: [ReplicationExecutor] transition to SECONDARY
Jun 28 22:03:50 odroid-n2 mongod.bin.27017[23313]: [ReplicationExecutor] conducting a dry run election to see if we could be elected
Jun 28 22:03:50 odroid-n2 mongod.bin.27017[23313]: [ReplicationExecutor] dry election run succeeded, running for election
Jun 28 22:03:50 odroid-n2 mongod.bin.27017[23313]: [ReplicationExecutor] election succeeded, assuming primary role in term 20
Jun 28 22:03:50 odroid-n2 mongod.bin.27017[23313]: [ReplicationExecutor] transition to PRIMARY
Jun 28 22:03:51 odroid-n2 mongod.bin.27017[23313]: [rsSync] transition to primary complete; database writes are now permitted
Jun 28 22:03:53 odroid-n2 mongod.bin.27017[23313]: [conn1] received client metadata from 127.0.0.1:54464 conn1: { driver: { name: "nodejs", version: "3.1.6" }, os: { type: "Linux", name: "linux", architecture: "arm", version: "4.9.162-22" },...godb-core: 3.1.5" }
Jun 28 22:03:53 odroid-n2 mongod.bin.27017[23313]: [conn2] received client metadata from 127.0.0.1:54468 conn2: { driver: { name: "nodejs", version: "3.1.6" }, os: { type: "Linux", name: "linux", architecture: "arm", version: "4.9.162-22" },...godb-core: 3.1.5" }
Jun 28 22:03:53 odroid-n2 mongod.bin.27017[23313]: [conn3] received client metadata from 127.0.0.1:54472 conn3: { driver: { name: "nodejs", version: "3.1.6" }, os: { type: "Linux", name: "linux", architecture: "arm", version: "4.9.162-22" },...godb-core: 3.1.5" }
● snap.rocketchat.server.service - Service for snap application rocketchat.server
Loaded: loaded (/etc/systemd/system/snap.rocketchat.server.service; enabled)
Active: active (running) since Fri 2019-06-28 21:59:13 UTC; 4min 43s ago
Main PID: 21724 (service.server.)
CGroup: /system.slice/snap.rocketchat.server.service
├─21724 /bin/bash -e /snap/rocketchat/190609478/bin/service.server.sh start
├─21804 bash -c for i in $(seq 1 30); do /snap/rocketchat/190609478/nodejs/bin/node /snap/rocketchat/190609478/bundle/main.js && s=$? && break || s=$?; echo "Tried $i times. Waiting 5 secs..."; sleep 5; done; (exit $s)
└─23358 /snap/rocketchat/190609478/nodejs/bin/node /snap/rocketchat/190609478/bundle/main.js
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: /snap/rocketchat/190609478/bundle/programs/server/node_modules/fibers/future.js:313
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: throw(ex);
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: ^
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: MongoNetworkError: connection 3 to localhost:27017 closed
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: at Socket.<anonymous> (/snap/rocketchat/190609478/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb-core/lib/connection/connection.js:276:9)
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: at Object.onceWrapper (events.js:315:30)
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: at emitOne (events.js:116:13)
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: at Socket.emit (events.js:211:7)
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: at TCP._handle.close [as _onclose] (net.js:557:12)
Jun 28 22:03:46 odroid-n2 rocketchat.server[21724]: Tried 21 times. Waiting 5 secs...
Hint: Some lines were ellipsized, use -l to show in full.
Could you run:
systemctl restart snap.rocketchat.*
Done. And installed the latest updates. Still get the 502 error. Logs sent. Systemctl status snap.rocketchat.* produces this:
root@odroid-n2:~# systemctl status snap.rocketchat.*
● snap.rocketchat.nginx.service - Service for snap application rocketchat.nginx
Loaded: loaded (/etc/systemd/system/snap.rocketchat.nginx.service; enabled)
Active: activating (start-pre) since Sat 2019-06-29 17:52:32 UTC; 7min ago
Control: 16552 (service.nginx.s)
CGroup: /system.slice/snap.rocketchat.nginx.service
└─control
├─16552 /bin/bash -e /snap/rocketch...
├─16565 timeout 1000 /bin/bash -c u...
├─16566 /bin/bash -c until echo > /...
└─18986 sleep 5
Jun 29 17:59:23 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:23 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:28 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:28 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:33 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:33 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:38 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:38 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:43 odroid-n2 rocketchat.nginx[16552]: ...
Jun 29 17:59:43 odroid-n2 rocketchat.nginx[16552]: ...
● snap.rocketchat.mongodb.service - Service for snap application rocketchat.mongodb
Loaded: loaded (/etc/systemd/system/snap.rocketchat.mongodb.service; enabled)
Active: active (running) since Sat 2019-06-29 17:59:32 UTC; 11s ago
Main PID: 18919 (mongod.bin)
CGroup: /system.slice/snap.rocketchat.mongodb.service
└─18919 /snap/rocketchat/190609478/mo...
Jun 29 17:59:36 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:36 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:36 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:36 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:36 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:36 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:37 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:39 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:39 odroid-n2 mongod.bin.27017[18919]: ...
Jun 29 17:59:39 odroid-n2 mongod.bin.27017[18919]: ...
● snap.rocketchat.server.service - Service for snap application rocketchat.server
Loaded: loaded (/etc/systemd/system/snap.rocketchat.server.service; enabled)
Active: active (running) since Sat 2019-06-29 17:59:23 UTC; 20s ago
Main PID: 18860 (service.server.)
CGroup: /system.slice/snap.rocketchat.server.service
├─18860 /bin/bash -e /snap/rocketchat...
├─18884 bash -c for i in $(seq 1 30);...
└─18963 /snap/rocketchat/190609478/no...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Jun 29 17:59:32 odroid-n2 rocketchat.server[18860]: ...
Hint: Some lines were ellipsized, use -l to show in full.
Can you run longer version of status:
systemctl status snap.rocketchat.* -l
Also do you have another device to try running rocketchat?
root@odroid-n2:~# systemctl status snap.rocketchat. -l root@odroid-n2:~# systemctl status snap.rocketchat. -l ● snap.rocketchat.nginx.service - Service for snap application rocketchat.nginx Loaded: loaded (/etc/systemd/system/snap.rocketchat.nginx.service; enabled) Active: activating (start-pre) since Sat 2019-06-29 19:01:51 UTC; 1min 44s ago Control: 28649 (service.nginx.s) CGroup: /system.slice/snap.rocketchat.nginx.service └─control ├─28649 /bin/bash -e /snap/rocketchat/190609478/bin/service.nginx.sh pre-start ├─28678 timeout 1000 /bin/bash -c until echo > /dev/tcp/localhost/3000; do sleep 5; done ├─28679 /bin/bash -c until echo > /dev/tcp/localhost/3000; do sleep 5; done └─29165 sleep 5
Jun 29 19:03:12 odroid-n2 rocketchat.nginx[28649]: /bin/bash: connect: Connection refused Jun 29 19:03:12 odroid-n2 rocketchat.nginx[28649]: /bin/bash: /dev/tcp/localhost/3000: Connection refused Jun 29 19:03:17 odroid-n2 rocketchat.nginx[28649]: /bin/bash: connect: Connection refused Jun 29 19:03:17 odroid-n2 rocketchat.nginx[28649]: /bin/bash: /dev/tcp/localhost/3000: Connection refused Jun 29 19:03:22 odroid-n2 rocketchat.nginx[28649]: /bin/bash: connect: Connection refused Jun 29 19:03:22 odroid-n2 rocketchat.nginx[28649]: /bin/bash: /dev/tcp/localhost/3000: Connection refused Jun 29 19:03:27 odroid-n2 rocketchat.nginx[28649]: /bin/bash: connect: Connection refused Jun 29 19:03:27 odroid-n2 rocketchat.nginx[28649]: /bin/bash: /dev/tcp/localhost/3000: Connection refused Jun 29 19:03:32 odroid-n2 rocketchat.nginx[28649]: /bin/bash: connect: Connection refused Jun 29 19:03:32 odroid-n2 rocketchat.nginx[28649]: /bin/bash: /dev/tcp/localhost/3000: Connection refused
● snap.rocketchat.mongodb.service - Service for snap application rocketchat.mongodb Loaded: loaded (/etc/systemd/system/snap.rocketchat.mongodb.service; enabled) Active: active (running) since Sat 2019-06-29 19:03:24 UTC; 11s ago Main PID: 29079 (mongod.bin) CGroup: /system.slice/snap.rocketchat.mongodb.service └─29079 /snap/rocketchat/190609478/mongodb/bin/mongod.bin --quiet --config /var/snap/rocketchat/common/config/mongodb.conf
Jun 29 19:03:28 odroid-n2 mongod.bin.27017[29079]: [ReplicationExecutor] transition to RECOVERING Jun 29 19:03:28 odroid-n2 mongod.bin.27017[29079]: [ReplicationExecutor] transition to SECONDARY Jun 29 19:03:28 odroid-n2 mongod.bin.27017[29079]: [ReplicationExecutor] conducting a dry run election to see if we could be elected Jun 29 19:03:28 odroid-n2 mongod.bin.27017[29079]: [ReplicationExecutor] dry election run succeeded, running for election Jun 29 19:03:28 odroid-n2 mongod.bin.27017[29079]: [ReplicationExecutor] election succeeded, assuming primary role in term 6 Jun 29 19:03:28 odroid-n2 mongod.bin.27017[29079]: [ReplicationExecutor] transition to PRIMARY Jun 29 19:03:29 odroid-n2 mongod.bin.27017[29079]: [rsSync] transition to primary complete; database writes are now permitted Jun 29 19:03:31 odroid-n2 mongod.bin.27017[29079]: [conn1] received client metadata from 127.0.0.1:37038 conn1: { driver: { name: "nodejs", version: "3.1.6" }, os: { type: "Linux", name: "linux", architecture: "arm", version: "4.9.162-22" }, platform: "Node.js v8.11.3, LE, mongodb-core: 3.1.5" } Jun 29 19:03:31 odroid-n2 mongod.bin.27017[29079]: [conn2] received client metadata from 127.0.0.1:37042 conn2: { driver: { name: "nodejs", version: "3.1.6" }, os: { type: "Linux", name: "linux", architecture: "arm", version: "4.9.162-22" }, platform: "Node.js v8.11.3, LE, mongodb-core: 3.1.5" } Jun 29 19:03:31 odroid-n2 mongod.bin.27017[29079]: [conn3] received client metadata from 127.0.0.1:37046 conn3: { driver: { name: "nodejs", version: "3.1.6" }, os: { type: "Linux", name: "linux", architecture: "arm", version: "4.9.162-22" }, platform: "Node.js v8.11.3, LE, mongodb-core: 3.1.5" }
● snap.rocketchat.server.service - Service for snap application rocketchat.server Loaded: loaded (/etc/systemd/system/snap.rocketchat.server.service; enabled) Active: active (running) since Sat 2019-06-29 19:01:51 UTC; 1min 44s ago Main PID: 28648 (service.server.) CGroup: /system.slice/snap.rocketchat.server.service ├─28648 /bin/bash -e /snap/rocketchat/190609478/bin/service.server.sh start ├─28722 bash -c for i in $(seq 1 30); do /snap/rocketchat/190609478/nodejs/bin/node /snap/rocketchat/190609478/bundle/main.js && s=$? && break || s=$?; echo "Tried $i times. Waiting 5 secs..."; sleep 5; done; (exit $s) └─29146 /snap/rocketchat/190609478/nodejs/bin/node /snap/rocketchat/190609478/bundle/main.js
Jun 29 19:03:24 odroid-n2 rocketchat.server[28648]: /snap/rocketchat/190609478/bundle/programs/server/node_modules/fibers/future.js:313
Jun 29 19:03:24 odroid-n2 rocketchat.server[28648]: throw(ex);
Jun 29 19:03:24 odroid-n2 rocketchat.server[28648]: ^
Jun 29 19:03:24 odroid-n2 rocketchat.server[28648]: MongoNetworkError: connection 3 to localhost:27017 closed
Jun 29 19:03:24 odroid-n2 rocketchat.server[28648]: at Socket.
Can you run this:
/snap/rocketchat/current/mongodb/bin/mongo --eval 'db.runCommand( { serverStatus: 1 } )'
Output below. Also, after installing it Rocketchat shows up in Apps, but after a short while it no longer shows up in apps and there are be results at all from systemctl status commands.
g(0)
},
"_recvChunkAbort" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"_recvChunkCommit" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"_recvChunkStart" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"_recvChunkStatus" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"_transferMods" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"aggregate" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"appendOplogNote" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"applyOps" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"authSchemaUpgrade" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"authenticate" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"availableQueryOptions" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"buildInfo" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"checkShardingIndex" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"cleanupOrphaned" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"clone" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"cloneCollection" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"cloneCollectionAsCapped" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"collMod" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"collStats" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"compact" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"connPoolStats" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"connPoolSync" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"connectionStatus" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"convertToCapped" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"copydb" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"copydbgetnonce" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"copydbsaslstart" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"count" : {
"failed" : NumberLong(0),
"total" : NumberLong(1)
},
"create" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"createIndexes" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"createRole" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"createUser" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"currentOp" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"currentOpCtx" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dataSize" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dbHash" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dbStats" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"delete" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"diagLogging" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"distinct" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"driverOIDTest" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"drop" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dropAllRolesFromDatabase" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dropAllUsersFromDatabase" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dropDatabase" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dropIndexes" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dropRole" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"dropUser" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"eval" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"explain" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"features" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"filemd5" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"find" : {
"failed" : NumberLong(0),
"total" : NumberLong(2)
},
"findAndModify" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"forceerror" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"fsync" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"fsyncUnlock" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"geoNear" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"geoSearch" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getCmdLineOpts" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getDiagnosticData" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getLastError" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getLog" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getMore" : {
"failed" : NumberLong(0),
"total" : NumberLong(3)
},
"getParameter" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getPrevError" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getShardMap" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getShardVersion" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"getnonce" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"grantPrivilegesToRole" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"grantRolesToRole" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"grantRolesToUser" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"group" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"handshake" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"hostInfo" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"insert" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"invalidateUserCache" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"isMaster" : {
"failed" : NumberLong(0),
"total" : NumberLong(7)
},
"killCursors" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"killOp" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"listCollections" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"listCommands" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"listDatabases" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"listIndexes" : {
"failed" : NumberLong(0),
"total" : NumberLong(149)
},
"logRotate" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"logout" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"mapReduce" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"mapreduce" : {
"shardedfinish" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
}
},
"mergeChunks" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"moveChunk" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"parallelCollectionScan" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"ping" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"planCacheClear" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"planCacheClearFilters" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"planCacheListFilters" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"planCacheListPlans" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"planCacheListQueryShapes" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"planCacheSetFilter" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"profile" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"reIndex" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"renameCollection" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"repairCursor" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"repairDatabase" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetDeclareElectionWinner" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetElect" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetFreeze" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetFresh" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetGetConfig" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetGetRBID" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetGetStatus" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetHeartbeat" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetInitiate" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetMaintenance" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetReconfig" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetRequestVotes" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetStepDown" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetSyncFrom" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"replSetUpdatePosition" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"resetError" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"resync" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"revokePrivilegesFromRole" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"revokeRolesFromRole" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"revokeRolesFromUser" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"rolesInfo" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"saslContinue" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"saslStart" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"serverStatus" : {
"failed" : NumberLong(0),
"total" : NumberLong(1)
},
"setParameter" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"setShardVersion" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"shardConnPoolStats" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"shardingState" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"shutdown" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"splitChunk" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"splitVector" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"top" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"touch" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"unsetSharding" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"update" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"updateRole" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"updateUser" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"usersInfo" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"validate" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
},
"whatsmyuri" : {
"failed" : NumberLong(0),
"total" : NumberLong(1)
},
"writebacklisten" : {
"failed" : NumberLong(0),
"total" : NumberLong(0)
}
},
"cursor" : {
"timedOut" : NumberLong(0),
"open" : {
"noTimeout" : NumberLong(0),
"pinned" : NumberLong(0),
"total" : NumberLong(1)
}
},
"document" : {
"deleted" : NumberLong(0),
"inserted" : NumberLong(0),
"returned" : NumberLong(1),
"updated" : NumberLong(0)
},
"getLastError" : {
"wtime" : {
"num" : 0,
"totalMillis" : 0
},
"wtimeouts" : NumberLong(0)
},
"operation" : {
"fastmod" : NumberLong(0),
"idhack" : NumberLong(0),
"scanAndOrder" : NumberLong(0),
"writeConflicts" : NumberLong(0)
},
"queryExecutor" : {
"scanned" : NumberLong(0),
"scannedObjects" : NumberLong(2)
},
"record" : {
"moves" : NumberLong(0)
},
"repl" : {
"executor" : {
"counters" : {
"eventCreated" : 6,
"eventWait" : 6,
"cancels" : 2,
"waits" : 36,
"scheduledNetCmd" : 0,
"scheduledDBWork" : 1,
"scheduledXclWork" : 0,
"scheduledWorkAt" : 2,
"scheduledWork" : 42,
"schedulingFailures" : 0
},
"queues" : {
"networkInProgress" : 0,
"dbWorkInProgress" : 0,
"exclusiveInProgress" : 0,
"sleepers" : 0,
"ready" : 0,
"free" : 4
},
"unsignaledEvents" : 0,
"eventWaiters" : 0,
"shuttingDown" : false,
"networkInterface" : "NetworkInterfaceASIO inShutdown: 0"
},
"apply" : {
"attemptsToBecomeSecondary" : NumberLong(1),
"batches" : {
"num" : 0,
"totalMillis" : 0
},
"ops" : NumberLong(0)
},
"buffer" : {
"count" : NumberLong(0),
"maxSizeBytes" : 268435456,
"sizeBytes" : NumberLong(0)
},
"network" : {
"bytes" : NumberLong(0),
"getmores" : {
"num" : 0,
"totalMillis" : 0
},
"ops" : NumberLong(0),
"readersCreated" : NumberLong(1)
},
"preload" : {
"docs" : {
"num" : 0,
"totalMillis" : 0
},
"indexes" : {
"num" : 0,
"totalMillis" : 0
}
}
},
"storage" : {
"freelist" : {
"search" : {
"bucketExhausted" : NumberLong(0),
"requests" : NumberLong(0),
"scanned" : NumberLong(0)
}
}
},
"ttl" : {
"deletedDocuments" : NumberLong(0),
"passes" : NumberLong(0)
}
},
"ok" : 1
}
Mongo seems to be working. Can you run:
systemctl restart snap.rocketchat.server
Nothing happens when I do that. no errors or any other text in the terminal. Rocketchat still throws the 502.
Logs sent.
What about this:
systemctl status snap.rocketchat.server
Abd this
wget localhost:3000
To the first command there is no response in the terminal, just a new entry line. To the second I get:
converted 'http://localhost:3000' (ANSI_X3.4-1968) -> 'http://localhost:3000' (UTF-8)
--2019-07-04 22:25:17-- http://localhost:3000/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:3000... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:3000... failed: Connection refused.
root@odroid-n2:~#
Sorry could you run this again and post the output.
systemctl restart snap.rocketchat.server
systemctl status snap.rocketchat.server -l
@chegeiser Do you still have this problem?
I've tried installing Rocketchat and get a 502 Bad Gateway error. Logs sent.