Impossible upload .exe

Nextcloud version : 15.0.2
Operating system and version : CentOS 3.10
Apache or nginx version : Nginx 1.12.2
PHP version : PHP 7.0.33 (fpm-fcgi)

The issue you are facing:
Impossible to upload executables (.exe)
=> “Connection closed”
=> “PROPFIND /remote.php/dav/files”

Is this the first time you’ve seen this error? : Y

Steps to replicate it:

  1. Upload .exe

The output of your Nextcloud log in Admin > Logging:

"PHP Startup: Unable to load dynamic library '\/usr\/lib64\/php\/modules\/' - \/usr\/lib64\/php\/modules\/ cannot open shared object file

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

$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => '',
    1 => '',
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'https://',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '',
  'dbpassword' => '',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',

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

"PROPFIND /remote.php/dav/files/....

Imagick can’t be loaded, it is normally use to create previews and thumbnails. Is it perhaps used to get the icon of the application? This should be just a feature and should not prevent the upload itself (if it is really the case). Does the upload fail via web-interface and Nextcloud client? For the Nextcloud client, some extensions could be excluded from upload.

And since you are using CentOS, make sure that SELinux is not blocking certain file extensions for security reasons (and the imagick-error is just a consequence or even unrelated).

Thank you for you reply !
Yes, for me Imagick is just an error not related to this issue.
Same issue for web interface or via software, SELinux is disabled.

PS : Same issue on OwnCloud in Ubuntu since I think an update (It has worked in past, unfortunately I don’t know exactly when the issue came) :confused: