I get this error message when I try to install Circles. This happened after I deleted the Circles entries in the database, after there were error messages during the installation.
Nextcloud version 187.0.0
Operating system and version 18.04
Apache or nginx version Apache/2.4.29 (Ubuntu)
PHP version 7.2.24-0ubuntu0.18.04.2
The issue you are facing:
Is this the first time you’ve seen this error? Y:
Steps to replicate it:
- after install and delete
- deleted the Circles entries in the database
- try to reinstall
The output of your Nextcloud log in Admin > Logging:
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT `id` FROM `oc_circles_circles` WHERE `unique_id` = ?' with params [""]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'wolke.oc_circles_circles' doesn't exist
0. /3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 169:Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException("An exceptio ... t", Doctrine\DBA ... ]})
1. /3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 145:Doctrine\DBAL\DBALException::wrapException(Doctrine\DBA ... {}, Doctrine\DBA ... ]}, "An exceptio ... t")
2. /3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php - line 911:Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Doctrine\DBA ... {}, Doctrine\DBA ... ]}, "SELECT `id` ... ?", { 1: ""})
3. /lib/private/DB/Connection.php - line 199:Doctrine\DBAL\Connection->executeQuery("SELECT `id` ... ?", [ ""], [ 2], null)
4. /3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php - line 200:OC\DB\Connection->executeQuery("SELECT `id` ... 1", { dcValue1: ""}, { dcValue1: 2})
5. /lib/private/DB/QueryBuilder/QueryBuilder.php - line 215:Doctrine\DBAL\Query\QueryBuilder->execute()
6. /apps/circles/lib/Migration/GenerateUniqueIdOnCreatedCircle.php - line 89:OC\DB\QueryBuilder\QueryBuilder->execute()
7. /apps/circles/lib/Migration/GenerateUniqueIdOnCreatedCircle.php - line 69:OCA\Circles\Migration\GenerateUniqueIdOnCreatedCircle->generateUniqueId(OC\Repair {})
8. e/lib/private/Repair.php - line 104:OCA\Circles\Migration\GenerateUniqueIdOnCreatedCircle->run(OC\Repair {})
9. /lib/private/legacy/app.php - line 981:OC\Repair->run()
10. /lib/private/Installer.php - line 154:OC_App::executeRepairSteps("circles", [ "OCA\\Circ ... "])
11. /apps/settings/lib/Controller/AppSettingsController.php - line 443:OC\Installer->installApp("circles")
12. /lib/private/AppFramework/Http/Dispatcher.php - line 170:OCA\Settings\Controller\AppSettingsController->enableApps([ "circles"], [])
13. /lib/private/AppFramework/Http/Dispatcher.php - line 99:OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "enableApps")
14. /lib/private/AppFramework/App.php - line 125:OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "enableApps")
15. /lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:OC\AppFramework\App::main("OCA\\Settin ... r", "enableApps", OC\AppFramew ... {}, { _route: "s ... "})
16. <<closure>>OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "s ... "})
17. /lib/private/Route/Router.php - line 299:call_user_func(OC\AppFramew ... {}, { _route: "s ... "})
18. /lib/base.php - line 1008:OC\Route\Router->match("/settings/apps/enable")
19. /index.php - line 38:OC::handleRequest()
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
),
'dbtype' => 'mysql',
'version' => '18.0.0.10',
'overwrite.cli.url' => 'xxxxxxxxxxxxxx',
'dbname' => 'xxxxxxxxxxx',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'wolke',
'dbpassword' => 'xxxxxxxxxxxxxxxxx',
'installed' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'debug' => false,
'mysql.utf8mb4' => true,
'mail_from_address' => 'richard',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'xxxxxxxxxxxx',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'xxxxxxxxxxxxxxxxx',
'mail_smtpsecure' => 'tls',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpname' => 'xxxxxxxxxxxxxxxxx',
'mail_smtppassword' => 'xxxxxxxxxxxxxxx',
'app_install_overwrite' =>
array (
0 => 'calendar',
1 => 'spreed',
2 => 'circles',
3 => 'occweb',
4 => 'photosphereviewer',
5 => 'contacts',
6 => 'socialsharing_twitter',
7 => 'maps',
8 => 'polls',
9 => 'social',
10 => 'socialsharing_diaspora',
),
'memcache.distributed' => '\\OC\\Memcache\\APCu',
'memcache.local' => '\\OC\\Memcache\\APCu',
'updater.release.channel' => 'beta',
'has_rebuilt_cache' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
Any tips on how to get that done?