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
While running : /usr/bin/php ./occ preview:generate-all I got the following error :
2021-12-23T02:48:53+01:00 In ExceptionConverter.php line 37:
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00 An exception occurred while executing a query: SQLSTATE[40001]: Serializati
2021-12-23T02:48:53+01:00 on failure: 1213 Deadlock found when trying to get lock; try restarting tra
2021-12-23T02:48:53+01:00 nsaction
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00 In Exception.php line 26:
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00 SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to
2021-12-23T02:48:53+01:00 get lock; try restarting transaction
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00 In Statement.php line 92:
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00 SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to
2021-12-23T02:48:53+01:00 get lock; try restarting transaction
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00
2021-12-23T02:48:53+01:00 preview:generate-all [-p|--path [PATH]] [--] [<user_id>...]
I suspect a deadlock with the following command : /usr/bin/php -f /var/www/nextcloud/cron.php
Should I stop calling the later in the cron while running the preview generation ?
Context:
Server configuration detail
Operating system: Linux 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64
This occurs when 2 processes want to write to your db at the same time. Please retry the generation command when your server is not so busy. Also, please make sure that you don't run preview:pre-generate while running preview:generate-all.
This error should not persist and if it does please let me know.
While running : /usr/bin/php ./occ preview:generate-all I got the following error :
I suspect a deadlock with the following command : /usr/bin/php -f /var/www/nextcloud/cron.php
Should I stop calling the later in the cron while running the preview generation ?
Context:
Server configuration detail
Operating system: Linux 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64
Webserver: Apache (apache2handler)
Database: mysql 10.3.31
PHP version: 7.3.31-1~deb10u1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, exif, msgpack, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, memcached, Zend OPcache
Nextcloud version: 22.2.3 - 22.2.3.0
Updated from an older Nextcloud.
Where did you install Nextcloud from: Upgraded release by release from release 19.x or earlier.
Signing status
Array ( )
List of activated apps
Enabled:
Disabled:
Configuration (config/config.php)
{
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"REMOVED SENSITIVE VALUE",
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "22.2.3.0",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"loglevel": 2,
"logtimezone": "Europe/Paris",
"logfile": "/var/log/nextcloud.log",
"log_rotate_size": 0,
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"share_folder": "/SharedWithMe",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "smtp",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"maintenance": false,
"theme": "",
"default_phone_region": "FR",
"updater.release.channel": "stable",
"mail_smtpauth": 1,
"mail_sendmailmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mysql.utf8mb4": true,
"trashbin_retention_obligation": "auto, 100",
"has_rebuilt_cache": true,
"app_install_overwrite": [
"files_reader"
]
}
External storages: yes
External storage configuration
No mounts configured
Encryption: no
User-backends:
OC\User\Database
Talk configuration:
STUN servers
"REMOVED SENSITIVE VALUE":3478
TURN servers
turn:"REMOVED SENSITIVE VALUE" - udp,tcp
Signaling servers (mode: internal):
no custom server configured
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:95.0) Gecko/20100101 Firefox/95.0
The text was updated successfully, but these errors were encountered: