Skip to content
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

occ no longer works correctly #30305

Closed
riccardopirani opened this issue Jan 29, 2018 · 8 comments
Closed

occ no longer works correctly #30305

riccardopirani opened this issue Jan 29, 2018 · 8 comments

Comments

@riccardopirani
Copy link

riccardopirani commented Jan 29, 2018

Steps to reproduce

  1. enter into directory owncloud /var/ww/owncloud
  2. call occ with this command: sudo -u www-data php occ
  3. Display error

Expected behaviour
When i run occ i have this error: 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/registercommand.php(36): OC\AppFramework\Utility\SimpleContainer->query('CardDavBackend')_
#2 /var/www/owncloud/lib/private/Console/Application.php(115): 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): requireonce('/var/www/ownclo...')_

Server configuration

Operating system: Ubuntu Server 16.04.3 LTS

Web server: Apache 2.4.18

Database: MySQL

PHP version: 7.0.22

ownCloud version: ownCloud 10.0.4 (stable)

Updated from an older ownCloud or fresh install: Updated from an older ownCloud

Where did you install ownCloud from: owncloud.org

Integrity Failder Link Gist: https://gist.github.com/riccardopirani/5477f0f657545937800648c51949b61a

List of activated apps:
-- occ not work --
List of app enable Image: https://imgur.com/a/RcnJ8

Are you using external storage, if yes which one: smb server

Are you using encryption: no

Client configuration
Browser: chrome
Operating system: windows

@PVince81
Copy link
Contributor

Are you getting errors regarding integrity check ? It is likely that something went wrong with the source code update ?

@riccardopirani
Copy link
Author

@PVince81 Yes from i see integrity error from WebSite! but how can I solve it since - OCC- does not work?

@PVince81
Copy link
Contributor

you could delete the source code (but keep "config" and "data" folders) and replace it with the code from the 10.0.4 tarball: https://dl-oo.owncloud.org/community/owncloud-10.0.4.tar.bz2

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label needs info is set and there were no updates for 14 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@Blindfreddy
Copy link

Please reopen, I have the same problem with the exact same error message running on raspbian jessie, php 5.6.33, apache 2.4.10, owncloud 10.0.8.5.

@DeepDiver1975
Copy link
Member

/var/www/owncloud/apps/dav/appinfo/registercommand.php(36):

this file was removed long time ago - see https://github.com/owncloud/core/tree/v10.0.4/apps/dav/appinfo

You did not follow the update procedure properly and have now a system in mixed state.

see https://doc.owncloud.org/server/latest/admin_manual/maintenance/upgrade.html?highlight=update#upgrading-from-9-1-to-version

@Blindfreddy
Copy link

Ok thanks - I followed the instructions but using 10.0.8 - all works now. Thanks.

Not sure how I ended up with a botched installation but it's academic now.

@lock
Copy link

lock bot commented Jul 30, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants