Failing to transer Metadata between device and Application

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 27.1.9
Operating system and version: Arch Linux (Debian 12 running as an lxd container, where NextCloud is running)
Apache or nginx version: Caddy is my reverse proxy. Version 2.7.6
PHP version (eg, 7.4): 8.2.18

The issue you are facing: When uploading photos/vidoes off my phone onto NextCloud, the metadata is not preserved with it. Untested with files, but I would assume the same.

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

Steps to replicate it:

  1. Open NextCloud (in my case on mobile)
  2. Upload photo/video, any amount (either manually or automatically)

The output of your Nextcloud log in Admin > Logging:

There is no log for this. 

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

$CONFIG = array (
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/snap/nextcloud/current/htdocs/apps',
      'url' => '/apps',
      'writable' => false,
    1 => 
    array (
      'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
      'url' => '/extra-apps',
      'writable' => true,
  'supportedDatabases' => 
  array (
    0 => 'mysql',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/tmp/sockets/redis.sock',
    'port' => 0,
  'log_type' => 'file',
  'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
  'logfilemode' => 416,
  'instanceid' => '[not showing]',
  'passwordsalt' => '[not showing',
  'secret' => '[not showing]',
  'trusted_domains' => 
  array (
    0 => '[Debian container IP]:[port]',
    1 => '',
  'trusted_proxies' => 
  array (
    0 => '[Arch Host IP]',
  'forwarded_for_headers' => 
  array (
    1 => 'HTTP_X_REAL_IP',
  'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'http://[Debian container IP]:[port]',
  'overwriteprotocol' => 'https',
  'overwritehost' => '[My domain]',
  'default_phone_region' => 'US',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '[not showing',
  'dbpassword' => '[not showing]',
  'installed' => true,
  'twofactor_enforced' => 'false',
  'twofactor_enforced_groups' => 
  array (
  'twofactor_enforced_excluded_groups' => 
  array (
  [E-Mail stuff]

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

doesn't show issue


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

Used to show the error in the admin user, no longer shows, issue not resolved.