Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 12.0.2): 16.0.3
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4
PHP version (eg, 7.1): 7.2
The issue you are facing:
When I go to the ‘Users’ panel and select ‘Everyone’ I get an error occurs and no users are shown. When clicking on the ‘Admin’ users, the users are shown correctly.
An aside:
Perhaps noteworthy that I worked through the instructions for setting up emoji’s with MariaDB, and realised a little too late that I was working off the instructions for MySQL (the page perhaps could be a bit better formatted ). Consequently some errors where shown after going through the emoji process. The emojis aren’t working and I haven’t done anything with this issue yet.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Top right click avatar icon
- Select Users
- Select ‘Everyone’
The output of your Nextcloud log in Admin > Logging:
[no app in context] Error: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT `uid`, `displayname` FROM `oc_users` `u` LEFT JOIN `oc_preferences` `p` ON (`userid` = `uid`) AND (`appid` = 'settings') AND (`configkey` = 'email') WHERE (`uid` COLLATE utf8mb4_general_ci LIKE ?) OR (`displayname` COLLATE utf8mb4_general_ci LIKE ?) OR (`configvalue` COLLATE utf8mb4_general_ci LIKE ?) ORDER BY `uid_lower` ASC LIMIT 25 OFFSET 0' with params ["%%", "%%", "%%"]:
SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8' at <<closure>>
0. /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 184
Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException("An exception oc ... '", Doctrine\DBAL\Dr ... ]})
1. /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 158
Doctrine\DBAL\DBALException::wrapException(Doctrine\DBAL\Driver\PDOMySql\Driver {}, Doctrine\DBAL\Dr ... ]}, "An exception oc ... '")
2. /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 938
Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Doctrine\DBAL\Driver\PDOMySql\Driver {}, Doctrine\DBAL\Dr ... ]}, "SELECT `uid`, ` ... 0", {1: "%%",2: "%%",3: "%%"})
3. /var/www/nextcloud/lib/private/DB/Connection.php line 195
Doctrine\DBAL\Connection->executeQuery("SELECT `uid`, ` ... 0", {1: "%%",2: "%%",3: "%%"}, {1: 2,2: 2,3: 2}, null)
4. /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php line 219
OC\DB\Connection->executeQuery("SELECT `uid`, ` ... 0", {1: "%%",2: "%%",3: "%%"}, {1: 2,2: 2,3: 2})
5. /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php line 214
Doctrine\DBAL\Query\QueryBuilder->execute()
6. /var/www/nextcloud/lib/private/User/Database.php line 280
OC\DB\QueryBuilder\QueryBuilder->execute()
7. /var/www/nextcloud/lib/private/User/Database.php line 381
OC\User\Database->getDisplayNames("", "25", "0")
8. /var/www/nextcloud/lib/private/User/Manager.php line 228
OC\User\Database->getUsers("", "25", "0")
9. /var/www/nextcloud/apps/provisioning_api/lib/Controller/UsersController.php line 165
OC\User\Manager->search("", "25", "0")
10. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 166
OCA\Provisioning_API\Controller\UsersController->getUsersDetails("", "25", "0")
11. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
OC\AppFramework\Http\Dispatcher->executeController(OCA\Provisioning ... {}, "getUsersDetails")
12. /var/www/nextcloud/lib/private/AppFramework/App.php line 126
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Provisioning ... {}, "getUsersDetails")
13. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\Provisioni ... r", "getUsersDetails", OC\AppFramework\ ... {}, {_route: "ocs.pr ... "})
14. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "ocs.pr ... "})
15. /var/www/nextcloud/lib/private/Route/Router.php line 297
undefinedundefinedcall_user_func(OC\AppFramework\ ... {}, {_route: "ocs.pr ... "})
16. /var/www/nextcloud/ocs/v1.php line 82
OC\Route\Router->match("/ocsapp/cloud/users/details")
17. /var/www/nextcloud/ocs/v2.php line 24
undefinedundefinedrequire_once("/var/www/nextcloud/ocs/v1.php")
GET /ocs/v2.php/cloud/users/details?offset=0&limit=25&search=
from <IP> by my.email@email.com at 2019-08-22T10:47:51+00:00
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => 'salt',
'secret' => 'kkkkkk',
'trusted_domains' =>
array (
0 => 'cloud.domain.com',
),
'datadirectory' => '/var/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '16.0.3.0',
'overwrite.cli.url' => 'https://cloud.domain.com',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'myuser',
'dbpassword' => 'mypassword',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mysql.utf8mb4' => true,
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
<IP> - - [22/Aug/2019:12:39:17 +0200] "GET /ocs/v2.php/cloud/users/details?offset=0&limit=25&search= HTTP/1.1" 404 1405 "-" "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"