Latest update - errors again?

  • Nextcloud Server version:
    • 33.0.0
  • Operating system and version:
    • debian docker official

Summary of the issue you are facing:

I admire and appreciate the developers’ work, but I’ve noticed something troubling. Just as you refine a version of Nextcloud, a new release appears. Now, version 33 has appeared, and it has the same bugs as the previous ones at the very beginning.

Everything is sluggish again, and SQL is struggling to respond. Even the simplest tasks don’t work.

It might be my configuration, but if everything was already working perfectly, why is it failing again?

SQL connection error - it appears over 400 times if I want to display thumbnails.

Steps to replicate it:

  1. I open any photo folder in grid mode.
  2. I scroll down, but the thumbnails stop displaying or the website freezes.
  3. The same thing happens on both the iOS and Android apps.
  4. Restart the SQL and Nextcloud containers.
  5. Return to step 1.

Log entries

[core] Error: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused
	GET /core/preview?fileId=1345485&x=128&y=128&mimeFallback=true&v=d00401&a=0
	z 83.21.199.70 przez: master o 18 mar 2026, 10:39:44
[core] Error: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused
	GET /core/preview?fileId=1345485&x=128&y=128&mimeFallback=true&v=d00401&a=0
	z 83.21.199.70 przez: master o 18 mar 2026, 10:39:44
[no app in context] Warning: Exception during connectivity check, closing and reconnecting
	GET /core/preview?fileId=1345485&x=128&y=128&mimeFallback=true&v=d00401&a=0
	z 83.21.199.70 przez: master o 18 mar 2026, 10:39:42

Configuration

version: '3'
services:

  proxy:
    image: jwilder/nginx-proxy:alpine
    labels:
      - "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
    container_name: nextcloud-proxy
    networks:
      - nextcloud_network
    ports:
      - 8080:80
      - 450:443
    volumes:
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_apps/proxy/conf.d:/etc/nginx/conf.d:rw
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_apps/proxy/vhost.d:/etc/nginx/vhost.d:rw
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_apps/proxy/html:/usr/share/nginx/html:rw
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5//docker_apps/proxy/certs:/etc/nginx/certs:ro
      - /etc/localtime:/etc/localtime:ro
      - /var/run/docker.sock:/tmp/docker.sock:ro
    restart: unless-stopped
  
  letsencrypt:
    image: jrcs/letsencrypt-nginx-proxy-companion
    container_name: nextcloud-letsencrypt
    depends_on:
      - proxy
    networks:
      - nextcloud_network
    volumes:
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_apps/proxy/certs:/etc/nginx/certs:rw
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_apps/proxy/vhost.d:/etc/nginx/vhost.d:rw
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5//docker_apps/proxy/html:/usr/share/nginx/html:rw
      - /etc/localtime:/etc/localtime:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro
    restart: unless-stopped

  db:
    image: mariadb
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --log-bin=binlog
    container_name: nextcloud-mariadb
    networks:
      - nextcloud_network
    volumes:
      - /srv/dev-disk-by-uuid-a6ae5cf3-5903-42a6-a048-c2ef5bf9b047/docker_sys/nextcloud-db:/var/lib/mysql
      - /etc/localtime:/etc/localtime:ro
    environment:
      - MYSQL_ROOT_PASSWORD=
      - MYSQL_PASSWORD=
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - PUID=1000
      - PGID=100
    restart: unless-stopped
  
  cache:
    image: redis:latest
    container_name: nextcloud-cache
    restart: always
    networks:
      - nextcloud_network
    ports:
      - 6379:6379
    command: redis-server --save 20 1 --loglevel warning --requirepass eYVX7EwVmmxKPCDmwMtyKVge8oLd2t81
    volumes: 
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_data/redis:/data

  app:
    image: nextcloud:latest
    container_name: nextcloud-app
    networks:
      - nextcloud_network
    depends_on:
      - letsencrypt
      - proxy
      - db 
      - cache
    volumes:
      - nextcloud:/var/www/html
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_apps/nextcloud2/config:/var/www/html/config:rw
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_apps/nextcloud2/custom_apps:/var/www/html/custom_apps:rw
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_data/nextcloud:/var/www/html/data:rw
      - /srv/dev-disk-by-uuid-ae454b77-822f-45bc-95cd-6bae521e2cf5/docker_apps/nextcloud2/themes:/var/www/html/themes:rw
      - /etc/localtime:/etc/localtime:ro
    environment:
      - VIRTUAL_HOST=
      - LETSENCRYPT_HOST=
      - LETSENCRYPT_EMAIL=
      - TZ=Europe/Warsaw
    restart: unless-stopped

volumes:
  nextcloud:
  db:
  cache:
    driver: local

networks:
  nextcloud_network: 

Nextcloud

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.falcon2018.duckdns.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "33.0.0.16",
        "overwrite.cli.url": "http:\/\/nextcloud.falcon2018.duckdns.org",
        "overwritehost": "nextcloud.falcon2018.duckdns.org",
        "overwriteprotocol": "https",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_phone_region": "ISO 3166-2:PL",
        "htaccess.RewriteBase": "\/",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "maintenance": false,
        "theme": "",
        "debug": false,
        "loglevel": 2,
        "categoryList": "",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\Movie",
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\MKV",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\PDF",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\HEVC",
            "OC\\Preview\\WebP",
            "OC\\Preview\\Image",
            "OC\\Preview\\TIFF"
        ],
        "updater.release.channel": "stable",
        "memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.ffmpeg_path": "ffmpeg",
        "memories.ffprobe_path": "ffprobe",
        "mail_smtpdebug": false,
        "memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-amd64",
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "filelocking.enabled": true,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 1,
        "app_install_overwrite": {
            "0": "metadata",
            "1": "occweb",
            "3": "memories",
            "4": "maps",
            "6": "camerarawpreviews"
        },
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\APCu",
        "memories.db.triggers.fcu": true,
        "memories.vod.disable": false,
        "memories.gis_type": 1,
        "preview_max_filesize_image": 1024,
        "cache_chunk_gc_ttl": 86400,
        "preview_max_memory": 1024,
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [
            "admin",
            "U\u017cytkownicy"
        ],
        "twofactor_enforced_excluded_groups": [],
        "mail_smtpsecure": "ssl",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": false,
                "verify_peer": true,
                "verify_peer_name": true
            }
        }
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "6.0.0-dev.0",
            "notify_email_calendar": "0",
            "notify_email_calendar_event": "0",
            "notify_email_calendar_todo": "0",
            "notify_email_contacts": "0",
            "notify_email_file_changed": "0",
            "notify_email_group_settings": "1",
            "notify_email_public_links": "1",
            "notify_email_remote_share": "1",
            "notify_email_shared": "0",
            "notify_notification_calendar": "0",
            "notify_notification_calendar_event": "0",
            "notify_notification_calendar_todo": "0",
            "notify_notification_contacts": "0",
            "notify_notification_favorite": "0",
            "notify_notification_file_changed": "0",
            "notify_notification_file_favorite_changed": "0",
            "notify_notification_group_settings": "0",
            "notify_notification_personal_settings": "0",
            "notify_notification_public_links": "0",
            "notify_notification_remote_share": "0",
            "notify_notification_security": "1",
            "notify_notification_shared": "0",
            "notify_setting_batchtime": "3600",
            "notify_setting_self": "0",
            "notify_setting_selfemail": "0",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.23.0",
            "types": "logging"
        },
        "app_api": {
            "enabled": "no",
            "installed_version": "32.0.0",
            "types": ""
        },
        "audioplayer": {
            "enabled": "no",
            "installed_version": "3.7.0",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "59909744916455425"
        },
        "bookmarks": {
            "enabled": "yes",
            "installed_version": "16.1.3",
            "types": ""
        },
        "bruteforcesettings": {
            "enabled": "no",
            "installed_version": "2.4.0",
            "types": ""
        },
        "calendar": {
            "enabled": "no",
            "installed_version": "6.2.1",
            "types": ""
        },
        "camerarawpreviews": {
            "enabled": "yes",
            "installed_version": "0.8.8",
            "types": "filesystem"
        },
        "circles": {
            "enabled": "no",
            "installed_version": "26.0.0",
            "loopback_tmp_scheme": "http",
            "maintenance_run": "0",
            "maintenance_update": "{\"maximum\":3,\"3\":1680171106,\"2\":1680173402,\"1\":1680173402,\"4\":1651456802,\"5\":1644634801}",
            "migration_22": "1",
            "migration_22_1": "1",
            "migration_run": "0",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "no",
            "installed_version": "1.18.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "no",
            "installed_version": "8.4.0",
            "types": "dav"
        },
        "contactsinteraction": {
            "enabled": "no",
            "installed_version": "1.2.0",
            "types": "dav"
        },
        "cookbook": {
            "enabled": "no",
            "installed_version": "0.11.3",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "default_encryption_module": "OC_DEFAULT_MODULE",
            "emailTestSuccessful": "0",
            "files_metadata_installed": "1",
            "installed.bundles": "[\"CoreBundle\"]",
            "installedat": "1620646183.6777",
            "lastcron": 1773828601,
            "lastupdateResult": "[]",
            "lastupdatedat": 1773826106,
            "mail_providers_enabled": false,
            "metadataGenerationDone": true,
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "shareapi_allow_group_sharing": "no",
            "shareapi_allow_links": "no",
            "shareapi_allow_resharing": "no",
            "shareapi_allow_share_dialog_user_enumeration": "no",
            "shareapi_default_permission_candelete": "no",
            "shareapi_default_permission_canshare": "no",
            "shareapi_default_permission_canupdate": "no",
            "shareapi_default_permissions": "1",
            "shareapi_enabled": "no",
            "shareapi_exclude_groups": "no",
            "shareapi_exclude_groups_list": "[\"\"]",
            "theming.variables": "d41d8cd98f00b204e9800998ecf8427e",
            "updater.secret.created": "1626339175",
            "vendor": "nextcloud",
            "files_metadata": {
                "photos-original_date_time": {
                    "value": null,
                    "type": "int",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "photos-size": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-exif": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-ifd0": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-gps": {
                    "value": null,
                    "type": "array",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 0
                },
                "photos-place": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": true,
                    "editPermission": 0
                },
                "files-live-photo": {
                    "value": null,
                    "type": "string",
                    "etag": "",
                    "indexed": false,
                    "editPermission": 2
                },
                "blurhash": {
                    "value": null,
                    "type": "string",
                    "etag": "13c1d78b64614b65309c74f74573acbd",
                    "indexed": false,
                    "editPermission": 0
                }
            },
            "oc.integritycheck.checker": []
        },
        "dashboard": {
            "enabled": "no",
            "installed_version": "7.7.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "generateBirthdayCalendar": "no",
            "installed_version": "1.36.0",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "sendEventReminders": "no",
            "sendInvitations": "no",
            "types": "filesystem"
        },
        "deck": {
            "enabled": "no",
            "installed_version": "1.15.0",
            "types": "dav"
        },
        "duplicatefinder": {
            "enabled": "no",
            "installed_version": "1.7.3",
            "types": ""
        },
        "encryption": {
            "enabled": "no",
            "installed_version": "2.9.0",
            "masterKeyId": "master_1d96daba",
            "publicShareKeyId": "pubShare_1d96daba",
            "recoveryKeyId": "recoveryKey_1d96daba",
            "types": "filesystem"
        },
        "epubreader": {
            "enabled": "no",
            "installed_version": "1.4.7",
            "types": ""
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.23.0",
            "types": ""
        },
        "federation": {
            "enabled": "no",
            "installed_version": "1.18.0",
            "types": "authentication"
        },
        "files": {
            "enabled": "yes",
            "installed_version": "2.5.0",
            "mimetype_version": "33.0.0.16",
            "types": "filesystem"
        },
        "files_downloadlimit": {
            "enabled": "yes",
            "installed_version": "5.1.0-dev.0",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "6.0.0-dev.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "no",
            "installed_version": "1.1.0",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "no",
            "installed_version": "0.15.1",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "federatedTrustedShareAutoAccept": "no",
            "incoming_server2server_share_enabled": "no",
            "installed_version": "1.25.2",
            "lookupServerEnabled": "no",
            "lookupServerUploadEnabled": "no",
            "outgoing_server2server_share_enabled": "no",
            "types": "filesystem"
        },
        "files_trashbin": {
            "enabled": "no",
            "installed_version": "1.18.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.26.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "2.15.0",
            "types": "logging"
        },
        "imageconverter": {
            "enabled": "yes",
            "installed_version": "2.2.0",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "6.0.0",
            "shownLevels": "[2,3,4]",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "authentication"
        },
        "maps": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": "filesystem"
        },
        "memories": {
            "enabled": "yes",
            "installed_version": "7.8.2",
            "last_index_job_duration": "10.43",
            "last_index_job_start": "1773828002",
            "last_index_job_status": "Indexing completed successfully",
            "last_index_job_status_type": "success",
            "types": ""
        },
        "metadata": {
            "enabled": "yes",
            "installed_version": "0.23.0",
            "types": ""
        },
        "music": {
            "enabled": "yes",
            "installed_version": "3.0.0",
            "types": "filesystem"
        },
        "nextcloud_announcements": {
            "enabled": "no",
            "installed_version": "1.17.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "6.0.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "authentication"
        },
        "occweb": {
            "enabled": "no",
            "installed_version": "0.2.0",
            "types": ""
        },
        "officeonline": {
            "enabled": "no",
            "installed_version": "2.0.2",
            "types": "filesystem,dav,prevent_group_restriction"
        },
        "passman": {
            "enabled": "no",
            "installed_version": "2.4.12",
            "types": ""
        },
        "password_policy": {
            "enabled": "no",
            "installed_version": "1.18.0",
            "types": "authentication"
        },
        "phonetrack": {
            "enabled": "no",
            "installed_version": "1.0.1",
            "types": ""
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "6.0.0-dev.0",
            "lastPlaceMappedUser": "master",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "previewgenerator": {
            "enabled": "yes",
            "installed_version": "5.13.0",
            "pid": "142",
            "types": "filesystem"
        },
        "privacy": {
            "enabled": "no",
            "installed_version": "1.12.0",
            "types": ""
        },
        "profile": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.23.0",
            "types": "prevent_group_restriction"
        },
        "recognize": {
            "enabled": "no",
            "installed_version": "8.2.0",
            "nice_binary": "\/usr\/bin\/nice",
            "node_binary": "\/var\/www\/html\/custom_apps\/recognize\/bin\/node",
            "types": "filesystem,dav"
        },
        "recommendations": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "no",
            "installed_version": "1.3.0",
            "types": ""
        },
        "richdocuments": {
            "enabled": "no",
            "installed_version": "8.5.5",
            "types": "prevent_group_restriction"
        },
        "serverinfo": {
            "cached_count_appdata_files": 779589,
            "cached_count_filecache": 885197,
            "cached_count_storages": "9",
            "enabled": "yes",
            "installed_version": "5.0.0-dev.0",
            "size_appdata_storage": -1,
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.16.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "no",
            "installed_version": "1.16.0",
            "types": "filesystem"
        },
        "shifts": {
            "adminGroup": "ShiftsAdmin",
            "calendarName": "ShiftsCalendar",
            "enabled": "no",
            "installed_version": "1.8.6",
            "organizerEmail": "admin@test.com",
            "organizerName": "admin",
            "shiftWorkerGroup": "Analyst",
            "skillGroups": "[{\"id\":0,\"name\":\"Level 1\"}]",
            "types": ""
        },
        "spreed": {
            "enable_matterbridge": "1",
            "enabled": "no",
            "has_reference_id": "yes",
            "installed_version": "17.1.2",
            "matterbridge_binary": "\/var\/www\/html\/custom_apps\/talk_matterbridge\/bin\/matterbridge-1.23.2-linux-64bit",
            "project_access_invalidated": "1",
            "signaling_token_privkey_es256": "***REMOVED SENSITIVE VALUE***",
            "signaling_token_pubkey_es256": "***REMOVED SENSITIVE VALUE***",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "turn_servers": "***REMOVED SENSITIVE VALUE***",
            "types": "dav,prevent_group_restriction"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "no",
            "installed_version": "1.9.0",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "5.0.0-dev.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "no",
            "installed_version": "1.18.0",
            "types": "logging"
        },
        "tables": {
            "enabled": "no",
            "installed_version": "0.6.3",
            "types": ""
        },
        "talk_matterbridge": {
            "enabled": "no",
            "installed_version": "1.23.2",
            "types": "prevent_group_restriction"
        },
        "tasks": {
            "enabled": "no",
            "installed_version": "0.17.1",
            "types": ""
        },
        "text": {
            "enabled": "no",
            "installed_version": "3.8.0",
            "types": "dav"
        },
        "theming": {
            "backgroundMime": "image\/jpeg",
            "cachebuster": "1",
            "enabled": "no",
            "installed_version": "2.8.0",
            "types": "logging"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": ""
        },
        "twofactor_nextcloud_notification": {
            "enabled": "no",
            "installed_version": "7.0.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "yes",
            "installed_version": "15.0.0-dev.0",
            "types": ""
        },
        "twofactor_webauthn": {
            "enabled": "no",
            "installed_version": "2.6.0",
            "types": ""
        },
        "updatenotification": {
            "bookmarks": "10.0.3",
            "bruteforcesettings": "2.2.0",
            "calendar": "4.4.5",
            "camerarawpreviews": "0.8.8",
            "cookbook": "0.10.2",
            "core": "32.0.6.1",
            "deck": "1.5.5",
            "enabled": "yes",
            "installed_version": "1.23.0",
            "memories": "7.8.2",
            "metadata": "0.23.0",
            "music": "3.0.0",
            "occweb": "0.1.1",
            "officeonline": "2.0.2",
            "passman": "2.4.8",
            "phonetrack": "0.6.9",
            "previewgenerator": "5.12.1",
            "recognize": "1.3.1",
            "related_resources": "1.0.4",
            "richdocuments": "8.1.1",
            "spreed": "17.0.3",
            "tables": "0.5.1",
            "talk_matterbridge": "1.22.4",
            "twofactor_webauthn": "2.6.0",
            "types": "",
            "update_check_errors": "0"
        },
        "user_status": {
            "enabled": "no",
            "installed_version": "1.7.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "6.0.0-dev.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "no",
            "installed_version": "1.7.0",
            "types": ""
        },
        "webhook_listeners": {
            "enabled": "yes",
            "installed_version": "1.5.0",
            "types": "filesystem"
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.15.0",
            "types": "filesystem"
        }
    }
}

Apps

Enabled:
  - activity: 6.0.0-dev.0
  - admin_audit: 1.23.0
  - bookmarks: 16.1.3
  - camerarawpreviews: 0.8.8
  - cloud_federation_api: 1.17.0
  - dav: 1.36.0
  - federatedfilesharing: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0-dev.0
  - files_pdfviewer: 6.0.0-dev.0
  - files_sharing: 1.25.2
  - files_versions: 1.26.0
  - imageconverter: 2.2.0
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - memories: 7.8.2
  - metadata: 0.23.0
  - music: 3.0.0
  - notifications: 6.0.0
  - oauth2: 1.21.0
  - photos: 6.0.0-dev.0
  - previewgenerator: 5.13.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - serverinfo: 5.0.0-dev.0
  - settings: 1.16.0
  - survey_client: 5.0.0-dev.0
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0-dev.0
  - updatenotification: 1.23.0
  - viewer: 6.0.0-dev.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - app_api: 33.0.0 (installed 32.0.0)
  - audioplayer: 3.7.0 (installed 3.7.0)
  - bruteforcesettings: 6.0.0-dev.0 (installed 2.4.0)
  - circles: 33.0.0 (installed 26.0.0)
  - comments: 1.23.0 (installed 1.18.0)
  - contactsinteraction: 1.14.1 (installed 1.2.0)
  - dashboard: 7.13.0 (installed 7.7.0)
  - encryption: 2.21.0 (installed 2.9.0)
  - federation: 1.23.0 (installed 1.18.0)
  - files_external: 1.25.1
  - files_reminders: 1.6.0 (installed 1.1.0)
  - files_trashbin: 1.23.0 (installed 1.18.0)
  - firstrunwizard: 6.0.0-dev.0 (installed 2.15.0)
  - maps: 1.6.0 (installed 1.6.0)
  - nextcloud_announcements: 5.0.0 (installed 1.17.0)
  - password_policy: 5.0.0-dev.0 (installed 1.18.0)
  - privacy: 5.0.0-dev.0 (installed 1.12.0)
  - recommendations: 6.0.0-dev.0 (installed 1.6.0)
  - related_resources: 4.0.0-dev.0 (installed 1.3.0)
  - sharebymail: 1.23.0 (installed 1.16.0)
  - support: 5.0.0 (installed 1.9.0)
  - suspicious_login: 11.0.0-dev.0
  - systemtags: 1.23.0 (installed 1.18.0)
  - text: 7.0.0-dev.3 (installed 3.8.0)
  - twofactor_nextcloud_notification: 7.0.0 (installed 7.0.0)
  - user_ldap: 1.24.0
  - user_status: 1.13.0 (installed 1.7.0)
  - weather_status: 1.13.0 (installed 1.7.0)

