You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prefixmediadc_settings table is empty. It turns out there's an app called mediaDC installed but not configured. I've disabled it and everything works. Sorry for the noise
Steps to reproduce
Expected behaviour
Missing indices are generated
Actual behaviour
occ fails and shows this error:
An unhandled exception has been thrown:
OCP\AppFramework\Db\DoesNotExistException: Did expect one result but found none when executing: query "SELECT * FROM
*PREFIX*mediadc_settings
WHEREname
= :dcValue1"; in /var/www/cloud/lib/public/AppFramework/Db/QBMapper.php:283Stack trace:
#0 /var/www/cloud/lib/public/AppFramework/Db/QBMapper.php(361): OCP\AppFramework\Db\QBMapper->findOneQuery()
#1 /var/www/cloud/apps/mediadc/lib/Db/SettingMapper.php(85): OCP\AppFramework\Db\QBMapper->findEntity()
#2 /var/www/cloud/apps/mediadc/lib/Service/UtilsService.php(67): OCA\MediaDC\Db\SettingMapper->findByName()
#3 [internal function]: OCA\MediaDC\Service\UtilsService->__construct()
#4 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): ReflectionClass->newInstanceArgs()
#5 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass()
#6 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve()
#7 /var/www/cloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query()
#8 /var/www/cloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#9 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query()
#10 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#11 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map()
#12 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass()
#13 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve()
#14 /var/www/cloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query()
#15 /var/www/cloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#16 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query()
#17 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#18 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map()
#19 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass()
#20 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve()
#21 /var/www/cloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query()
#22 /var/www/cloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#23 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query()
#24 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility{closure}()
#25 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map()
#26 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass()
#27 /var/www/cloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve()
#28 /var/www/cloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query()
#29 /var/www/cloud/lib/private/ServerContainer.php(145): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
#30 /var/www/cloud/lib/private/Console/Application.php(217): OC\ServerContainer->query()
#31 /var/www/cloud/lib/private/Console/Application.php(128): OC\Console\Application->loadCommandsFromInfoXml()
#32 /var/www/cloud/console.php(98): OC\Console\Application->loadCommands()
#33 /var/www/cloud/occ(11): require_once('/var/www/cloud/...')
Browser
Firefox, but not relevant to this issue
Server configuration
Operating system: Debian 11
Web server: Nginx 1.21.4
Database: MariaDB 10.6.7
PHP version: 8.0.15
Nextcloud Version: 23.0.2
List of activated apps:
occ app:list also fails with similar message. In fact, it fails even with no arguments, when it should display help.
Nextcloud configuration:
The text was updated successfully, but these errors were encountered: