-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
MongoError: Mod on _id not allowed #835
Comments
What version of mongo are you running? Meteor requires 2.6 or greater. We've been trying to stay compatible with the 2.4 but its on ongoing battle. |
With wheezy-backports, it's 2.4.8 |
Give 2.6 or 3.0 a shot. Check mongodb's website. I think the have Debian repos for more up to date versions |
Thanks it works with the 3.0.6 version! I registered the first account, but I can't find the Administration.. Where it is? |
@Surfoo did you create the user before upgrading? Its possible it didn't successfully make it admin. |
Hum, no after the upgrade, because with mongo 2.4 I had a 503 error. How can I fix that? |
Hi @Surfoo there was a bug with assigning 'admin' role to the first created user. I submitted a fix, but until that gets merged to master, you can simply restart meteor. At startup, RocketChat will assign the oldest user the 'admin' role IF no admin already exists. |
OK, thanks. How can I restart meteor? |
Or you can manually update the user in mongo. The user should have the following role:
|
I'm totally newbie with mongodb, I think restart meteor is easier than update the db :) |
@Surfoo how did you start meteor? If you just cloned and then typed meteor. Then a ctrl+c will work. If you used pm2 you will have to do a pm2 restart like you did during setup. |
@Surfoo, I've been using mongodb for a while and I still feel like a newb. 😄 . If @geekgonecrazy's advice doesn't work for you, join the rocket chat demo and talk to the devs for realtime feedback. |
ok, I restarted the app with pm2, it works, and I have my admin account :-) |
Upgrading to newset MongoDB Version fixed the isee |
👍 |
👍 updating mongodb worked for me |
👍 I use mongodb version 2.4 and after node main.js it shows this error. After upgrading to 2.6 and it runs perfectly. I think the manual should be updated so it says minimal mongodb version is 2.6. |
Hello,
I tried to install Rocket.Chat (from master) on my own server (Debian Wheezy with Apache, no nginx, no ssl), and on the startup, I have a 503 error.
In the err-0.log I have:
What can I do to fix the issue?
The text was updated successfully, but these errors were encountered: