nextcloud / apps

🚚 This is an archive. Let us know if you want to take over maintainership of any of these apps
11 stars 29 forks source link

External user support not working in NC15+ #74

Closed agarek closed 5 years ago

agarek commented 5 years ago

Affected apps

Tell us which app(s) you are talking about

Steps to reproduce

  1. External user support Enable
  2. Server version 14 or lower is required.
  3. When will works on 15+???

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system:

Web server:

Database:

PHP version:

Server version: (see your admin page)

Calendar version: (see the apps page)

Updated from an older installed version or fresh install:

Signing status (ownCloud/Nextcloud 9.0 and above):

Login as admin user into your cloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your instance's installation folder

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your instance's installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your instance's installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';

Be sure to replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

CalDAV-clients:

Logs

Web server error log

Insert your webserver log here

Log file (data/nextcloud.log)

Insert your nextcloud.log file here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
cweiske commented 5 years ago

I had the same problem after updating from 14.02 to 15.0.1RC1. I manually modified apps/user_external/appinfo/info.xml to allow Nextcloud 15, and had to enable the app in the database by running:

UPDATE `oc_appconfig` SET `configvalue` = 'yes'
WHERE `appid` = 'user_external' 
    AND `appid` = 'user_external' COLLATE utf8mb4_bin
    AND `configkey` = 'enabled'
    AND `configkey` = 'enabled' COLLATE utf8mb4_bin;
cweiske commented 5 years ago

Strangely, this change is already in git: 0a33a1ea349ee902738959ef6f8b167f0c345289 since 2018-12-20; see https://github.com/nextcloud/apps/pull/69

It was also moved out to a separate repository: https://github.com/nextcloud/user_external

violoncelloCH commented 5 years ago

it was falsely shipped for 15.0.0 (before the referenced commit was merged) but it's now in it's own repository and is released over the appstore for >15, so you should be able to install/update it from there