There’s not much Nextcloud can do if it can’t connect to the db. Have you checked the db container’s log?

Also, do you have any warnings under Admin settings->Overview about missing indices (common after an upgrade)?

You also may be using an unsupported and/or non-LTS version of mariadb. At a minimum I would use mariadb:lts to at least stay LTS. Ideally version match to the supported version for the relevant version of Nextcloud as documented in each version’s Admin Manual in the Installation Requirements section.

Lastly, drop --binlog-format=ROW --log-bin=binlog from the command unless you are using it specifically (you’d know if you were)[1].

[1] docker/.examples/docker-compose/insecure/mariadb/apache/compose.yaml at 803d941dcbb55109e7531d09d5bd1c5a5cf99fb7 · nextcloud/docker · GitHub

I had version 11.8, and I upgraded to 11.4, or the LTS. It doesn’t affect my instance’s performance at all. Regarding transaction log storage, that’s what Nextcloud recommends.

What about the first two items I suggested:

  1. Have you checked the db container’s log?

  2. do you have any warnings under Admin settings->Overview about missing indices (common after an upgrade)?

Sort of, but not really (the docs could use some cleanup) (see here).

We dropped the binlog from the micro-services docker image examples because unless you know what you’re doing they’re not serving a purpose and can cause problems. See here.

This doesn’t change anything. SQL stops responding when I try to view the gallery. Previously it was losing connection to SQL and now the entire nextcloud instance is down (504 Gateway). I checked and all I need to do is restart the mariadb container. The effect is that what is in the proxy is displayed, then the photo areas are blurred, and the site stops responding.

new error:

[no app in context] Error: An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1610680-256-455-6-0--1' for key 'previews_file_uniq_idx'
	GET /apps/memories/api/image/preview/1610680?c=3bafc3bf5bf7b5f262b806238c688cdd&x=454&y=454&a=1
	z 83.21.199.70 przez: master o 20 mar 2026, 13:36:23

[index] Error: Class "OC\Preview\Storage\Root" not found
	POST /apps/memories/api/image/multipreview
	z 83.21.199.70 przez: master o 20 mar 2026, 13:26:14


The errors from the Memories app are likely because you seem to have it force enabled which bypassed v33 compatibility checks.