-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NC21, postgres, Doctrine\DBAL\Query\QueryException: More than 1000 expressions in a list are not allowed on Oracle. #4584
Comments
Introduced by nextcloud/server#25036 |
This also happens with the files app NC21
The effect is, that the newest files are not visible. Not in the web UI and not in any client. All users with big folders report the same problem. For both it is the instant upload folder and mostly images: UpdateThis Error appears in the log files on a 64bit installation on a Debian Server as well. And the same for internal or external storage. But the error with not seeing the files immediately is not visible. |
+1. NC21 with 101658 folders and 306737 files (according to |
@ChristophWurst Still an issue on NC 21.0.2 Mail APP 1.9.5 {"reqId":"mjemKf9aaaorG9KJ8bHU","level":3,"time":"2021-06-02T14:41:08+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":{"Exception":"Doctrine\DBAL\Query\QueryException","Message":"More than 1000 expressions in a list are not allowed on Oracle.","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/mail/lib/Db/MessageMapper.php","line":917,"function":"execute","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/apps/mail/lib/Service/CleanupService.php","line":60,"function":"deleteOrphans","class":"OCA\Mail\Db\MessageMapper","type":"->"},{"file":"/var/www/nextcloud/apps/mail/lib/Command/CleanUp.php","line":51,"function":"cleanUp","class":"OCA\Mail\Service\CleanupService","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OCA\Mail\Command\CleanUp","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"Symfony\Component\Console\Command\Command","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\Component\Console\Application","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\Component\Console\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":215,"function":"run","class":"Symfony\Component\Console\Application","type":"->"},{"file":"/var/www/nextcloud/console.php","line":100,"function":"run","class":"OC\Console\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","Line":268,"CustomMessage":"More than 1000 expressions in a list are not allowed on Oracle."},"userAgent":"--","version":"21.0.2.1","id":"60b799e1395ad"} |
I know. The fix wasn't backported yet. |
Just wanted to make sure! Sorry to bother you! 🙂 |
NC 21.0.3 Doctrine\DBAL\Query\QueryException: More than 1000 expressions in a list are not allowed on Oracle /var/www/nextcloud/data/__groupfolders# ls |
|
Actual behavior
Using mail on a dovecot mailbox with > 1000 messages.
The app tends to timeout and make the browser think it stopped.
The log displays:
[core] Error: Doctrine\DBAL\Query\QueryException: More than 1000 expressions in a list are not allowed on Oracle. at <>
OC\DB\QueryBuilder\QueryBuilder->execute()
OCA\Mail\Db\MessageMapper->findRecipients([OCA\Mail\Db\Mes ... "])
OCA\Mail\Db\MessageMapper->findByIds([55535,44431,444 ... "])
OCA\Mail\Service\Sync\SyncService->getDatabaseSyncChanges(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 167}, [61398,61397,613 ... "], OCA\Mail\Service\Search\SearchQuery {})
OCA\Mail\Service\Sync\SyncService->syncMailbox(OCA\Mail\Account {}, OCA\Mail\Db\Mailbox {id: 167}, 42, [61398,61397,613 ... "], true, "is:pi-other")
OCA\Mail\Controller\MailboxesController->sync(167, [61398,61397,613 ... "], false, "is:pi-other")
OC\AppFramework\Http\Dispatcher->executeController(OCA\Mail\Control ... {}, "sync")
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Mail\Control ... {}, "sync")
OC\AppFramework\App::main("OCA\Mail\Cont ... r", "sync", OC\AppFramework\ ... {}, {id: "167",_route: "mail.mailboxes.sync"})
OC\Route\Router->match("/apps/mail/api/mailboxes/167/sync")
OC::handleRequest()
POST /index.php/api/mailboxes/167/sync
f
Mail app
Mail app version:
1.8.3
Mailserver or service:
dovecot imap
Server configuration
Operating system:
Alpine, dockerized
Web server:
nginx
Database: (e.g. MariaDB, SQLite or PostgreSQL)
postgresql
PHP version: (e.g. 7.0)
7.4
Nextcloud Version: (see admin page, e.g. 13.0.2)
21.0.0
Client configuration
Browser: (e.g. Firefox 48)
current firefox
The text was updated successfully, but these errors were encountered: