The Basics
- Nextcloud Server version (e.g., 29.x.x):
30.0.10
- Operating system and version (e.g., Ubuntu 24.04):
debian 12
- Web server and version (e.g, Apache 2.4.25):
no client issue
- Reverse proxy and version _(e.g. nginx 1.27.2)
none, built in
- PHP version (e.g, 8.3):
8.3.20
- Is this the first time you’ve seen this error? (Yes / No):
No
- When did this problem seem to first start?
always
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
AIO
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
On every backup multiple, seemingly DB related errors happen and “spam” the log, it appears the DB is shut down before nextcloud causing multiple NC Apps to throw errors.
Steps to replicate it (hint: details matter!):
- on every backup
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.
[cron] Error: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 7 no connection to the server
from ? by -- at 07.05.2025, 04:01:06
[core] Error: Error while running background job OCA\Memories\Cron\IndexJob (id: 192, arguments: null)
from ? by -- at 07.05.2025, 04:01:06
[memories] Error: Failed to index folder /Rene/files/Transfer: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 7 no connection to the server
from ? by -- at 07.05.2025, 04:01:06