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 MONGO
I 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.
-
@alex-adestech You should make a new post bud.
that said, I believe there is a text file in the LAMP apps /app/data folder that has that information you are looking for.