-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
unhandled exception: "Could not resolve CardDavBackend!..." after upgrading to 10.0.3 #29544
Comments
As an additional information: |
Seems you already have found #29544 where you had posted that info? |
I had found a similar old issue #28068 , and I posted there some info. |
Ok, so i think we can agree that it doesn't help to keep two issues about the same "Could not resolve CardDavBackend" message open until the reason and all of it's side-effects are known. |
Additional side-note to:
Its worth to check the release notes of the major release, there you can find a note about not showing up LDAP users: Maybe this info helps you to get your users showing up. |
Hi, i have same issue and the way to solve it has been very easy:
This issue could be for an old library not present in 10.0.3 version. That's all. |
@fjavimartin Thanks for posting this additional info. You might want to post it in #28068 as well as that one is still open. |
@fjavimartin Side note to your steps in #29544 (comment) : You can't move an ownCloud installation to a new folder without doing any manual modifications in the database. Instead delete all files and folder except /data and /config and then extract the 10.0.3 archive into the existing folder. |
Just for the record: we use OwnCloud here under Docker, and I've run into a very similar problem. After putting OwnCloud in maintenance mode and upgrading the docker image, I've run After reading the thread here I realized the /apps directory of my installation was mount as an external volume in docker, so I could have had old files there. I solve it by doing the following:
It's (more or less) clear that one should keep only |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
Expected behaviour
Correct upgrade to 10.0.3 version
Actual behaviour
Server configuration
Operating system:
ubuntu 16.04
Web server:
apache 2.4
Database:
MariaDB 10
PHP version:
php 7.0
ownCloud version: (see ownCloud admin page)
10.0.3
Updated from an older ownCloud or fresh install:
updated from 9.1.6
Where did you install ownCloud from:
oficial packages
Signing status (ownCloud 9.0 and above):
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder
can not do dat because:
$ php occ ldap:show-config
An unhandled exception has been thrown:
OCP\AppFramework\QueryException: Could not resolve CardDavBackend! Class CardDavBackend does not exist in /var/www/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php:98
Stack trace:
#0 /var/www/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(113): OC\AppFramework\Utility\SimpleContainer->resolve('CardDavBackend')
#1 /var/www/owncloud/apps/dav/appinfo/register_command.php(36): OC\AppFramework\Utility\SimpleContainer->query('CardDavBackend')
#2 /var/www/owncloud/lib/private/Console/Application.php(114): require('/var/www/ownclo...')
#3 /var/www/owncloud/console.php(105): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /var/www/owncloud/occ(11): require_once('/var/www/ownclo...')
The text was updated successfully, but these errors were encountered: