Powerpoint files silently deleted in 10.0.10 web interface


#1

Steps to reproduce

  1. Log in to web client
  2. Upload a Powerpoint (*.pptx) file
  3. Watch as the file is silently deleted.

or

  1. Using the Desktop app, copy a Powerpoint (*.pptx) file to an ownCloud folder
  2. Log in to web client
  3. Navigate to folder containing the Powerpoint file
  4. Watch as the file is silently deleted (and receive notice from the Desktop app that the file has been deleted).

I’ve been unable to reproduce this problem with PDF, Excel, Word or graphics files–only Powerpoint.

Expected behaviour

File should remain unless explicitly removed.

Actual behaviour

File is silently deleted with no warnings or messages in the web UI.

Server configuration

Operating system:
CentOS 6

Web server:
Apache

Database:
PostgreSQL

PHP version:
5.6.38 (installed from Webtatic repository)

ownCloud version: (see ownCloud admin page)
10.0.10.4

Updated from an older ownCloud or fresh install:
Updated from older ownCloud.

Where did you install ownCloud from:
Tarball.

Signing status (ownCloud 9.0 and above):

No errors have been found.

The content of config/config.php:

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "\/var\/www\/html\/example.com\/owncloud-data",
        "dbtype": "pgsql",
        "version": "10.0.10.4",
        "dbname": "owncloud_comp",
        "dbhost": "\/tmp",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "5089a7387620f",
        "ldapIgnoreNamingRules": false,
        "maintenance": false,
        "forcessl": true,
        "share_folder": "\/Shared",
        "maxZipInputSize": 838860800,
        "allowZipDownload": true,
        "trusted_domains": [
            "owncloud.example.com"
        ],
        "overwrite.cli.url": "https:\/\/owncloud.example.com\/",
        "cron_log": true,
        "logtimezone": "America\/Edmonton",
        "theme": "",
        "mail_smtpmode": "php",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "has_internet_connection": true,
        "appstoreenabled": true,
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/example.com\/owncloud\/apps",
                "url": "\/apps",
                "writable": true
            }
        ],
        "updatechecker": true,
        "default_language": "en",
        "defaultapp": "files",
        "enable_previews": true,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MSOffice2003",
            "OC\\Preview\\MSOffice2007",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\OpenDocument"
        ],
        "cache_path": "",
        "filesystem_check_changes": 1,
        "asset-pipeline.enabled": true,
        "mount_file": "data\/mount.json",
        "redis": {
            "0": "tmp\/redis.sock",
            "timeout": 0,
            "dbindex": 0
        },
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "loglevel": 2,
        "trashbin_retention_obligation": "auto"
    }
}

List of activated apps:

IEnabled:
  - activity: 2.3.8
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.4.0
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_pdfviewer: 0.9.0
  - files_sharing: 0.11.0
  - files_texteditor: 2.2.1
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 16.1.0
  - market: 0.2.5
  - notifications: 0.3.5
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - templateeditor: 0.3.1
  - updatenotification: 0.2.1
  - user_ldap: 0.11.0
Disabled:
  - encryption
  - external
  - user_external

Are you using external storage, if yes which one: local/smb/sftp/…
Allowing Google Drive and CIFS/SMBFS

Are you using encryption: yes/no
No.

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

LDAP configuration (delete this part if not used)

+-------------------------------+---------------------------------------------------------------------------------------------------------+
| Configuration                 |                                                                                                         |
+-------------------------------+---------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      |                                                                                                         |
| hasPagedResultSupport         |                                                                                                         |
| homeFolderNamingRule          | attr:uid                                                                                                |
| lastJpegPhotoLookup           | 0                                                                                                       |
| ldapAgentName                 | *** REMOVED SENSITIVE DATA ***                                                        |
| ldapAgentPassword             | ***                                                                                                     |
| ldapAttributesForGroupSearch  |                                                                                                         |
| ldapAttributesForUserSearch   |                                                                                                         |
| ldapBackupHost                |                                                                                                         |
| ldapBackupPort                | 636                                                                                                     |
| ldapBase                      | *** REMOVED ***                                                                                     |
| ldapBaseGroups                | *** REMOVED ***                                                                          |
| ldapBaseUsers                 | *** REMOVED ***                                                                                     |
| ldapCacheTTL                  | 600                                                                                                     |
| ldapConfigurationActive       | 1                                                                                                       |
| ldapDynamicGroupMemberURL     |                                                                                                         |
| ldapEmailAttribute            | mail                                                                                                    |
| ldapExperiencedAdmin          | 0                                                                                                       |
| ldapExpertUUIDGroupAttr       | entryUUID                                                                                               |
| ldapExpertUUIDUserAttr        | entryUUID                                                                                               |
| ldapExpertUsernameAttr        | uid                                                                                                     |
| ldapGroupDisplayName          | cn                                                                                                      |
| ldapGroupFilter               | (&(|(objectclass=groupOfNames)))                                                                        |
| ldapGroupFilterGroups         |                                                                                                         |
| ldapGroupFilterMode           | 0                                                                                                       |
| ldapGroupFilterObjectclass    | groupOfNames                                                                                            |
| ldapGroupMemberAssocAttr      | member                                                                                                  |
| ldapHost                      | ldaps://host.example.com                                                                               |
| ldapIgnoreNamingRules         |                                                                                                         |
| ldapLoginFilter               | (&(&(objectClass=Person)(!(objectClass=calEntry)))(|(uid=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid)))) |
| ldapLoginFilterAttributes     |                                                                                                         |
| ldapLoginFilterEmail          | 1                                                                                                       |
| ldapLoginFilterMode           | 0                                                                                                       |
| ldapLoginFilterUsername       | 1                                                                                                       |
| ldapNestedGroups              | 0                                                                                                       |
| ldapOverrideMainServer        | 0                                                                                                       |
| ldapPagingSize                | 500                                                                                                     |
| ldapPort                      | 636                                                                                                     |
| ldapQuotaAttribute            |                                                                                                         |
| ldapQuotaDefault              |                                                                                                         |
| ldapTLS                       |                                                                                                         |
| ldapUserDisplayName           | cn                                                                                                      |
| ldapUserDisplayName2          |                                                                                                         |
| ldapUserFilter                | (|(objectclass=inetOrgPerson)(objectclass=organizationalPerson)(objectclass=person))                    |
| ldapUserFilterGroups          |                                                                                                         |
| ldapUserFilterMode            | 0                                                                                                       |
| ldapUserFilterObjectclass     | inetOrgPerson;organizationalPerson;person                                                               |
| ldapUuidGroupAttribute        | auto                                                                                                    |
| ldapUuidUserAttribute         | auto                                                                                                    |
| turnOffCertCheck              | 0                                                                                                       |
| useMemberOfToDetectMembership | 0                                                                                                       |
+-------------------------------+---------------------------------------------------------------------------------------------------------+

Client configuration

Browser:
Tried Firefox or Chrome.

Operating system:
Windows 7/10

Logs

Web server error log

No errors present for the time period in question.

ownCloud log (data/owncloud.log)

{"reqId":"M3DTBQPQPNdDzsOr0nR5","level":3,"time":"2018-10-30T08:45:46-06:00","remoteAddr":"192.168.60.129","user":"nels","app":"core","method":"GET","url":"\/remote.php\/dav\/files\/nels\/Horde\/IT%20Tickets%20Final.pptx?c=6f2248f908d3d345876fa168b34e2ba9&x=32&y=32&forceIcon=0&preview=1","message":"unable to open image `\/tmp\/IT Tickets Final.pdf': No such file or directory @ error\/blob.c\/OpenBlob\/2589"}
{"reqId":"7kktAYeoPeaXviii9wHT","level":3,"time":"2018-10-30T08:47:02-06:00","remoteAddr":"192.168.60.129","user":"nels","app":"core","method":"GET","url":"\/remote.php\/dav\/files\/nels\/Personal\/FedEx%20Contract%20notice%20Jul%202009%20%28Draft%202%29.doc?c=5bd796f0254a1&x=32&y=32&forceIcon=0&preview=1","message":"unable to open image `\/tmp\/oc_tmp_nXlBF2.pdf': No such file or directory @ error\/blob.c\/OpenBlob\/2589"}

Browser log

Given the behaviour seems to be browser agnostic, I’m not bothering with this.


Files are disappearing from server out of the blue
#2

Hey,

i’m not sure how much of a help a user based support forum like this can help with such issues. :confused:

Personally i would always report such issues to a bug tracker instead. AFAIK the bugtracker of ownCloud and the component (the server) is located here: https://github.com/owncloud/core/issues


Files are disappearing from server out of the blue
#3

Hey, there was always a possibility I missed some obscure configuration tweak after upgrading from the 9.1.x series that someone would immediately jump on! :grinning:

But your point is well taken; I’ll report it through the bugtracking system as well.


#4

Hey,

hehe indeed. But i think a file should never just vanish / be deleted automatically like you’re seeing it.

Sounds great. i think its always good if we users are reporting such issues to bug trackers to share our experience while running a software like ownCloud.