Sharing emails do not show logo

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com 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:

example

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

longer
example
here

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 13.0.3
Operating system and version Docker image apache w/nginx frontend
Apache or nginx version: apache that comes w/docker image, nginx 1.15.5
PHP version (eg, 7.1): 7.2.11 (version that came w/docker image)

The issue you are facing:

When sharing via email, the logo is not display person that received the email. This is same with default logo, or if I use the theme app and use our own logo

Is this the first time you’ve seen this error? N

Steps to replicate it:

  1. share a file/directory
  2. check you email
  3. no logo

The output of your Nextcloud log in Admin > Logging:

|Error|PHP|imagedestroy() expects parameter 1 to be resource, null given at /var/www/html/apps/theming/lib/Controller/ThemingController.php#295|an hour ago|
|---|---|---|---|
|Error|PHP|imagejpeg() expects parameter 1 to be resource, null given at /var/www/html/apps/theming/lib/Controller/ThemingController.php#294|an hour ago|
|Error|PHP|imageinterlace() expects parameter 1 to be resource, null given at /var/www/html/apps/theming/lib/Controller/ThemingController.php#293|an hour ago|
|Error|PHP|imagescale() expects parameter 1 to be resource, boolean given at /var/www/html/apps/theming/lib/Controller/ThemingController.php#291|an hour ago|
|Error|PHP|Division by zero at /var/www/html/apps/theming/lib/Controller/ThemingController.php#290|an hour ago|
|Error|PHP|imagesx() expects parameter 1 to be resource, boolean given at /var/www/html/apps/theming/lib/Controller/ThemingController.php#290|an hour ago|
|Error|PHP|imagesy() expects parameter 1 to be resource, boolean given at /var/www/html/apps/theming/lib/Controller/ThemingController.php#290|an hour ago|
|Error|PHP|imagesx() expects parameter 1 to be resource, boolean given at /var/www/html/apps/theming/lib/Controller/ThemingController.php#289|an hour ago|
|Error|PHP|imagesx() expects parameter 1 to be resource, boolean given at /var/www/html/apps/theming/lib/Controller/ThemingController.php#289|an hour ago|

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

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  '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,
    ),
  ),
  'instanceid' => 'myinstance',
  'passwordsalt' => 'mysalt',
  'secret' => 'mysecret',
  'trusted_domains' => 
  array (
    0 => 'kvm01:8080',
    1 => 'kvm01.corvidtec.com:8080',
    2 => 'vault.corvidtec.com:443',
    3 => 'vault.corvidtec.com',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '14.0.3.0',
  'overwrite.cli.url' => 'http://kvm01:8080',
  'dbname' => 'nextcloud',
  'dbhost' => 'database_1:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'auser',
  'dbpassword' => 'password',
  'installed' => true,
  'mail_from_address' => 'noreply',
  'mail_smtpmode' => 'smtp',
  'mail_domain' => 'corvidtec.com',
  'mail_smtphost' => 'mail',
  'mail_smtpport' => '25',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'theme' => '',
  'loglevel' => 2,
  'maintenance' => false,
);

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