Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mongo shell not accessible via rocketchat-server.mongo, #34

Open
PvUtrix opened this issue Dec 19, 2021 · 1 comment
Open

Mongo shell not accessible via rocketchat-server.mongo, #34

PvUtrix opened this issue Dec 19, 2021 · 1 comment

Comments

@PvUtrix
Copy link

PvUtrix commented Dec 19, 2021

Description:

Trying to run mongodb shell on an install via SNAP, getting permission denied error. Rocket chat is working otherwise, expect that image uploads and rendering is terribly slow. Needed the mongo shell to try to try apply a fix RocketChat/Rocket.Chat#23467

Steps to reproduce:

  1. Connect to the server
  2. Run "rocketchat-server.mongo"
  3. Get the connection error message

Expected behavior:

Mongo shell executed

Actual behavior:

MongoDB shell version v3.6.23
connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb
2021-12-19T11:51:14.770+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(socket), reason: Permission denied
2021-12-19T11:51:14.824+0000 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:275:13
@(connect):1:6
exception: connect failed

Server Setup Information:

  • Version of Rocket.Chat Server: 4.2.2
  • Operating System: ubuntu 20.04
  • Deployment Method: SNAP
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v12.22.7
  • MongoDB Version: 3.6.23 / wiredTiger (oplog Enabled)

Client Setup Information

  • Desktop App or Browser Version:
  • Operating System:

Additional context

Relevant logs:

@debdutdeb debdutdeb transferred this issue from RocketChat/Rocket.Chat Dec 21, 2021
@CvH
Copy link

CvH commented May 9, 2023

still broken with 6.1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants