nextcloud / user_external

👥 External user authentication methods like IMAP, SMB and FTP
https://apps.nextcloud.com/apps/user_external
108 stars 64 forks source link

Nextcloud-15.0 & user_external-0.4 #4

Closed Thom1b closed 5 years ago

Thom1b commented 5 years ago

Affected apps

user_external

Steps to reproduce

Upgrade from Nextcloud-14.0.4 to Nextcloud-15.0

Expected behaviour

user_external should work

Actual behaviour

user_external can't be enable because version 0.4, which is embebbed, in nc-15.0 doesn't support nc-15.0. "apps/user_external/appinfo/info.xml": <nextcloud min-version="13" max-version="14" />

I tried do simply modify max-version to 15 and it seems working (with IMAP authentification in my case).

Glandos commented 5 years ago

Moreover, since the application is provided in the archive, if it's already enabled, occ upgrade failed with:

UnexpectedValueException: The files of the app "user_external" were not correctly replaced before running the update

I'm also relying on IMAP authentication.

MojoDwarf commented 5 years ago

I ran into this same issue. The Web based update failed. I manually disabled the app, completed the update from the terminal, edited the max-version value as OP mentioned, and now everything is working. I've included my steps below just in case someone comes looking for an immediate fix.

occ app:disable user_external
occ upgrade
vi apps/user_external/appinfo/info.xml
occ app:enable user_external

I also use IMAP authentication, and I just wanted to add after this update 2FA is now working for external users, which was not true in the past. Very nice.

violoncelloCH commented 5 years ago

thank you for reporting duplicate of nextcloud/server#12506 also we probably unbundle user_external and update it independently via appstore (#22) so it will be fixed with NC 15.0.1 or as soon as we have got the update via appstore ready