-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Setup LDAP Backend not possible #16194
Comments
cc @blizzz
Could not reproduce this issue with the above |
The nextcloud is updated from 15.0.x |
Please use the issue template next time. It is more difficult to reproduce your problem if half of the information is missing. Check if there is an update for the ldap app is available. |
all apps are up to date, no updates available. |
Maybe some requests are sent to the wrong endpoint. Let's try to investigate further ... I will need your browser console log to investigate this issue. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread. How to access your browser console (Click to expand)Chrome
Safari
IE9
Firefox
Opera
|
@thechonta do you still have the issue? It rather seems somethings is strange with your setup, autoloading might be not working, also your added line should not be necessary. |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
as this issue doesn't reveal the cause i hope i can provide the needed info to get the real cause. with the fix above all works good:
setup: Web server: nginx-1.16.1 Database: Version: PostgreSQL 11.7 on x86_64-pc-linux-gnu PHP version: 7.3.20 Nextcloud version: 18.0.7 + 19.0.1 (tried both) Updated from an older Nextcloud/ownCloud or fresh install: updated from 18.0.X Where did you install Nextcloud from: nixpgks Signing status: all good Signing status
Nextcloud configuration: Config report
Are you using external storage, if yes which one: local Are you using an external user-backend, if yes which one: LDAP LDAP configuration (delete this part if not used) Client configuration Operating system: MacOs 10.15.6 Logs
OCC check APP:
Browser log:
|
Must be a setup issue as the class is there. Did ye compare the nginx config? https://docs.nextcloud.com/server/19/admin_manual/installation/nginx.html |
you are right. the nixos does nginx config wrong: seems written in https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html |
yes, latest refers to 20 for the time being. and, hey, +1 for Tocotronic 🎸 |
It seems as I misconfigured `nginx` for certain cases such as the `ldap`-plugin[1] in 42f6244. This patch fixes the `nginx`-config to match the upstream recommendations[2]. Also added a comment to the module to remind myself to ensure that `nginx` will work with both v19 and v20 as soon as the latter is released and can be packaged in `nixpkgs`. Co-authored-by: nivadis <nivadis@users.noreply.github.com> [1] nextcloud/server#16194 (comment) [2] https://docs.nextcloud.com/server/19/admin_manual/installation/nginx.html
It seems as I misconfigured `nginx` for certain cases such as the `ldap`-plugin[1] in 42f6244. This patch fixes the `nginx`-config to match the upstream recommendations[2]. Also added a comment to the module to remind myself to ensure that `nginx` will work with both v19 and v20 as soon as the latter is released and can be packaged in `nixpkgs`. Co-authored-by: nivadis <nivadis@users.noreply.github.com> [1] nextcloud/server#16194 (comment) [2] https://docs.nextcloud.com/server/19/admin_manual/installation/nginx.html (cherry picked from commit 8d8871c)
It seems as I misconfigured `nginx` for certain cases such as the `ldap`-plugin[1] in 42f6244. This patch fixes the `nginx`-config to match the upstream recommendations[2]. Also added a comment to the module to remind myself to ensure that `nginx` will work with both v19 and v20 as soon as the latter is released and can be packaged in `nixpkgs`. Co-authored-by: nivadis <nivadis@users.noreply.github.com> [1] nextcloud/server#16194 (comment) [2] https://docs.nextcloud.com/server/19/admin_manual/installation/nginx.html (cherry picked from commit 8d8871c)
Hi, the situation seems to be the same when using NC 20 under Ubuntu 20.04.1 with the nginx config under https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html. Using the config for https://docs.nextcloud.com/server/19/admin_manual/installation/nginx.html the error is gone and I can set up the LDAP configuration. Which part of the config could be causing this? Best: Jan. |
@JanBoehme subscribe to nextcloud/documentation#2197. |
I've recently tried to install v20.0.2 on Debian 10 using the Nginx instructions in the latest documentation. I encountered the same error and found HTTP 500 error in my browser console. I then added the directives for legacy compatibility shown here. It works after the fix. |
Operating system:Ubuntu 18.04
**Web server: nginx/1.14.0 (Ubuntu)
**Database:mariadb Ver 15.1
**PHP version:(PostgreSQL) 10.9
**Nextcloud version:16.0.1
Server is an Migration from mariadb to postgresql and apache to nginx.
Bug is related to #3074
This is needed if you wanna configure LDAP Backend for the first time.
Something i would not expect from an official app. but with the Line up it will work.
Probably you will not be affected if the LDAP Backend is setup in a previous version.
the nginx error file contains something like that.
The text was updated successfully, but these errors were encountered: