You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded to nextcloud 22.1.1 and migrated from docker to native install.
then i tried to configure my ldap-authentification plugin and ended up in this:
The form is not working. The values are not loaded, the Buttons do not work.
With occ i can configure my LDAP-Connection, and it works. Only the web-configuration is broken.
Server configuration
Operating system:
Debian Buster
Web server:
nginx
Database:
mariadb 10.3
PHP version:
7.3
Nextcloud version: (see Nextcloud admin page)
22.1.1
Updated from an older Nextcloud/ownCloud or fresh install:
Migrated in case of totally broken DB from docker to fresh installation native bare metal. Fresh install, but old userdata on Filesystem
2021/09/03 15:08:43 [error] 125217#125217: *45751 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'OC_JSON' not found in /var/www/nextcloud.dings.dangs/apps/user_ldap/ajax/getConfigu
ration.php:28
Stack trace:
#0 {main}
thrown in /var/www/nextcloud.dings.dangs/apps/user_ldap/ajax/getConfiguration.php on line 28" while reading response header from upstream, client: 10.0.100.10, server: nextcloud.dings.dangs, request: "POST /apps
/user_ldap/ajax/getConfiguration.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "nextcloud.dings.dangs"
#0 {main}
thrown in /var/www/nextcloud.dings.dangs/apps/user_ldap/ajax/getConfiguration.php on line 28" while reading response header from upstream, client: 10.0.100.10, server: nextcloud.dings.dangs, request: "POST /apps
/user_ldap/ajax/getConfiguration.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "nextcloud.dings.dangs"
2021/09/03 15:04:28 [error] 125217#125217: *44553 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'OC_JSON' not found in /var/www/nextcloud.dings.dangs/apps/user_ldap/ajax/getConfigu
ration.php:28
Stack trace:
Nextcloud log (data/nextcloud.log)
Nextcloud log
Insert your Nextcloud log here
Browser log
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
The text was updated successfully, but these errors were encountered:
LDAP wizard does not work / Class 'OC_JSON' not found: Setup LDAP Backend not possible #16194 / Update nginx.rst -- Reworked the Nginx configs nextcloud/documentation#2197
How to use GitHub
Steps to reproduce
Expected behaviour
LDAP-Konfiguration should be doable via web-form.
Actual behaviour
I upgraded to nextcloud 22.1.1 and migrated from docker to native install.

then i tried to configure my ldap-authentification plugin and ended up in this:
The form is not working. The values are not loaded, the Buttons do not work.
Then i found https://logs.nix.samueldr.com/nixos-de/2020-10-23 and tried the config-line in nginx for nc 19... and the form show me the "Port ermittlen" Button, but it doesn't work either.
With occ i can configure my LDAP-Connection, and it works. Only the web-configuration is broken.
Server configuration
Operating system:
Debian Buster
Web server:
nginx
Database:
mariadb 10.3
PHP version:
7.3
Nextcloud version: (see Nextcloud admin page)
22.1.1
Updated from an older Nextcloud/ownCloud or fresh install:
Migrated in case of totally broken DB from docker to fresh installation native bare metal. Fresh install, but old userdata on Filesystem
Where did you install Nextcloud from:
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Firefox 90.0.2
Operating system:
Fedora 33
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: