Wonderfall / dockerfiles

Discontinued. Fork at your will.
Creative Commons Zero v1.0 Universal
392 stars 170 forks source link

Update Error with SAML Backend #238

Closed egargale closed 7 years ago

egargale commented 7 years ago

Made today docker-compose down; docker-compose pull; docker-compose up -d but

PHP Fatal error: Class OCA\User_SAML\UserBackend contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Authentication\IApacheBackend::getLogoutUrl) in /apps2/user_saml/lib/userbackend.php on line 34

Error seems to be the same as in https://github.com/nextcloud/server/issues/6501

Output of docker exec -ti nextcloud_glegal occ upgrade error as above:

PHP Fatal error: Class OCA\User_SAML\UserBackend contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\Authentication\IApacheBackend::getLogoutUrl) in /apps2/user_saml/lib/userbackend.php on line 34

Any suggestion? Regards Enrico

egargale commented 7 years ago

Find this workaround

docker exec -ti occ app:user_saml disable docker exec -ti occ upgrade docker exec -ti occ maintenance:mode --off

Module user_saml is disabled and upgrade will end up well