I was trying to freshly install allura, and also setting up a new vitualenv for it. But while runng the "paster setup-app development.ini", I got the following error. Python version 2.7.6 and mongodb.
The updating indexes for main Db is giving me error. How to proceed from here? --------------------------------------------------------------------------------------------- 17:18:49,678 INFO [allura.command] Updating indexes for main DB Entering post-mortem PDB shell Traceback (most recent call last): File "/home/pranav/git/venv/allura3/bin/paster", line 9, in <module> load_entry_point('PasteScript==1.7.4.2', 'console_scripts', 'paster')() File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/paste/script/command.py", line 104, in run invoke(command, command_name, options, args[1:]) File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/paste/script/command.py", line 143, in invoke exit_code = runner.run(args) File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 68, in run return super(AbstractInstallCommand, self).run(new_args) File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/paste/script/command.py", line 238, in run result = self.command() File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 456, in command self, config_file, section, self.sysconfig_install_vars(installer)) File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 598, in setup_config mod.setup_app, command, filename, section, vars) File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/paste/script/appinstall.py", line 614, in _call_setup_app func(command, conf, vars) File "/home/pranav/git/alluramine/Allura/allura/websetup/__init__.py", line 38, in setup_app bootstrap.bootstrap(command, conf, vars) File "/home/pranav/git/alluramine/Allura/allura/websetup/bootstrap.py", line 103, in bootstrap index.run(['']) File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/paste/script/command.py", line 238, in run result = self.command() File "/home/pranav/git/alluramine/Allura/allura/command/show_models.py", line 238, in command self._update_indexes(db[name], indexes) File "/home/pranav/git/alluramine/Allura/allura/command/show_models.py", line 260, in _update_indexes for iname, fields in collection.index_information().iteritems(): File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/pymongo/collection.py", line 1278, in index_information read_preference=ReadPreference.PRIMARY) File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/pymongo/database.py", line 345, in _command msg, allowable_errors) File "/home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/pymongo/helpers.py", line 182, in _check_command_response raise OperationFailure(msg % errmsg, code, response) OperationFailure: command SON([('listIndexes', u'neighborhood'), ('cursor', {})]) on namespace allura.$cmd failed: no collection > /home/pranav/git/venv/allura3/local/lib/python2.7/site-packages/pymongo/helpers.py(182)_check_command_response() -> raise OperationFailure(msg % errmsg, code, response) -----------------------------------------------------------------------------------