Accessing MongoDB for Rocket.Chat
-
I'm trying to edit a specific user but no matter what I do, including trying to grant read or executeFunctions privileges to the user ID in
env | grep MONGOI get the same response:
Error: not authorized on XXX to execute command ...Is there a magic trick for actually querying the Rocket.Chat database from the Terminal that's not obvious to me?
-
No. I saw that helpful button and used it successfully to access the Mongo shell. The problem is that within the shell, I get "error: not authorized" messages for pretty much everything except switching DBs and listing containers.
-
Hello. I'm having the same question since I'm new to Cloudron. I added the mongodb addon to the Manifest in a LAMP app, but I still don't know any mongo username and password, and it won't let me create new users or databases

-
@girish We're making a web app with HTML5, JS and PHP.
-
@girish We're making a web app with HTML5, JS and PHP.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login