Thumbnails view

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.4
  • Operating system and version (e.g., Ubuntu 24.04):
    • Windows 11
  • When did this problem seem to first start?
    • after moving images from onedrive to nextcloud folder
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

Hi all, after moving my image folders from onedrive to Nexcloud, and did choose to “save space” for that folder because it is insanely huge and on my client I’d like download only the images I need, I noticed the image thumbnails (that I use to choose which image I wanna download) shows only for some images, but not all (a lot of them are without).

Can you please point me out on which settings/procedure/checks I have to perform to see if I did something wrong somewhere?

I tried installing preview generator but the issue didn’t solved.

The server is a turnkey-nextcloud image and I have access to its admin if needed. TIA!!!

Steps to replicate it (hint: details matter!):

  1. install turnkey-nextcloud image on a proxmox server and configure it to run baremetal with minimal changes
  2. install NC client on windows 11
  3. after successful first sync, move image folders to NC
  4. open local folder on windows 11
  5. I can see only an handful of thumbnails for all the images I have
  6. install and configure preview generator app
  7. still no thumbnails

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!):

root@nuvola ~# turnkey-occ config:list system
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "***REMOVED SENSITIVE VALUE***",
            "192.168.87.209",
            "192.168.137.1"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.4.1",
        "overwrite.cli.url": "http:\/\/localhost",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0
        },
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "log_type": "file",
        "logfile": "\/var\/nextcloud-data\/nextcloud.log",
        "loglevel": 2,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "sendmail",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "maintenance": false,
        "theme": "",
        "maintenance_window_start": 2,
        "default_phone_region": "IT",
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "enable_previews": true,
        "preview_max_x": 256,
        "preview_max_y": 256
    }
}

Apps

The output of occ app:list (if possible).
root@nuvola ~# turnkey-occ app:list
Enabled:

  • app_api: 5.0.2
  • bruteforcesettings: 4.0.0
  • cloud_federation_api: 1.14.0
  • contactsinteraction: 1.12.0
  • dashboard: 7.11.0
  • dav: 1.33.0
  • federatedfilesharing: 1.21.0
  • files: 2.3.1
  • files_downloadlimit: 4.0.0
  • files_reminders: 1.4.0
  • files_sharing: 1.23.1
  • files_trashbin: 1.21.0
  • files_versions: 1.24.0
  • firstrunwizard: 4.0.0
  • logreader: 4.0.0
  • lookup_server_connector: 1.19.0
  • nextcloud_announcements: 3.0.0
  • notifications: 4.0.0
  • oauth2: 1.19.1
  • password_policy: 3.0.0
  • photos: 4.0.0-dev.1
  • previewgenerator: 5.8.0
  • privacy: 3.0.0
  • profile: 1.0.0
  • provisioning_api: 1.21.0
  • serverinfo: 3.0.0
  • settings: 1.14.0
  • sharebymail: 1.21.0
  • support: 3.0.0
  • text: 5.0.0
  • theming: 2.6.1
  • twofactor_backupcodes: 1.20.0
  • updatenotification: 1.21.0
  • viewer: 4.0.0
  • webhook_listeners: 1.2.0
  • workflowengine: 2.13.0
    Disabled:
  • activity: 4.0.0 (installed 2.21.1)
  • admin_audit: 1.21.0
  • circles: 31.0.0 (installed 29.0.0-dev)
  • comments: 1.21.0 (installed 1.19.0)
  • encryption: 2.19.0
  • federation: 1.21.0 (installed 1.19.0)
  • files_external: 1.23.0
  • files_pdfviewer: 4.0.0 (installed 2.10.0)
  • recommendations: 4.0.0 (installed 2.1.0)
  • related_resources: 2.0.0 (installed 1.4.0)
  • survey_client: 3.0.0 (installed 1.17.0)
  • suspicious_login: 9.0.1
  • systemtags: 1.21.1 (installed 1.19.0)
  • twofactor_nextcloud_notification: 5.0.0
  • twofactor_totp: 13.0.0-dev.0
  • user_ldap: 1.22.0
  • user_status: 1.11.0 (installed 1.9.0)
  • weather_status: 1.11.0 (installed 1.9.0)
    root@nuvola ~#

It seems you’re encountering issues with thumbnail previews in your Nextcloud installation. If you’re using a TurnKey Linux template inside a Proxmox LXC container, this setup can introduce various limitations — and thumbnail generation problems might be one of them.

We discussed the risks of using TurnKey templates for Nextcloud in more detail here:
:point_right: Is there limitations to installing Nextcloud via CT template on Proxmox?

These templates often come with outdated or misconfigured components (like PHP or image processing libraries), which can break or limit core Nextcloud features — including thumbnail generation for image files.

:bulb: Recommended setup: A Proxmox VM running Ubuntu Server 24.04 with Nextcloud All-in-One (AIO) installed via Docker offers a much more stable and compatible environment.

:white_check_mark: In this setup, thumbnail generation for image files works perfectly out of the box — no tweaks or manual fixes needed.

This approach provides full compatibility with all Nextcloud features, reliable updates, and long-term maintainability, without the hidden pitfalls of container templates.

2 Likes

Thank you for letting me know pro/cons of using a template/ct.
I probably will go for the recommended installation.
Yes, templates are convenient but as I plan it running for years ahead it is probably better have NC sitting on a system I can fully manage. :innocent:

1 Like