Thumbnail generation (Android and IOS)

Steps to reproduce

  1. Owncloud through browser in mobile (Android/IOS) → Thumbnails are loaded superfast
  2. Owncloud through Windows PC browser → Thumbnails are loaded superfast
  3. Owncloud through owncloud App (Android and IOS) Thumbnails are not reliable, loading slow and sometimes stops loading or take forever. Especially new folders can take ages.

Expected behaviour

Thumbnails (images/videos) should load as fast from the browser as in the app

Actual behaviour

When from the app thumbnails are not reliable, loading slow and sometimes stops loading or take forever. Especially new folders can take ages.

Server configuration

Raspberry Pi 5 8 GB, updated fully
owncloud/server:10.15, mariadb:10.6, redis:latest, traefik:latest

http://example.com/index.php/settings/integrity/failed 
shows : No errors have been found.

The content of config/config.php:

Summary <?php $CONFIG = array ( 'apps_paths' => array ( 0 => array ( 'path' => '/var/www/owncloud/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ( 'path' => '/var/www/owncloud/custom', 'url' => '/custom', 'writable' => true, ), ), 'trusted_domains' => array ( 0 => '****', 1 => '****', 2 => '****', ), 'enable_previews' => true, 'enabledPreviewProviders' => array ( 0 => 'OC\\Preview\\Movie', 1 => 'OC\\Preview\\Image', ), 'enable_movie_transcode' => true, 'datadirectory' => '/mnt/data/files', 'dbtype' => 'mysql', 'dbhost' => 'mariadb', 'dbname' => '****', 'dbuser' => '****', 'dbpassword' => '****', 'dbtableprefix' => 'oc_', 'log_type' => 'owncloud', 'supportedDatabases' => array ( 0 => 'sqlite', 1 => 'mysql', 2 => 'pgsql', ), 'upgrade.disable-web' => true, 'version.hide' => true, 'default_language' => 'en', 'overwrite.cli.url' => '****', 'htaccess.RewriteBase' => '/', 'logfile' => '/mnt/data/files/owncloud.log', 'memcache.local' => '\\OC\\Memcache\\APCu', 'mysql.utf8mb4' => true, 'filelocking.enabled' => true, 'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'redis', 'port' => '****', ), 'passwordsalt' => '****', 'secret' => '****', 'version' => '10.15.0.2', 'dbconnectionstring' => '', 'allow_user_to_change_mail_address' => '', 'logtimezone' => 'UTC', 'installed' => true, 'instanceid' => '****', 'mail_domain' => '****', 'mail_from_address' => '****', 'mail_smtpmode' => 'smtp', 'mail_smtphost' => '****', 'mail_smtpport' => '****', 'loglevel' => 0, 'mail_smtpauthtype' => 'PLAIN', 'mail_smtpauth' => 1, 'mail_smtpname' => '****', 'mail_smtppassword' => '****', 'mail_smtpsecure' => 'ssl', 'maintenance' => false, );

Are you using external storage, if yes which one: local/smb/sftp/…
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
No

ownCloud log (data/owncloud.log)


[details="Summary"]
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:52 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 16455 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:53 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 18239 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:54 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 17837 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:55 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 18005 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:56 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 13855 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:57 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 17619 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:57 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 13922 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:58 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 10446 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:38:59 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 12746 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"
xxx.xxx.xxx.xxx - - [03/Feb/2025:19:39:00 +0100] "GET /remote.php/dav/files/*****/*******/*********/*****.jpg?x=360&y=360&c=&preview=1 HTTP/1.1" 200 12937 "-" "Mozilla/5.0 (Android) ownCloud-android/4.4.1"

[/details]

Is there a way to speed up the thumbnail generating / loading for mobile apps?

Is there a way to force the generation of thumbnails maybe?

Another thing i noticed is that in the App it seems it loads/generates thumbnails for a while and then it stops.