Discourse v2.2.0.beta7 +63 version discourse-azure-ad plugin error

I am getting an error regarding the discourse-azure-ad plugin in the new discourse v2.2.0.beta7 +63 version hosted on docker.

In the older version it used to work.
Is there a way to fix this error (other than removing the plugin)

Error - FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 436 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}

Thanks for reporting - I just pushed an update

Can you try rebuilding again?


Yes , Its working now.
Thanks for the quick reply.
One more thing, i am getting this error - Sorry, there was an error authorizing your account. Perhaps you did not approve authorization?

**weburl -** 

What could be the issue.?
Can you please elaborate that?

Did this stop working with the recent update? Or have you never got it working before?

Yes, but the credentials are correct. i tried logged into azure portal and it works.
Is there any other way which trigger that error.

I think it just means the credentials are wrong when logging into azure… Try entering your username/password incorrectly and see if you can reproduce the error consistently.

Its strange, credentials are correct i had checked.
Is there any other scenario which trigger that error.

It’s an error coming from the Azure end, so I’m not sure what else could cause it

Okay, Thanks for the help @david .
Will check that.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.