microsoft / oxa-tools

Open edX on Azure Tools
MIT License
37 stars 99 forks source link

Incomplete course import in Edx Studio #376

Closed ohshane closed 5 years ago

ohshane commented 6 years ago

Hi, After deploying Open edX .ficus.master with OXA-Tools(not a onebox solution), When we try to import course (which is in tar.gz extention) from edx studio, we couldn't complete the importing process, nomatter how long or what course file it was. It's like a screenshot below. No further process. (This incomplete course import happened to several sites we've deployed with oxa-tools so far.) image

Because of that, we've exited from the studio. After that when we try to get into 'discussion' forum of that course, we are getting a 500 error.

We've checked the log and found that this 500 error issue is being caused between mongoDB and the service. i've tried restarting mongoDB but it did not help. Could sb help me to solve this out? thanks.

image

image

the log below is from /edx/var/log/supervisor/forum-stderr.log

I, [2018-08-11T06:30:39.561502 #19711] INFO -- : Refreshing Gem list /edx/app/forum/.gem/ruby/1.9.1/gems/mongo-2.1.1/lib/mongo/uri.rb:335:in raise_invalid_error!': Bad URI: mongodb://oxamongoadmin:dongguk@1@10.0.0.11:27017,10.0.0.12:27017,10.0.0.13:27017/cs_comments_service?replicaSet=DonggukAArs (Mongo::Error::InvalidURI) User name and password must be urlencoded. MongoDB URI must be in the following format: mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]] Please see the following URL for more information: http://docs.mongodb.org/manual/reference/connection-string/ from /edx/app/forum/.gem/ruby/1.9.1/gems/mongo-2.1.1/lib/mongo/uri.rb:299:inparse_password!' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongo-2.1.1/lib/mongo/uri.rb:260:in parse_creds_hosts!' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongo-2.1.1/lib/mongo/uri.rb:243:insetup!' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongo-2.1.1/lib/mongo/uri.rb:195:in initialize' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongo-2.1.1/lib/mongo/client.rb:305:innew' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongo-2.1.1/lib/mongo/client.rb:305:in create_from_uri' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongo-2.1.1/lib/mongo/client.rb:163:ininitialize' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongoid-5.0.0/lib/mongoid/clients/factory.rb:62:in new' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongoid-5.0.0/lib/mongoid/clients/factory.rb:62:increate_client' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongoid-5.0.0/lib/mongoid/clients/factory.rb:27:in create' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongoid-5.0.0/lib/mongoid/clients.rb:67:inwith_name' from /edx/app/forum/.gem/ruby/1.9.1/gems/mongoid-5.0.0/lib/mongoid/clients.rb:119:in mongo_client' from /edx/app/forum/cs_comments_service/app.rb:141:in<top (required)>' from config.ru:23:in require' from config.ru:23:inblock in

' from /edx/app/forum/.gem/ruby/1.9.1/gems/rack-1.6.4/lib/rack/builder.rb:55:in instance_eval' from /edx/app/forum/.gem/ruby/1.9.1/gems/rack-1.6.4/lib/rack/builder.rb:55:ininitialize' from config.ru:1:in new' from config.ru:1:in
' from /edx/app/forum/.gem/ruby/1.9.1/gems/unicorn-4.9.0/lib/unicorn.rb:48:in eval' from /edx/app/forum/.gem/ruby/1.9.1/gems/unicorn-4.9.0/lib/unicorn.rb:48:inblock in builder' from /edx/app/forum/.gem/ruby/1.9.1/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:768:in call' from /edx/app/forum/.gem/ruby/1.9.1/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:768:inbuild_app!' from /edx/app/forum/.gem/ruby/1.9.1/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:137:in start' from /edx/app/forum/.gem/ruby/1.9.1/gems/unicorn-4.9.0/bin/unicorn:126:in<top (required)>' from /edx/app/forum/cs_comments_service/bin/unicorn:16:in load' from /edx/app/forum/cs_comments_service/bin/unicorn:16:in
'

eltoncarr commented 5 years ago

Check the configuration of your forum application. This seems to suggest in invalid connection information. You may want to review the install docs we have provided.