A partial archive of meta.discourse.org as of Tuesday July 18, 2017.

Discourse Azure AD Plugin not working


I couldn’t make the Azure AD plugin configured.

After adding to app.yml, rebuilding doesn’t work.

Is the plugin obsolete?


Why would you leap straight to the plugin being obsolete?

Define “doesn’t work”. The full console output from the rebuild run would be preferred.


As I couldn’t find the plugin in the meta, I assumed it to be obsolete. :slight_smile:

I added the plugin to app.yml like below

- exec:
    cd: $home/plugins
      - git clone https://github.com/discourse/docker_manager.git
      - git clone https://github.com/discourse/discourse-azure-ad.git

During the rebuild it fails at the below point.

Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 16835 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Yeah… we are going to need that :wink:


Sorry for being late to reply. It’s Yesterday that I was look into the discourse configuration again.

Finally I was able to configure it successfully. Seems like I have done a silly mistake when configuring the plugin. I have not properly added the environment variables to app.yml.

Everything seems to be working smoothly now. :smiley:

May I know why it’s not published in the meta as a plugin yet?