Steps to reproduce
- Execute command: sudo -u www-data php occ upgrade --skip-migration-test
I would expect the upgrade to start
root@owncloud:/var/www# sudo -u www-data php occ upgrade --skip-migration-test
ownCloud or one of the apps require upgrade - only a limited number of commands are available
Set log level to debug - current level: 'Debug'
PHP Fatal error: Class 'OC\Cache' not found in /var/www/apps/user_ldap/lib/connection.php on line 72
Operating system: Ubuntu 14.04
Web server: Apache
PHP version: cg213715_admin@owncloud:~$ php -v
PHP 5.6.23-1+deprecated+dontuse+deb.sury.org~precise+1 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
ownCloud version: (see ownCloud admin page) Update to 8.1.2
Updated from an older ownCloud or fresh install: Upgrade
Where did you install ownCloud from: Update app
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access http://example.com/index.php/settings/integrity/failed paste the results into https://gist.github.com/ and puth the link here.
The content of config/config.php:
Log in to the web-UI with an administrator account and click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' This report includes the config.php settings, the list of activated apps and other details in a well sanitized form. or If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder *ATTENTION:* Do not post your config.php file in public as is. Please use one of the above methods whenever possible. Both, the generated reports from the web-ui and from occ config:list consistently remove sensitive data. You still may want to review the report before sending. If done manually then it is critical for your own privacy to dilligently remove *all* host names, passwords, usernames, salts and other credentials before posting. You should assume that attackers find such information and will use them against your systems.
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 ownCloud installation folder. root@owncloud:/var/www# sudo -u www-data php occ app:list ownCloud or one of the apps require upgrade - only a limited number of commands are available Enabled: - files: 1.1.9 - files_pdfviewer: 0.7.1 - files_sharing: 0.6.2 - files_versions: 1.0.5 - gallery: 0.6.0 - updater: 0.4 Disabled: - activity - external - files_encryption - files_external - files_locking - files_texteditor - files_trashbin - files_videoviewer - firstrunwizard - provisioning_api - templateeditor - user_external - user_ldap_orig - user_webdavauth **Are you using external storage, if yes which one:** No **Are you using encryption:** yes/no **Are you using an external user-backend, if yes which one:** ActiveDirectory #### 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 ownCloud installation folder
root@owncloud:/var/www# sudo -u www-data php occ ldap:show-config
ownCloud is in maintenance mode - no app have been loaded
There are no commands defined in the "ldap" namespace.
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
appid = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
### Client configuration **Browser:** **Operating system:** ### Logs #### Web server error log
Insert your webserver log here
#### ownCloud log (data/owncloud.log)
Insert your ownCloud log here
#### Browser log
Insert your browser log here, this could for example include:
b) The network log