Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP Discourse VM #58

Open
krojowska opened this issue Jan 14, 2021 · 6 comments
Open

LDAP Discourse VM #58

krojowska opened this issue Jan 14, 2021 · 6 comments

Comments

@krojowska
Copy link

krojowska commented Jan 14, 2021

Hi, I have a problem with install this plugin on my VM Debian with Discourse. You prefer install this in app.yml file but I haven't this file. I try via link https://docs.bitnami.com/aws/apps/discourse/configuration/install-plugins/ but I have a lot of errors. Can someone help me?

@jonmbake
Copy link
Owner

Can you post the command you used to install the plugin? Also, what errors are showing?

@krojowska
Copy link
Author

I used the command below. Is it right way?

cd /opt/bitnami/apps/discourse/htdocs
RAILS_ENV=production bundle exec rake plugin:install repo=https://github.com/jonmbake/discourse-ldap-auth.git
RAILS_ENV=production bundle exec rake assets:precompile

@jonmbake
Copy link
Owner

jonmbake commented Jan 18, 2021

That looks correct according to the Bitnami docs. This method of plugin installation is specific to Bitnami, i.e. they provide the rake plugin:install task. Are any errors logged when you run the commands?

Also, the example repo PLUGIN_REPO_URL does not have .git, so maybe try:

cd /opt/bitnami/apps/discourse/htdocs
RAILS_ENV=production bundle exec rake plugin:install repo=https://github.com/jonmbake/discourse-ldap-auth
RAILS_ENV=production bundle exec rake assets:precompile

@krojowska
Copy link
Author

After this, when I tried to open admin panel (administration, settings) I have server error, error code 500 Internal Server Error

@krojowska
Copy link
Author

I restart apache with commant sudo /opt/bitnami/ctlscript.sh restart apache and now I can't login also

We're sorry, but something went wrong.

The issue has been logged for investigation. Please try again later.
Error ID:
c2a09044
Details:

Web application could not be started by the Phusion Passenger application server.

Please read the Passenger log file (search for the Error ID) to find the details of the error.

You can also get a detailed report to appear directly on this page, but for security reasons it is only provided if Phusion Passenger is run with environment set to development and/or with the friendly error pages option set to on.

For more information about configuring environment and friendly error pages, see:

Nginx integration mode
Apache integration mode
Standalone mode

@jonmbake
Copy link
Owner

jonmbake commented Jan 19, 2021

You would have to read the log file to determine the underlying issue. Can you see what error is showing in the log file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants