Impossible to upload .exe

Steps to reproduce

  1. Copy a file (.exe) to Owncloud folder
  2. Drag and drop file (.exe) to Owncloud web interface

Expected behaviour

Copy works…

Actual behaviour

Impossible to copy “.exe”
“Connection closed”

Server configuration

Operating system:
Ubuntu 16.04.5 LTS

Web server:
Apache/2.4.18 (Ubuntu)

Database:
mysql Ver 14.14 Distrib 5.7.23, for Linux (x86_64)

PHP version:
PHP 7.0.30-0ubuntu0.16.04.1 (cli) ( NTS )

ownCloud version: (see ownCloud admin page)
ownCloud X

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

No errors have been found.


{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "\/var\/ocdata",
        "overwrite.cli.url": "https:",
        "dbtype": "mysql",
        "version": "10.0.4.4",
        "dbname": "owncloud_db",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "appstore.experimental.enabled": "true",
        "mail_smtpmode": "smtp",
        "mail_smtpport": "25",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "\/var\/run\/redis\/redis.sock",
            "port": 0,
            "timeout": 0,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "htaccess.RewriteBase": "\/",
        "mysql.utf8mb4": true,
        "maintenance": false,
        "loglevel": 3,
        "theme": "",
        "singleuser": false
    }
}

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Enabled:

  • comments: 0.3.0
  • configreport: 0.1.1
  • dav: 0.3.2
  • encryption: 1.3.1
  • federatedfilesharing: 0.3.1
  • federation: 0.1.0
  • files: 1.5.1
  • files_external: 0.7.1
  • files_sharing: 0.10.1
  • files_trashbin: 0.9.1
  • files_versions: 1.3.0
  • firstrunwizard: 1.1
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • updatenotification: 0.2.1

Disabled:

  • contacts
  • external
  • files_videoplayer
  • market
  • notifications
  • templateeditor
  • theme-example
  • user_external

Are you using external storage, if yes which one: local/smb/sftp/…
no

Are you using encryption:
yes

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
no

Logs

[ warning sync.networkjob ]: QNetworkReply::NetworkError(RemoteHostClosedError) "Connection closed" QVariant(Invalid)

Hey,

maybe your web server or some other security module / extension is blocking the upload of .exe files?

Hi,
No .htaccess or configuration modified :confused:
I’ve some .exe uploaded but since anything (I don’t know what) impossible to upload new one…

For module, no special one I think :

comments: 0.3.0
configreport: 0.1.1
dav: 0.3.2
encryption: 1.3.1
federatedfilesharing: 0.3.1
federation: 0.1.0
files: 1.5.1
files_external: 0.7.1
files_sharing: 0.10.1
files_trashbin: 0.9.1
files_versions: 1.3.0
firstrunwizard: 1.1
provisioning_api: 0.5.0
systemtags: 0.3.0
updatenotification: 0.2.1