Can't upload any file - PUT is forbidden (Owncloud 10.0.8)

I’m writing in a new topic because I was told to do so.

Steps to reproduce

  1. Install a fresh, clean install of owncloud 10.0.8, with a posgresql database.
  2. data folder: writable foder outside /public_html
  3. Try to upload a file via web, either with the “plus” icon or by dropping files.
  4. A progress bar will appear.
  5. When the progress bar reaches it end, the file will not be there.

Expected behaviour

File creation

Actual behaviour

No file is created. This seems to be related with a “forbidden” message when file is PUT to server, as logs show.

Server configuration

Operating system:
Linux 3.10.0-714.10.2.lve1.4.79.el7.x86_64 #1 SMP Thu Jan 4 13:30:50 EST 2018 x86_64

Web server:
Apache mod_bwlimited/1.4 Phusion_Passenger/5.1.12

Database:
PostgreSQL 9.2.23

PHP version:
Version 7.0.3

ownCloud version: (see ownCloud admin page)
10.0.8.5

Updated from an older ownCloud or fresh install:
Fresh install with the included First run wizard.

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

(Only failed integrity file is a Google identification file):
Check is included on next section:

Output of config report (truncated/shortened):

{
    "basic": {
        "license key": ""***removed****"",
        "date": "Mon, 11 Jun 2018 17:21:36 +0000",
        "ownCloud version": "10.0.8.5",
        "ownCloud version string": "10.0.8",
        "ownCloud edition": "Community",
        "server OS": "Linux",
        "server OS version": "Linux sv34.byethost34.org 3.10.0-714.10.2.lve1.4.79.el7.x86_64 #1 SMP Thu Jan 4 13:30:50 EST 2018 x86_64",
        "server SAPI": "litespeed",
        "webserver version": "Apache mod_bwlimited\/1.4 Phusion_Passenger\/5.1.12",
        "hostname": "nube.apagada.com",
        "user count": 1,
        "user directories": 1,
        "logged-in user": ""***removed****""
    },
    "config": {
        "instanceid": "ocb7dgppqxrz",
        "passwordsalt": ""***removed****"",
        "secret": ""***removed****"",
        "trusted_domains": [
            "nube.apagada.com"
        ],
        "datadirectory": "\/home\/apagada\/ownclouddata",
        "overwrite.cli.url": "http:\/\/nube.apagada.com",
        "dbtype": "pgsql",
        "version": "10.0.8.5",
        "dbname": "apagada_oc",
        "dbhost": "localhost:5432",
        "dbtableprefix": "oc_",
        "dbuser": ""***removed****"",
        "dbpassword": ""***removed****"",
        "logtimezone": "UTC",
        "installed": true,
        "loglevel": 0
    },
    "integritychecker": {
        "passing": false,
        "enabled": true,
        "result": {
            "core": {
                "EXTRA_FILE": {
                    "googlecf27c9c44cffe6d2.html": {
                        "expected": "",
                        "current": "0790cd81333e13397453513ea01d17c5ce8f66a5aa50dc2e273a1f7a0b25828a310dfcf7c00667feb246fe2b799c35c86bc6af83ba91b85e4590716792900a92"
                    }
                }
            }
        }
    },
    "core": {
        "installedat": "1528735331.6038",
        "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
        "public_files": "files_sharing\/public.php",
        "lastupdatedat": "1528737288",
        "OC_Channel": "daily",
        "lastupdateResult": "{\"version\":\"100.0.0.0\",\"versionstring\":\"ownCloud daily\",\"url\":\"https:\\\/\\\/download.owncloud.org\\\/community\\\/owncloud-daily-master.zip\",\"web\":\"https:\\\/\\\/doc.owncloud.org\\\/server\\\/10.0\\\/admin_manual\\\/maintenance\\\/upgrade.html\"}",
        "lastcron": "1528737687",
        "enable_external_storage": "yes"
    },
    "apps": [
        {
            "id": "files_videoplayer",
            "name": "Video player",
            "version": "0.9.8",
            "default_enable": "",
            "***SHOR":"TENED***",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "preview": "\/apps\/files_videoplayer\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.9.8",
                "types": "",
                "enabled": "yes"
            }
        },
        {
            "id": "firstrunwizard",
            "name": "First run wizard",
            "***SHOR":"TENED***",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "version": "1.1",
            "shipped": "true",
            "default_enable": "",
            "ocsid": "166055",
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "preview": "\/apps\/firstrunwizard\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "1.1",
                "ocsid": "166055",
                "types": "",
                "enabled": "yes"
            }
        },
        {
            "id": "market",
            "name": "Market",
            "***SHOR":"TENED***",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.1"
                    }
                }
            },
            "background-jobs": {
                "job": "OCA\\Market\\CheckUpdateBackgroundJob"
            },
            "commands": [
                "OCA\\Market\\Command\\InstallApp",
                "OCA\\Market\\Command\\UnInstallApp",
                "OCA\\Market\\Command\\ListApps",
                "OCA\\Market\\Command\\UpgradeApp"
            ],
            "navigation": {
                "@attributes": {
                    "role": "admin"
                },
                "route": "market.page.index",
                "order": "100"
            },
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "preview": "\/apps\/market\/img\/market.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.2.4",
                "types": "",
                "enabled": "yes"
            }
        },
        {
            "id": "notifications",
            "name": "Notifications",
            "***SHOR":"TENED***",
            "version": "0.3.3",
            "types": [
                "logging"
            ],
            "default_enable": "",
            "commands": {
                "command": "OCA\\Notifications\\Command\\Generate"
            },
            "settings": {
                "personal": "OCA\\Notifications\\Panels\\Personal\\NotificationsPanel"
            },
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0.8",
                        "max-version": "10.1"
                    }
                }
            },
            "use-migrations": "true",
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "preview": "\/apps\/notifications\/img\/notifications.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.3.3",
                "types": "logging",
                "enabled": "yes"
            }
        },
        {
            "id": "updatenotification",
            "name": "Update notification",
            "***SHOR":"TENED***",
            "version": "0.2.1",
            "namespace": "UpdateNotification",
            "default_enable": "",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "background-jobs": {
                "job": "OCA\\UpdateNotification\\Notification\\BackgroundJob"
            },
            "settings": {
                "admin": "OCA\\UpdateNotification\\Controller\\AdminController"
            },
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "appconfig": {
                "installed_version": "0.2.1",
                "types": "",
                "enabled": "yes"
            }
        },
        {
            "id": "files_sharing",
            "name": "Share Files",
            "***SHOR":"TENED***",
            "default_enable": "",
            "version": "0.10.1",
            "types": [
                "filesystem"
            ],
            "use-migrations": "true",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0.2.4",
                        "max-version": "10.0"
                    }
                }
            },
            "public": {
                "files": "public.php"
            },
            "namespace": "Files_Sharing",
            "background-jobs": [
                "OCA\\Files_Sharing\\DeleteOrphanedSharesJob",
                "OCA\\Files_Sharing\\ExpireSharesJob"
            ],
            "commands": {
                "command": "OCA\\Files_Sharing\\Command\\CleanupRemoteStorages"
            },
            "info": [],
            "remote": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/files_sharing\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.10.1",
                "types": "filesystem",
                "enabled": "yes"
            }
        },
        {
            "id": "external",
            "name": "External Sites",
            "***SHOR":"TENED***",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "version": "1.2",
            "info": [],
            "remote": [],
            "public": [],
            "types": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": false,
            "internal": false,
            "level": 100,
            "removable": true,
            "preview": "\/apps\/external\/img\/external.svg",
            "previewAsIcon": true
        },
        {
            "id": "configreport",
            "name": "Admin Config Report",
            "***SHOR":"TENED***",
            "version": "0.1.1",
            "namespace": "ConfigReport",
            "default_enable": [
                "",
                ""
            ],
            "types": [
                "filesystem"
            ],
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "9.1",
                        "max-version": "10.0"
                    }
                }
            },
            "shipped": "true",
            "commands": {
                "command": "OCA\\ConfigReport\\Command\\ConfigReport"
            },
            "settings": {
                "admin": "OCA\\ConfigReport\\AdminPanel"
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "appconfig": {
                "installed_version": "0.1.1",
                "types": "filesystem",
                "enabled": "yes"
            }
        },
        {
            "id": "user_external",
            "name": "External user support",
            "***SHOR":"TENED***",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "version": "0.4",
            "shipped": "true",
            "types": [
                "authentication",
                "prelogin"
            ],
            "ocsid": "166060",
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": false,
            "internal": false,
            "level": 100,
            "removable": true,
            "preview": "\/apps\/user_external\/img\/app.svg",
            "previewAsIcon": true
        },
        {
            "id": "files_versions",
            "name": "Versions",
            "***tags":"removed***",
            "version": "1.3.0",
            "types": [
                "filesystem"
            ],
            "namespace": "Files_Versions",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "default_enable": "",
            "background-jobs": {
                "job": "OCA\\Files_Versions\\BackgroundJob\\ExpireVersions"
            },
            "commands": [
                "OCA\\Files_Versions\\Command\\CleanUp",
                "OCA\\Files_Versions\\Command\\ExpireVersions"
            ],
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/files_versions\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "1.3.0",
                "types": "filesystem",
                "enabled": "yes"
            }
        },
        {
            "id": "encryption",
            "***SHOR":"TENED***",
            "rememberlogin": "false",
            "version": "1.3.1",
            "types": [
                "filesystem"
            ],
            "use-migrations": "true",
            "dependencies": {
                "lib": "openssl",
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "commands": [
                "OCA\\Encryption\\Command\\SelectEncryptionType",
                "OCA\\Encryption\\Command\\RecreateMasterKey",
                "OCA\\Encryption\\Command\\MigrateKeys"
            ],
            "settings": {
                "admin": "OCA\\Encryption\\Panels\\Admin",
                "personal": "OCA\\Encryption\\Panels\\Personal"
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "groups": null,
            "active": false,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/encryption\/img\/app.svg",
            "previewAsIcon": true
        },
        {
            "id": "federation",
            "name": "Federation",
            "***SHOR":"TENED***",
            "version": "0.1.0",
            "namespace": "Federation",
            "category": "other",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "default_enable": "",
            "types": [
                "authentication"
            ],
            "background-jobs": {
                "job": "OCA\\Federation\\SyncJob"
            },
            "commands": {
                "command": "OCA\\Federation\\Command\\SyncFederationAddressBooks"
            },
            "settings": {
                "admin": "OCA\\Federation\\Panels\\Admin"
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/federation\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.1.0",
                "types": "authentication",
                "enabled": "yes"
            }
        },
        {
            "id": "systemtags",
            "name": "Collaborative tags",
            "***SHOR":"TENED***",
            "default_enable": "",
            "version": "0.3.0",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "namespace": "SystemTags",
            "types": [
                "logging"
            ],
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "appconfig": {
                "installed_version": "0.3.0",
                "types": "logging",
                "enabled": "yes"
            }
        },
        {
            "id": "comments",
            "name": "Comments",
            "***SHOR":"TENED***",
            "default_enable": "",
            "version": "0.3.0",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "types": [
                "logging",
                "dav"
            ],
            "sabre": {
                "plugins": {
                    "plugin": "OCA\\Comments\\Dav\\CommentsPlugin"
                },
                "collections": {
                    "collection": "OCA\\Comments\\Dav\\RootCollection"
                }
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "appconfig": {
                "installed_version": "0.3.0",
                "types": "logging,dav",
                "enabled": "yes"
            }
        },
        {
            "id": "theme-example",
            "name": "Example ownCloud Theme",
            "***SHOR":"TENED***",
            "version": "1.0.0",
            "types": [
                "theme"
            ],
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "namespace": "Theme",
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": false,
            "internal": false,
            "level": 100,
            "removable": true
        },
        {
            "id": "files_trashbin",
            "name": "Deleted files",
            "***SHOR":"TENED***",
            "default_enable": "",
            "version": "0.9.1",
            "types": [
                "filesystem"
            ],
            "use-migrations": "true",
            "namespace": "Files_Trashbin",
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0.2.4",
                        "max-version": "10.0"
                    }
                }
            },
            "background-jobs": {
                "job": "OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash"
            },
            "commands": [
                "OCA\\Files_Trashbin\\Command\\CleanUp",
                "OCA\\Files_Trashbin\\Command\\ExpireTrash"
            ],
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "two-factor-providers": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/files_trashbin\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.9.1",
                "types": "filesystem",
                "enabled": "yes"
            }
        },
        {
            "id": "provisioning_api",
            "name": "Provisioning API",
            "default_enable": "",            
            "***SHOR":"TENED***",
            "version": "0.5.0",
            "namespace": "Provisioning_API",
            "types": [
                "prevent_group_restriction"
            ],
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": true,
            "level": 200,
            "removable": false,
            "preview": "\/apps\/provisioning_api\/img\/app.svg",
            "previewAsIcon": true,
            "appconfig": {
                "installed_version": "0.5.0",
                "types": "prevent_group_restriction",
                "enabled": "yes"
            }
        },
        {
            "id": "files_external_ftp",
            "name": "FTP storage support",
            "***SHOR":"TENED***",
            "version": "0.2.0",
            "category": "external-plugins",
            "types": [
                "filesystem"
            ],
            "dependencies": {
                "owncloud": {
                    "@attributes": {
                        "min-version": "10.0",
                        "max-version": "10.0"
                    }
                }
            },
            "info": [],
            "remote": [],
            "public": [],
            "repair-steps": {
                "install": [],
                "pre-migration": [],
                "post-migration": [],
                "live-migration": [],
                "uninstall": []
            },
            "background-jobs": [],
            "two-factor-providers": [],
            "commands": [],
            "groups": null,
            "active": true,
            "internal": false,
            "level": 100,
            "removable": true,
            "appconfig": {
                "types": "filesystem",
                "enabled": "yes",
                "signed": "true",
                "installed_version": "0.2.0"
            }
        }
    ],
   
   OUTPUT TRUNCATED (post too long)
}

