-
Notifications
You must be signed in to change notification settings - Fork 71
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
Update from 1.1 to 2.1 [proposed Label] Help needed #103
Comments
Hi, Thank you for using Mattermost-LDAP for years. I'm glad it fulfils your needs. Mattermost-LDAP V1.1 is a bit old now, and I think updating to V2.1 is a good choice. Unfortunately, there is no dedicated documentation for migration. However, I have added this subject to my ToDo list and will create one in the future. Note that the master branch is stable and contains a few fixes, so I suggest migrating directly to the latest commit. However, the migration from V1.1 to V2.1 should not be complicated. First, for any new release, you need to checkout the new version, then adapt Since Mattermost enforces URL checking, and as it is stated in the "Breaking Changes" of the V2.1, you should adapt you web server configuration (ie NGINX) to add the following URI redirection :
You can refer to the NGINX configuration used for the Demo. After that, you should adapt your GitLab configuration in Following these steps should bring you a working Mattermost-LDAP V2.1. Finally, I saw from your title you were looking for a Regards |
Hi @Crivaledaz About the label, as a simple user, I just have a choice between "Bug Report" and "Feature Request" when creating a new issue. Even if I saw the labels list, I didn't find how to apply them to my message, sorry for that. Thanks again for your indications and hope I will find my way to use the master branch version! |
Hello! I also met this error when the authorization server was migrated. The solution was very different. I'll try to help.
5)the following transfers were also added to the httpd.conf file DocumentRoot "/var/www/html" Rewrite Engine On |
Good morning,
I use your Mattermost-LDAP plugin (bare-metal) to authenticate our users from our LDAP server into our mattermost server. Everything is working fine with the v1.1 version since years! Thanks a lot!!
As some users want to be able to use the desktop client, I'm trying to update to v2.1 but I'm a bit lost. Is there a migration procedure you can provide to help me?
I set up the /var/www/html/oauth/ part and fill the parameters to config_db.php and LDAP/config_ldap.php.
I edited the config.json of mattermost to modifiy
User API Endpoint : http://HOSTNAME/oauth/resource.php
Auth Endpoint: http://HOSTNAME/oauth/authorize.php
Token Endpoint: http://HOSTNAME/oauth/token.php
And finally added "location /oauth/access_token" and "location /oauth/authorize" parts to nginx conf.
When I click the "GitLab" button on the Mattermost login page, I'm sent to a 500 Internal server Error page... I must miss something!
Thanks a lot if you can help me to upgrade this great Mattermost-LDAP server!
Have a good day
Nicolas
The text was updated successfully, but these errors were encountered: