Unable to install Data Explorer Plugin last version

The problem was the Data Explorer actual version (main branch) which is not compatible with Discourse 2.8.8 ; I have tried for both standard install and Bitnami install.

Finally, I found a solution to install the plugins on Discourse Bitnami:

cd /opt/bitnami/discourse
sudo RAILS_ENV=production bundle exec rake plugin:install repo=PLUGIN_REPO_URL
...
RAILS_ENV=production LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all
RAILS_ENV=production bundle exec rake db:migrate
RAILS_ENV=production bundle exec rake themes:update assets:precompile

The last 3 commands are necessary to:

  • Check for plugins compatibility with installed Discourse’s version and pull the last compatible version for each specified plugin
  • Execute database migrations if there are some plugins that require it
  • Update themes and compile assets