Hello,
I'm using OC for a couple of years, server setup on my Raspberry pi (raspbian jessie) for family use. It's worked almost without fault so when it failed today I had to re-read the OC 9 manual to remember the admin basics like occ commands.
I googled around and found some similar errors but no resolutions, anhow my initial issue is I cannot get to any debugging without access to occ commands, correct? I'm happy to try debug, provide more info and resolve but need help first in this case.
Thanks in advance.
-->
Steps to reproduce
- OC web reports 'internal server error'
- sudo -u www-data php occ status and all other commands fails with 'unhandled exception error
- tried reboots, check mysql access and apache all seem OK
Expected behaviour
first major failure of OC. no recent upgrades or changes made.
I though the occ command might allow a safemode access
Actual behaviour
all attempt to debug via web and occ fail with 'unhandles exception' error like this:
sudo -u www-data php occ status
An unhandled exception has been thrown:
exception 'OCP\AppFramework\QueryException' with message 'Could not resolve OCA\Files_External\Lib\Backend\FTP! Class OCA\Files_External\Lib\Auth\Password\Password does not exist' in /var/www/html/owncloud/lib/private/appframework/utility/simplecontainer.php:89
Stack trace:
0 /var/www/html/owncloud/lib/private/appframework/utility/simplecontainer.php(104): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\Files_Exter...')
1 /var/www/html/owncloud/apps/files_external/appinfo/application.php(74): OC\AppFramework\Utility\SimpleContainer->query('OCA\Files_Exter...')
2 /var/www/html/owncloud/apps/files_external/appinfo/application.php(45): OCA\Files_External\AppInfo\Application->loadBackends()
3 /var/www/html/owncloud/apps/files_external/appinfo/app.php(44): OCA\Files_External\AppInfo\Application->__construct()
4 /var/www/html/owncloud/lib/private/app.php(163): require_once('/var/www/html/o...')
5 /var/www/html/owncloud/lib/private/app.php(144): OC_App::requireAppFile('files_external')
6 /var/www/html/owncloud/lib/private/app.php(117): OC_App::loadApp('files_external')
7 /var/www/html/owncloud/lib/private/console/application.php(95): OC_App::loadApps()
8 /var/www/html/owncloud/console.php(87): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
9 /var/www/html/owncloud/occ(11): require_once('/var/www/html/o...')
10 {main}
Server configuration
OC 9 with raspbian jessie on apache and mariaDB
Web server:
apache
Database:
mariaDB 10
PHP version:
php 5.6
ownCloud version: (see ownCloud admin page)
OC 9
Updated from an older ownCloud or fresh install:
updated several times over couple of years
Where did you install ownCloud from:
forgot would have been download and install from website
Signing status (ownCloud 9.0 and above):
I'm the admin and user
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.
I cannot login.
The content of config/config.php:
withheld sensitive
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.
I cannot login
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
cannot run occ, same error produced
List of activated apps:
cannot run occ, same error produced
**Are you using external storage, if yes which one:** local/smb/sftp/...
yes, smb and nfs folders
**Are you using encryption:** yes/no
no
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
not sure
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder
cannot run occ, same error produced
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 oc_appconfig
WHERE appid
= 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
### Client configuration
**Browser:**
IE, Firefox, chrome all same error
**Operating system:**
Ubuntu 17.4, android - same error
### Logs
#### Web server error log
nsert your webserver log here
ownCloud log (data/owncloud.log)
Insert your ownCloud log here
Browser log