@regis I saw the change log notes that 3.8 fixed an issue with external databases and forums. I thought the issue might be related so I updated the platform to 3.8 and rebooted.
Saw the same error in the forum logs. I thought it might be an issue using the root account for database as the error mentions not authorized. I created a new user in the mongo database and gave it the ‘dbOwner’ role which gives it permission to do anything. Update config.yml with new user name and did a quick start. Same error. The logs are below for the forum section as it appears to be only area with error. I have also included a few logs from LMS section which mentions a worker failed to start. I am guessing the forum failing to work is causing the LMS section to fail?
lms_1 | 2019-12-01 20:36:38,662 WARNING 11 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
lms_1 | 2019-12-01 20:36:38,663 WARNING 11 [enterprise.utils] utils.py:51 - cannot import name _LTI_BACKENDS
lms_1 | 2019-12-01 20:36:38,677 WARNING 13 [enterprise.utils] utils.py:50 - Could not import Registry from third_party_auth.provider
lms_1 | 2019-12-01 20:36:38,677 WARNING 13 [enterprise.utils] utils.py:51 - cannot import name _LTI_BACKENDS
lms_1 | Traceback (most recent call last):
lms_1 | File "/openedx/venv/bin/gunicorn", line 11, in <module>
lms_1 | sys.exit(run())
lms_1 | File "/openedx/venv/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 74, in run
lms_1 | WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
lms_1 | File "/openedx/venv/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 166, in run
lms_1 | super(Application, self).run()
lms_1 | File "/openedx/venv/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 71, in run
lms_1 | Arbiter(self).run()
lms_1 | File "/openedx/venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 196, in run
lms_1 | self.halt(reason=inst.reason, exit_status=inst.exit_status)
lms_1 | File "/openedx/venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 292, in halt
lms_1 | self.stop()
lms_1 | File "/openedx/venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 343, in stop
lms_1 | time.sleep(0.1)
lms_1 | File "/openedx/venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 209, in handle_chld
lms_1 | self.reap_workers()
lms_1 | File "/openedx/venv/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 459, in reap_workers
lms_1 | raise HaltServer(reason, self.WORKER_BOOT_ERROR)
lms_1 | gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
forum_1 | W, [2019-12-01T20:30:21.846235 #15] WARN -- : Overwriting existing field _id in class User.
forum_1 | W, [2019-12-01T20:30:21.902140 #15] WARN -- : MONGODB | Unsupported client option 'max_retries'. It will be ignored.
forum_1 | W, [2019-12-01T20:30:21.902337 #15] WARN -- : MONGODB | Unsupported client option 'retry_interval'. It will be ignored.
forum_1 | W, [2019-12-01T20:30:21.902447 #15] WARN -- : MONGODB | Unsupported client option 'timeout'. It will be ignored.
forum_1 | /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/result.rb:226:in `validate!': not authorized for query on cs_comments_service.blocked_hash (13) (Mongo::Error::OperationFailure)
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/executable.rb:36:in `block in execute'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/server/connection_pool.rb:111:in `with_connection'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/server/context.rb:63:in `with_connection'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/executable.rb:34:in `execute'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view.rb:164:in `send_initial_query'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view/iterable.rb:41:in `block in each'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/retryable.rb:46:in `read_with_retry'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view/iterable.rb:39:in `each'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongoid-5.0.0/lib/mongoid/query_cache.rb:207:in `each'
forum_1 | from /openedx/cs_comments_service/app.rb:172:in `map'
forum_1 | from /openedx/cs_comments_service/app.rb:172:in `<top (required)>'
forum_1 | from config/unicorn_tcp.rb:4:in `require'
forum_1 | from config/unicorn_tcp.rb:4:in `reload'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:84:in `instance_eval'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:84:in `reload'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:77:in `initialize'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:77:in `new'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:77:in `initialize'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/bin/unicorn:126:in `new'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/bin/unicorn:126:in `<top (required)>'
forum_1 | from ./bin/unicorn:16:in `load'
forum_1 | from ./bin/unicorn:16:in `<main>'
forum_1 | Waiting for mongodb/elasticsearch...
forum_1 | 2019/12/01 20:30:23 Waiting for: tcp://REPLACED.206:27017
forum_1 | 2019/12/01 20:30:23 Waiting for: http://elasticsearch:9200/content
forum_1 | 2019/12/01 20:30:23 Received 200 from http://elasticsearch:9200/content
forum_1 | 2019/12/01 20:30:23 Connected to tcp://REPLACED.206:27017
forum_1 | /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:52: warning: constant ::Fixnum is deprecated
forum_1 | /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:54: warning: constant ::Fixnum is deprecated
forum_1 | W, [2019-12-01T20:30:25.911456 #15] WARN -- : Overwriting existing field _id in class User.
forum_1 | W, [2019-12-01T20:30:25.968762 #15] WARN -- : MONGODB | Unsupported client option 'max_retries'. It will be ignored.
forum_1 | W, [2019-12-01T20:30:25.968850 #15] WARN -- : MONGODB | Unsupported client option 'retry_interval'. It will be ignored.
forum_1 | W, [2019-12-01T20:30:25.968867 #15] WARN -- : MONGODB | Unsupported client option 'timeout'. It will be ignored.
forum_1 | /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/result.rb:226:in `validate!': not authorized for query on cs_comments_service.blocked_hash (13) (Mongo::Error::OperationFailure)
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/executable.rb:36:in `block in execute'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/server/connection_pool.rb:111:in `with_connection'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/server/context.rb:63:in `with_connection'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/executable.rb:34:in `execute'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view.rb:164:in `send_initial_query'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view/iterable.rb:41:in `block in each'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/retryable.rb:46:in `read_with_retry'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view/iterable.rb:39:in `each'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongoid-5.0.0/lib/mongoid/query_cache.rb:207:in `each'
forum_1 | from /openedx/cs_comments_service/app.rb:172:in `map'
forum_1 | from /openedx/cs_comments_service/app.rb:172:in `<top (required)>'
forum_1 | from config/unicorn_tcp.rb:4:in `require'
forum_1 | from config/unicorn_tcp.rb:4:in `reload'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:84:in `instance_eval'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:84:in `reload'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:77:in `initialize'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:77:in `new'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:77:in `initialize'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/bin/unicorn:126:in `new'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/bin/unicorn:126:in `<top (required)>'
forum_1 | from ./bin/unicorn:16:in `load'
forum_1 | from ./bin/unicorn:16:in `<main>'
forum_1 | Waiting for mongodb/elasticsearch...
forum_1 | 2019/12/01 20:30:28 Waiting for: tcp://REPLACED.206:27017
forum_1 | 2019/12/01 20:30:28 Waiting for: http://elasticsearch:9200/content
forum_1 | 2019/12/01 20:30:28 Received 200 from http://elasticsearch:9200/content
forum_1 | 2019/12/01 20:30:28 Connected to tcp://REPLACED.206:27017
forum_1 | /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:52: warning: constant ::Fixnum is deprecated
forum_1 | /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:54: warning: constant ::Fixnum is deprecated
forum_1 | W, [2019-12-01T20:30:30.935245 #13] WARN -- : Overwriting existing field _id in class User.
forum_1 | W, [2019-12-01T20:30:30.994704 #13] WARN -- : MONGODB | Unsupported client option 'max_retries'. It will be ignored.
forum_1 | W, [2019-12-01T20:30:30.994814 #13] WARN -- : MONGODB | Unsupported client option 'retry_interval'. It will be ignored.
forum_1 | W, [2019-12-01T20:30:30.994852 #13] WARN -- : MONGODB | Unsupported client option 'timeout'. It will be ignored.
forum_1 | /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/result.rb:226:in `validate!': not authorized for query on cs_comments_service.blocked_hash (13) (Mongo::Error::OperationFailure)
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/executable.rb:36:in `block in execute'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/server/connection_pool.rb:111:in `with_connection'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/server/context.rb:63:in `with_connection'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/operation/executable.rb:34:in `execute'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view.rb:164:in `send_initial_query'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view/iterable.rb:41:in `block in each'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/retryable.rb:46:in `read_with_retry'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongo-2.1.2/lib/mongo/collection/view/iterable.rb:39:in `each'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/mongoid-5.0.0/lib/mongoid/query_cache.rb:207:in `each'
forum_1 | from /openedx/cs_comments_service/app.rb:172:in `map'
forum_1 | from /openedx/cs_comments_service/app.rb:172:in `<top (required)>'
forum_1 | from config/unicorn_tcp.rb:4:in `require'
forum_1 | from config/unicorn_tcp.rb:4:in `reload'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:84:in `instance_eval'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:84:in `reload'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/configurator.rb:77:in `initialize'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:77:in `new'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/lib/unicorn/http_server.rb:77:in `initialize'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/bin/unicorn:126:in `new'
forum_1 | from /openedx/cs_comments_service/vendor/bundle/ruby/2.4.0/gems/unicorn-5.3.1/bin/unicorn:126:in `<top (required)>'
forum_1 | from ./bin/unicorn:16:in `load'
forum_1 | from ./bin/unicorn:16:in `<main>'
forum_1 | Waiting for mongodb/elasticsearch...
forum_1 | 2019/12/01 20:30:34 Waiting for: tcp://REPLACED.206:27017
forum_1 | 2019/12/01 20:30:34 Waiting for: http://elasticsearch:9200/content
forum_1 | 2019/12/01 20:30:34 Received 200 from http://elasticsearch:9200/content
forum_1 | 2019/12/01 20:30:34 Connected to tcp://REPLACED.206:27017