List of activated apps:

SEE CONFIG ABOVE

Are you using external storage, if yes which one: local/smb/sftp/…
NO - I want to use local but it has disappeared.
Are you using encryption: yes/no
NO
Are you using an external user-backend, if yes which one:
NO

Client configuration

Browser:
Microsoft Edge 42.17134.1.0
Chrome 66.0.3359.181

Operating system:
Windows 10.0.17134.48 x64

Logs

Web server error log

No relevant http log entry found. Last log entry dates from 20 minutes before.

ownCloud log (data/owncloud.log)

No relevant owncloud log entry found. All logs related with cron.php:

Browser log

On edge:

HTTP403: PROHIBIDO: el servidor entendió la solicitud, pero se niega a llevarla a cabo.
(XHR)PUT - http://nube.apagada.com/remote.php/webdav/algo.asc
(=> Forbidden put)
 SCRIPT5007: Unable to get property 'documentElement' of undefined or null reference```

On Chrome:

jquery-migrate.min.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:2 JQMIGRATE: Migrate is installed, version 1.4.0
3js.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:2287 Deprecation warning: tipsy is deprecated. Use tooltip instead.
jQuery.fn.tipsy @ js.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:2287
/remote.php/webdav/algunos%20ejercicios%20cd.doc:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
file-upload.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:354 Uncaught TypeError: Cannot read property 'documentElement' of undefined
    at OC.FileUpload.getResponse (file-upload.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:354)
    at HTMLInputElement.fail (file-upload.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:1081)
    at $.(/index.php/apps/files/anonymous function).(anonymous function)._trigger (http://nube.apagada.com/core/vendor/jquery-ui/ui/jquery-ui.custom.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:789:13)
    at $.(/index.php/apps/files/anonymous function).(anonymous function)._onFail (http://nube.apagada.com/apps/files/js/jquery.fileupload.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:876:18)
    at $.(/index.php/apps/files/anonymous function).(anonymous function)._onFail (http://nube.apagada.com/core/vendor/jquery-ui/ui/jquery-ui.custom.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:405:25)
    at Object.<anonymous> (jquery.fileupload.js?v=4b10562149b7ecdb1fc8709b9bf46b9e:910)
    at j (jquery.js:3099)
    at Object.fireWith [as rejectWith] (jquery.js:3211)
    at x (jquery.js:8266)
    at XMLHttpRequest.<anonymous> (jquery.js:8605)
jquery.js:8630 XHR finished loading: GET "http://nube.apagada.com/ocs/v2.php/apps/notifications/api/v1/notifications?format=json".

From what i know ownCloud requires various HTTP methods (like PUT) for the correct / full operation. If this gets blocked by your web server you probably need to unblock / allow those methods within your web server.

In addition to what @tom42 said, double-check the permissions on the data directory (in your case “/home/apagada/ownclouddata”): the user for your webserver (“www-data” ?) will need to access and write there

I have searched in the internet, and PUT is supposed to be supported by php in cases where Apache does not support it.

The data directory is writable. Logs are written, indeed.

There seems to be some error with database management. User email address is not saved, and local storage config is shortened (/public_html/blablablá… is turned into /public_h). I will try to reinstall using another database engine.

Thanks, Tom! ¡Gracias, jvillafanez!.

All trouble (including the local storage config data being shortened and the user email config not being written to database) was fixed once PUT requests were allowed. It seems all owncloud design depends on PUT requests.

I have added this to the end of my .htaccess:

Allow from all

Do you think “allowing from all” is insecure? I’ve tried to open urls from the browser history with the user logged out and it does not seem to access anything, so I guess this config is secure, but I’m not sure.

That’s part of the server configuration, so it’s up to you. The application (ownCloud) can have its own security layer. The server can allow the request but the application can still reject / ignore it according to its own rules.

In any case, the server needs to allow at least all HTTP and WebDAV methods for ownCloud to work properly, otherwise ownCloud will malfunction.

Note that the Allow directive seems to be deprecated in apache. (https://httpd.apache.org/docs/2.4/en/howto/access.html)

hi arcalaus ,

i am facing the same problem as you, but i can upload through mobile app.
But when i use the webUI to upload files, nth happened.

When uploading a folder with files, only the folder structure are uploaded.

…so confused…

Hi!
I discovered the issue had to face with PUT by reviewing the javascript Console of Chrome (i think it comes up with F12 and then selecting some option I don’t remember).

The issue can be related also with:

  • some hosting protection software (called “sitelock” on my hosting).
  • Hosting upload limits / owncloud upload limit.
1 Like

If your issue has to do with PUT, try to add this at the end of .htaccess:

<Limit GET POST PUT DELETE>
Allow from all
</Limit>

2 Likes

it was so weird :pensive:
still cannot do the webui upload,
but can upload through iOS app

Hey, i think there are quite a lot resources given above which could help you on the research on this issue.

Just figured out , i think the hosting has block all kinds of file with extension besides .txt …
PUT error,

1 Like

I’m experiecing a very similar error. The issue is the same, I can’t upload any files through the web interface.

But I figured out another thing: in a public share, without being logged as any Owncloud user, I could upload files succesfully. Have you tried that?

Did anyone solve the problem?
That’s driving me crazy, and seems not to be a isolate error… I’ve already seen some posts about the same issue.

Did you consider having a look into the log?

This is not a bug! If public uploads are allowed on that folder, it’s OK.

I’ve found this in the log file:

{“reqId”:“XXXXXXXXXXXX”,“level”:0,“time”:“2018-XXXXXXXXXXXX”,“remoteAddr”:“XXXXXXXXXXXX”,“user”:“XXXXXXXXXXXX”,“app”:“OC\Authentication\Token\DefaultTokenProvider::updateToken”,“method”:“PROPFIND”,“url”:"/XXXXXXXXXXXX/dav/files/XXXXXXXXXXXX/",“message”:“updating token XXXXXXXXXXXX, last check is now XXXXXXXXXXXX”}
{“reqId”:“XXXXXXXXXXXX”,“level”:0,“time”:“2018XXXXXXXXXXXX”,“remoteAddr”:“XXXXXXXXXXXX”,“user”:“XXXXXXXXXXXX”,“app”:“OC\Authentication\Token\DefaultTokenProvider::getToken”,“method”:“PROPFIND”,“url”:"/XXXXXXXXXXXX/remote.php/dav/files/XXXXXXXXXXXX/",“message”:“token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX does not exist”}

Yes, that’s why I’m lost in the sea.

Hey,

i don’t think that this is the same issue so i would suggest to open a new thread for the possible new issue. It could help others to better help you if providing more details on your environment and similar within the shown issue template.

I am having the same issue, but I may have found some of the problem. As it turns out I have owncloud running on my laptop which whenever I disconnect from the dock I switch from wired to a wireless connection. I just had this error happen to me with some new files I just created, so I checked the web interface and OwnCloud told me that the directory existed, but the files did not. I checked the drive through the terminal and I found that the direct was in fact NOT there.

I promptly went to the web interface and asked to delete the directory in question which gave me an error. I started the sync again and everything worked.

Before I did this I was received 9 - PUT 403 errors, one for each of the files in the directory that was showing in the web interface, but were missing on the drive.

Hello,

I’m having the same issue with 10.0.10 and a clean install.

However I noticed that it is a jquery error.
https://xxxxxxx.com/remote.php/dav/files/uername/Documents/file.pdf 403 (Forbidden) jquery.js:8630

Then:
Uncaught TypeError: Cannot read property ‘documentElement’ of undefined file-upload.js?v=0e09350b2949899f5968b3d22dc1e131:411

Everything else works. I just cannot upload using the web interface I tried chrome, Safari and Firefox on Mac OS 10.13.6

Hello,

I’d also like to add that I was able to try to load files on windows with FireFox 44 and it was working. Then I updated to current firefox and it stopped uploading files in the web interface with similar JS error in file file-upload.js and jquery.

It seems to be a Javascript issue for the web interface uploades.

  • Mike

Check if the folder structure is correctly created in the data directory for that user, as well as if the permissions are correct.
Inside the ownCloud server, there is a <ocfolder>/data/<user>/files directory containing the local files for that user. Check if everything is fine there.