iOS app crashing when viewing photos folder

Nextcloud Liquid iOS: 4.9.2.20
Nextcloud version: 27.1.4
Operating system and version: Nextcloud AIO v7.7.1
Apache or nginx version: 2.4.58
PHP version: 8.1.25

The issue you are facing: The iOS Nextcloud app is crashing when trying to view my photos folder with no errors being shown. This folder is the “auto upload” folder for this device, and uploaded around 6,000 photos and videos. I’m able to view this folder on the web with no issues. It will load on my iPad, but it does take a bit to load. If I take a new photo it will automatically upload with no issues or errors.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Fresh install of NC AIO
  2. On iOS - set “auto upload” folder
  3. Once fully uploaded, try to view folder on iOS

The output of your Nextcloud log in Admin > Logging:

No logs are being generated for this error

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'one-click-instance' => true,
  'one-click-instance.user-limit' => 100,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'appsallowlist' => 
  array (
  ),
  'check_data_directory_permissions' => false,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'nextcloud-aio-redis',
    'password' => '2135dd3d868483ca4dd7764c56fb2855eb3b7eeb61d0430d',
    'port' => 6379,
  ),
  'overwritehost' => 'nextcloud.x.com',
  'overwriteprotocol' => 'https',
  'passwordsalt' => 'Un89aFYXkGKVwkJ/fh92LxcnFmnBCt',
  'secret' => 'L9bpFVZM/RSEryWrbWHhxLTwGMWqOM3IgFoOdDeB+YxzGbmT',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'nextcloud.x.com',
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '27.1.3.2',
  'overwrite.cli.url' => 'https://nextcloud.x.com/',
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud',
  'dbpassword' => 'xxxx',
  'installed' => true,
  'instanceid' => 'xxxxx',
  'maintenance' => false,
  'loglevel' => '2',
  'log_type' => 'file',
  'logfile' => '/var/www/html/data/nextcloud.log',
  'log_rotate_size' => '10485760',
  'log.condition' => 
  array (
    'apps' => 
    array (
      0 => 'admin_audit',
    ),
  ),
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'enabledPreviewProviders' => 
  array (
    1 => 'OC\\Preview\\Image',
    2 => 'OC\\Preview\\MarkDown',
    3 => 'OC\\Preview\\MP3',
    4 => 'OC\\Preview\\TXT',
    5 => 'OC\\Preview\\OpenDocument',
    6 => 'OC\\Preview\\Movie',
    7 => 'OC\\Preview\\Krita',
    0 => 'OC\\Preview\\Imaginary',
  ),
  'enable_previews' => true,
  'upgrade.disable-web' => true,
  'mail_smtpmode' => 'smtp',
  'trashbin_retention_obligation' => 'auto, 30',
  'versions_retention_obligation' => 'auto, 30',
  'activity_expire_days' => '30',
  'simpleSignUpLink.shown' => false,
  'share_folder' => '/Shared',
  'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
  'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
  'updatedirectory' => '/nc-updater',
  'davstorage.request_timeout' => 3600,
  'htaccess.RewriteBase' => '/',
  'dbpersistent' => false,
  'files_external_allow_create_new_local' => true,
  'trusted_proxies' => 
  array (
    0 => '127.0.0.1',
    1 => '::1',
  ),
  'allow_local_remote_servers' => true,
  'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
  'mail_from_address' => 'xxxxx',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'gmail.com',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpauth' => 1,
  'mail_smtpport' => '587',
  'mail_smtpname' => 'xxxxx',
  'mail_smtppassword' => 'xxxxx',
  'default_phone_region' => 'US',
);

The output of your Apache/nginx/system log in /var/log/____:

Unable to find logs related to this being generated

You should be able to find a crash report in the iOS settings app under Privacy → Analytics. If there are crash reports from the Nextcloud app, I suggest you open an issue at Issues · nextcloud/ios · GitHub