Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebDAV doesn't work when migrating from ownCloud #1919

Closed
enoch85 opened this issue Oct 26, 2016 · 13 comments
Closed

WebDAV doesn't work when migrating from ownCloud #1919

enoch85 opened this issue Oct 26, 2016 · 13 comments

Comments

@enoch85
Copy link
Member

enoch85 commented Oct 26, 2016

Steps to reproduce

  1. Migrate from ownCloud by following these steps: https://help.nextcloud.com/t/migrating-from-owncloud-to-nextcloud/551
  2. Try to access https://example.domain.com/remote.php

Expected behaviour

Webdav should work

Actual behaviour

  1. I can't login via the Nextcloud Android app @AndyScherzinger (With my real domain I can login, but can't upload photos, InstantUpload isn't triggered)
  2. I can't use the Desktop client
  3. Files aren't shown in GUI (this catalog is not available)

Server configuration

Operating system:
Ubuntu 16.04 Server
Web server:
Apache 2.4
Database:
MySQL 5.7
PHP version:
7.0.8
Nextcloud version: (see Nextcloud admin page)
10.0.1 (also tried with latest daily)
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from ownCloud 9.0.1
Where did you install Nextcloud from:
Nextcloud.com zip package
Signing status:

Signing status

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- files_sharing
    - EXTRA_FILE
        - js/files_drop.js
        - l10n/.gitkeep
- files_external
    - EXTRA_FILE
        - lib/Lib/Auth/Password/GlobalAuth.php
        - lib/Lib/Auth/Password/LoginCredentials.php
        - lib/Lib/Auth/Password/UserProvided.php
        - lib/Command/Notify.php
        - lib/Settings/Admin.php
        - lib/Settings/Section.php
        - l10n/.gitkeep
- user_ldap
    - EXTRA_FILE
        - appinfo/update.php
        - lib/LDAPProvider.php
        - lib/LDAPProviderFactory.php
        - lib/Settings/Admin.php
        - lib/Settings/Section.php
        - lib/IUserLDAP.php
        - l10n/.gitkeep
- notifications
    - EXTRA_FILE
        - img/notifications-new-dark.svg
- federatedfilesharing
    - EXTRA_FILE
        - appinfo/routes.php
        - lib/Settings/Admin.php
        - lib/Controller/MountPublicLinkController.php
        - js/external.js
        - l10n/.gitkeep
- gallery
    - EXTRA_FILE
        - img/view-delete.svg
        - js/newfilemenuplugins.js
- comments
    - EXTRA_FILE
        - img/comments.svg
        - l10n/es_419.json
        - l10n/es_419.js
        - l10n/.gitkeep
- federation
    - EXTRA_FILE
        - lib/Settings/Admin.php
        - l10n/.gitkeep
- encryption
    - EXTRA_FILE
        - lib/Settings/Admin.php
        - l10n/.gitkeep
- activity
    - EXTRA_FILE
        - l10n/no-php
- systemtags
    - EXTRA_FILE
        - lib/Settings/Admin.php
        - img/app.svg
        - templates/admin.php
        - js/admin.js
        - l10n/.gitkeep
- updatenotification
    - EXTRA_FILE
        - img/app.svg
        - l10n/.gitkeep
- external
    - EXTRA_FILE
        - l10n/.gitkeep
- files
    - EXTRA_FILE
        - lib/Settings/Admin.php
        - lib/Controller/SettingsController.php
        - img/recent.svg
        - js/sidebarpreviewtext.js
        - js/sidebarpreviewmanager.js
        - js/gotoplugin.js
- firstrunwizard
    - EXTRA_FILE
        - l10n/.gitignore
- files_versions
    - EXTRA_FILE
        - l10n/.gitkeep
- files_texteditor
    - EXTRA_FILE
        - js/vendor/ace/src-noconflict/mode-text.js
- files_trashbin
    - EXTRA_FILE
        - l10n/.gitkeep

Raw output
==========
Array
(
    [files_sharing] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [js/files_drop.js] => Array
                        (
                            [expected] => 
                            [current] => b5821c10cca6168d2d028a01882dee9674ccec1dc3652970fb37a750109131b9f8fd054c229339229c0ae53c6d35d343827f51db2c8c6c3993cb1bddb8141059
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [files_external] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [lib/Lib/Auth/Password/GlobalAuth.php] => Array
                        (
                            [expected] => 
                            [current] => eb14f8a85a2e17cdbce9936e7879be86aed5465af8987f7df5f953c9a6daac03bbb1f3367e0217b54c3d35a2298e780b9e76f467c710707ffc5e16e106bc2bca
                        )

                    [lib/Lib/Auth/Password/LoginCredentials.php] => Array
                        (
                            [expected] => 
                            [current] => 38af09b50c446c7e3444102cbee50803b5ae4641284234360b2d7e419851644446bca86bfd8b32790bc8c008c4a77e0e907192820998d9adebb4f44e89376fae
                        )

                    [lib/Lib/Auth/Password/UserProvided.php] => Array
                        (
                            [expected] => 
                            [current] => 2bdfe8c27274559cc983542547f50b171e383dbf494df74edafbb85332ad90f2ddf8f89d1e33439b1a3599cc42dc807dd265ed5e8083e936e5f1c464e81dc783
                        )

                    [lib/Command/Notify.php] => Array
                        (
                            [expected] => 
                            [current] => f34c0591656b8adea3d4a37e3e1d417f9063ca860845ef777b73456b48a7f7ec75ef789e2fba7d386d66185c57b9585fbf183b7507b939b5b7fa4f1fee7f2a48
                        )

                    [lib/Settings/Admin.php] => Array
                        (
                            [expected] => 
                            [current] => 01aa2f484b4aa6ee8abc926117a9f2e133d847e90960f60cb225c4b37267393e080fa67813d8d5031cdac1674d246de6db879ebfa8757fc7338eeb0550f683a7
                        )

                    [lib/Settings/Section.php] => Array
                        (
                            [expected] => 
                            [current] => d5c30f5902527b3a90888c2015ef0432246c6d32363cb70c5d7cc85111158dbb7e4c73e1fd73a3c4de5fff1c0091026dea8f477721a2bce70ad77949a2d9e780
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [user_ldap] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [appinfo/update.php] => Array
                        (
                            [expected] => 
                            [current] => 984d1f5e5f93cacc93c0ef78e57996a14b340c416ca5000336932d9435bd42498c8ff7cc833345c86d66c50da34c08e736e9341d6a7b67492ad676c0f063cf09
                        )

                    [lib/LDAPProvider.php] => Array
                        (
                            [expected] => 
                            [current] => 454d7b81dd4242f8c38c4a20dd842bbf1d914ea72ab6815504f86dcf689a43c1cea6ccb1e0af10419dcd1c47fa715c8fc3e8984859193f9efbab673f98160e10
                        )

                    [lib/LDAPProviderFactory.php] => Array
                        (
                            [expected] => 
                            [current] => 5598ad313acfd7fd00a0528a102bef82d9f02b70fa84f955fab5fffb4c5aa13d55f35e8ebdfc06d2a83c0d528f6e43f3c14b61260c8842b4a833e89bd1571cde
                        )

                    [lib/Settings/Admin.php] => Array
                        (
                            [expected] => 
                            [current] => 10cdfcbc58431d086a70e5e559edfa6db76f5aa67ae058c53ae5803b0a6796d94a6bb2feb0fc3908446d876b4c5c005a2836892efbc609d7f39386e64574b03d
                        )

                    [lib/Settings/Section.php] => Array
                        (
                            [expected] => 
                            [current] => cc8aec33c0a1c1de3663926a1a26ef6b33e078454ea717bb3ddc988ab70e85c49b0e42ab1eba87786db778e35362372763aa5d283f0c015fe0238d5c5b468819
                        )

                    [lib/IUserLDAP.php] => Array
                        (
                            [expected] => 
                            [current] => 4435dd46ddb69a9e7be6c16285865cd7b04abd19d677e2a55f51faaf7b3eb446e95b64857dafbae7917eefed412ac70d008bc825611a3aaaee2bf36f5d301044
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [notifications] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [img/notifications-new-dark.svg] => Array
                        (
                            [expected] => 
                            [current] => 7fb9f4ce9f873d4457b983fd62613d0ebb0501e275462dd57f84819b373e67fa084e587632a7f08c14b9cefc063e9880a51946b0ac2b8d5e31b2bc33a2c768fb
                        )

                )

        )

    [federatedfilesharing] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [appinfo/routes.php] => Array
                        (
                            [expected] => 
                            [current] => 0ec7b19be309b88172fef9551cbafa7485ca66be4d70e6c008603b674bcdbe7303066a7f140e1c4c910737938a2af7a3ca2da676fc96c13c5b3e71496022d3f4
                        )

                    [lib/Settings/Admin.php] => Array
                        (
                            [expected] => 
                            [current] => 5f31c92f45aa87f3a9ac3bed40ed296b9650fe5e5f486fd9983680a497b18e161388de8694bc0e408102d2c3bcf136495686a0b5346b019bbb40ab5dbb8be819
                        )

                    [lib/Controller/MountPublicLinkController.php] => Array
                        (
                            [expected] => 
                            [current] => 92a81dd6a7c81712b730dcc56c225dc2a484b104cf3cfd7dfbaf0fc0a02833a00ed9f1cc600f0e85a01825d09930432aaa248ef545b08901d837dd5719e9f945
                        )

                    [js/external.js] => Array
                        (
                            [expected] => 
                            [current] => 3f717a020eceea6f4ffcd008bd0743849824e25e761cac340a3b2c2ca38251f996f60bf03404a9cf4897fc173bed27e0f7f992ae80b1119fa44a1634a20e1137
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [gallery] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [img/view-delete.svg] => Array
                        (
                            [expected] => 
                            [current] => 12efc39bb30b29573c0faf7a6425131d8231f539f71e202b21aed709c724e2cc922e3921afac1a803a74a3ddfcafd4e8774bf65f263ca28c89cef82bbdb79246
                        )

                    [js/newfilemenuplugins.js] => Array
                        (
                            [expected] => 
                            [current] => 6dbcc0d2600be1668b5e4a1c6d6384005ec740994116bf7bcc199f6a45b74a4d717415191d052e128a7f5bc8a2a161111c7f91b81e2108d78e82eb7a780f2b76
                        )

                )

        )

    [comments] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [img/comments.svg] => Array
                        (
                            [expected] => 
                            [current] => 980a7764ffd7e9314a48b4212e7155a8a58e146acf48f82ca538f2d916eb820bada0a9559bc993ee3cd88582405efdef86bd3e6ec4951a0b68679d68915019f0
                        )

                    [l10n/es_419.json] => Array
                        (
                            [expected] => 
                            [current] => 9673e0886e7ac06581e2c0f69eee36f1364ae085f7ee6ea6aae2c4a45a1ade9d96793bb1c3cce0eb3cf18ac534f342e56efd6b33cf71e319a6386ea4e2848454
                        )

                    [l10n/es_419.js] => Array
                        (
                            [expected] => 
                            [current] => 61760c2ba43049a78e30f998a47ab91f8ed8fb49569e9ef4138ade5fd56b1baaa88c93a9e2f607472ad41db2da50dc1f579e8e22d92df0a0d4416fd55c22a8fc
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [federation] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [lib/Settings/Admin.php] => Array
                        (
                            [expected] => 
                            [current] => 8a1bef3ec9bff9a8dee630ba6268d5342b209c9c9809ebd3d30e1a6f4cb5e7fb87eadbdfc17b2265245a3570a7378e365c303fe8eae80b79069e406e16b443fe
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [encryption] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [lib/Settings/Admin.php] => Array
                        (
                            [expected] => 
                            [current] => e19b2e3b4bc37f18f3ecfbeb00f14bb267922fecabeb73715454b1068bd40f6d91de0bbf1643829a1db0dd36ccf6291ee2c4bbf1771750de2852b6a03c341573
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [activity] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [l10n/no-php] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [systemtags] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [lib/Settings/Admin.php] => Array
                        (
                            [expected] => 
                            [current] => 58a35c8d1190252249b2a34a1f11dfa36a089f329394264ecc80c3fa66dfdbfa51734b0318c009e1c849e168435179f98a78b8f57f8164c4a24326d276d36d3c
                        )

                    [img/app.svg] => Array
                        (
                            [expected] => 
                            [current] => 3dd47309b00213b89d010e5ccf699d70c54aa8c02328804b8151e1ec39ffdb3bdd289ef89b811e82ac75252f0c9d5011db5a934582839ef202b6cfc4d44f51b3
                        )

                    [templates/admin.php] => Array
                        (
                            [expected] => 
                            [current] => e7985fa7261cced7885cdfacb176565cc32540727c9fdc649b35dd66af366a296cf37adeab1ff3993ee2e80feeb8cd8d92aef7ba7b4b1a732ae2bd4b290d3693
                        )

                    [js/admin.js] => Array
                        (
                            [expected] => 
                            [current] => c92f3118d1c771bf628ea22626aab18f902b49e4155a5d57fd6afaae7562f40336bd7f7c7dbdbc71d50a9639fb15736e9e5424d3c1e23f781d37bc53d8c2e7f2
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [updatenotification] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [img/app.svg] => Array
                        (
                            [expected] => 
                            [current] => edeebf2c618308b82eff3e190e1e7425be3eae164502de698a5cd8d05c8db7a0626fbf86946fffcd996d1cb1601c461991a6c519e70397ef4c1c39a14a20ced8
                        )

                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [external] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [files] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [lib/Settings/Admin.php] => Array
                        (
                            [expected] => 
                            [current] => 856e4f744b7656eeead25e77f32265c7884bcb1e04854961a764aa477534cd0fd5e3f9a867967aa5df6e6e1cbff3c8229f05056693411dae1d9cff0a68b62bda
                        )

                    [lib/Controller/SettingsController.php] => Array
                        (
                            [expected] => 
                            [current] => 3d55528b083d1d77fde986945c0212a78dde737dcdbc25309b03bbccd74f396752259b4e60ee6d7b3183314c1f40322ca477636588913afcfa82e62cf2ce1792
                        )

                    [img/recent.svg] => Array
                        (
                            [expected] => 
                            [current] => 63b8ffa32f11f0a52e65295d5075c425344ff5b3e37332d793fd8d9073c3d145d1d5f2eda8e5f7f395cdd4e19042b18be8fb2701fa63a6842f10b580743b6a81
                        )

                    [js/sidebarpreviewtext.js] => Array
                        (
                            [expected] => 
                            [current] => 6ed0ef6e005d03d56c3fa334d4f4ccedc72e9ce8882bbd4a46267aa33671b272e90c89daac512eeef1b184087e2bb2c03ba2ce21a0c2ec5af0b686a9fdcdb785
                        )

                    [js/sidebarpreviewmanager.js] => Array
                        (
                            [expected] => 
                            [current] => 3f4c2625e7d8a3ae3d23b26203689ac94f1a746e597f55c7e6f06ff6d533cd7711447b03f9d38f4b5fe5d0bf61688146612b667741cf6db4bcc942d2707916e0
                        )

                    [js/gotoplugin.js] => Array
                        (
                            [expected] => 
                            [current] => 58b0a7fed0ded6fe0785de6352b7e3922290bb30bc676f81bcd45411fd89ce51dc5f8086f7d075831fe566cb5378ea3cda123e55e1c34b4062154cc08c1dae98
                        )

                )

        )

    [firstrunwizard] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [l10n/.gitignore] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [files_versions] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [files_texteditor] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [js/vendor/ace/src-noconflict/mode-text.js] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

    [files_trashbin] => Array
        (
            [EXTRA_FILE] => Array
                (
                    [l10n/.gitkeep] => Array
                        (
                            [expected] => 
                            [current] => cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
                        )

                )

        )

)

List of activated apps:

App list

Enabled:
  - activity: 2.3.2
  - calendar: 1.4.0
  - comments: 0.3.0
  - contacts: 1.4.0.0
  - dav: 0.2.6
  - documents: 0.13.1
  - federatedfilesharing: 0.3.0
  - federation: 0.1.0
  - files: 1.5.1
  - files_pdfviewer: 0.8.1
  - files_sharing: 0.10.0
  - files_texteditor: 2.1
  - files_trashbin: 0.9.0
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 15.0.0
  - notifications: 0.3.0
  - password_policy: 1.0.0
  - provisioning_api: 0.5.0
  - qownnotesapi: 16.09.0
  - serverinfo: 1.1.1
  - survey_client: 0.1.5
  - systemtags: 0.3.0
  - templateeditor: 0.1
  - theming: 1.0.1
  - updatenotification: 0.2.1
  - workflowengine: 1.0.1
Disabled:
  - admin_audit
  - encryption
  - external
  - files_accesscontrol
  - files_antivirus
  - files_automatedtagging
  - files_external
  - files_retention
  - ownnote
  - tasks
  - user_external
  - user_ldap
  - user_saml

The content of config/config.php:

Config report

{
    "system": {
        "updatechecker": false,
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "192.168.4.111",
            "example.domain.se"
        ],
        "datadirectory": "\/var\/ocdata",
        "overwrite.cli.url": "https:\/\/example.domain.se\/",
        "dbtype": "mysql",
        "version": "9.1.1.5",
        "dbname": "owncloud_db",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "Europe\/Stockholm",
        "installed": true,
        "instanceid": "oc7aii0tkiol",
        "appstore.experimental.enabled": "true",
        "mail_smtpmode": "smtp",
        "mail_smtpauth": 1,
        "mail_smtpport": "587",
        "mail_smtphost": "smtp.gmail.com",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "no-reply",
        "mail_domain": "domain.se",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "allowZipDownload": true,
        "session_lifetime": 1800,
        "forcessl": true,
        "logfile": "\/var\/ocdata\/nextcloud.log",
        "loglevel": 0,
        "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
        },
        "trusted_proxies": [
            [
                "192.168.4.201"
            ]
        ],
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED",
            "HTTP_FORWARDED_FOR"
        ],
        "maintenance": false,
        "mail_smtpsecure": "tls",
        "htaccess.RewriteBase": "\/"
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No

Nginx config

VHOST

server {
        # Cloudflare IP that is masked by mod_real_ip

    error_page 404 500 502 503 504 /testing-error.html;
        location = /testing-error.html {
                root /usr/share/nginx/html;
                internal;
        }
        set_real_ip_from 103.21.244.0/22;
        set_real_ip_from 103.22.200.0/22;
        set_real_ip_from 103.31.4.0/22;
        set_real_ip_from 104.16.0.0/12;
        set_real_ip_from 108.162.192.0/18;
        set_real_ip_from 131.0.72.0/22;
        set_real_ip_from 141.101.64.0/18;
        set_real_ip_from 162.158.0.0/15;
        set_real_ip_from 172.64.0.0/13;
        set_real_ip_from 173.245.48.0/20;
        set_real_ip_from 188.114.96.0/20;
        set_real_ip_from 190.93.240.0/20;
        set_real_ip_from 197.234.240.0/22;
        set_real_ip_from 198.41.128.0/17;
        set_real_ip_from 199.27.128.0/21;

    real_ip_header     X-Forwarded-For;
        real_ip_recursive  on;

        listen 192.168.4.201:443 ssl http2;

        ssl on;
        ssl_certificate /etc/nginx/ssl/domain_wild.pem;
        ssl_certificate_key /etc/nginx/ssl/domain_wild.key;
    ssl_dhparam /etc/nginx/sites-available/cloudflare_ip/example.domain/testing-dhparams.pem;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_session_timeout 1d;
        ssl_session_cache shared:SSL:10m;
        ssl_stapling on;
        ssl_stapling_verify on;

        # Only use safe chiphers
    ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
    ssl_prefer_server_ciphers on;

    # Add secure headers
    add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
    add_header X-Content-Type-Options nosniff;

        server_name example.domain.se;
        set $upstream 192.168.4.15:80;

        location / {
                proxy_pass_header Authorization;
                proxy_pass http://$upstream;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP  $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_http_version 1.1;
                proxy_set_header Connection "";
                proxy_buffering off;
                proxy_request_buffering off;
        client_max_body_size 0;
                proxy_read_timeout  36000s;
                proxy_redirect off;
                proxy_ssl_session_reuse off;
        }
}

server {
  listen 192.168.4.201:80;
  server_name example.domain.se;
  rewrite ^(.*) https://$server_name$1 permanent;
#  return 301 https://example.domain.se$request_uri;
}
#### Apache config

VHOST

<VirtualHost 192.168.4.15:80>
    Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
#    Header always set X-Content-Type-Options nosniff

### YOUR SERVER ADDRESS ###
    ServerAdmin daniel@domain.se
    ServerName example.domain.se

### SETTINGS ###
    DocumentRoot /var/www/nextcloud

    <Directory /var/www/nextcloud>
    Options +FollowSymLinks
    AllowOverride All
    Require all granted
    Satisfy Any
    </Directory>

    <IfModule mod_dav.c>
    Dav off
    </IfModule>

    <Directory "/var/ocdata">
    # just in case if .htaccess gets disabled
    Require all denied
    </Directory>

    SetEnv HOME /var/www/nextcloud
    SetEnv HTTP_HOME /var/www/nextcloud

</VirtualHost>

### Client configuration

Browser:
Chrome latest
Operating system:
Deepin 15.3 and Windows 10

Logs

Web server error log

Web server error log

[Wed Oct 26 02:26:01.562855 2016] [mpm_prefork:notice] [pid 3103] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Wed Oct 26 02:26:01.562871 2016] [core:notice] [pid 3103] AH00094: Command line: '/usr/sbin/apache2'
[Wed Oct 26 02:26:02.459654 2016] [mpm_prefork:notice] [pid 3103] AH00169: caught SIGTERM, shutting down
[Wed Oct 26 02:26:03.502159 2016] [mpm_prefork:notice] [pid 4316] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Wed Oct 26 02:26:03.502235 2016] [core:notice] [pid 4316] AH00094: Command line: '/usr/sbin/apache2'
[Wed Oct 26 02:26:24.721458 2016] [mpm_prefork:notice] [pid 4316] AH00169: caught SIGTERM, shutting down
[Wed Oct 26 02:26:40.967062 2016] [mpm_prefork:notice] [pid 2702] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Wed Oct 26 02:26:40.967739 2016] [core:notice] [pid 2702] AH00094: Command line: '/usr/sbin/apache2'
[Wed Oct 26 02:29:56.620669 2016] [mpm_prefork:notice] [pid 2702] AH00169: caught SIGTERM, shutting down
[Wed Oct 26 02:29:57.724420 2016] [mpm_prefork:notice] [pid 3032] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Wed Oct 26 02:29:57.724491 2016] [core:notice] [pid 3032] AH00094: Command line: '/usr/sbin/apache2'
[Wed Oct 26 02:30:22.697661 2016] [mpm_prefork:notice] [pid 3032] AH00169: caught SIGTERM, shutting down
[Wed Oct 26 02:30:23.794743 2016] [mpm_prefork:notice] [pid 9681] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Wed Oct 26 02:30:23.794781 2016] [core:notice] [pid 9681] AH00094: Command line: '/usr/sbin/apache2'
[Wed Oct 26 02:30:52.706592 2016] [mpm_prefork:notice] [pid 9681] AH00169: caught SIGTERM, shutting down
[Wed Oct 26 02:31:09.489820 2016] [mpm_prefork:notice] [pid 2720] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
[Wed Oct 26 02:31:09.490061 2016] [core:notice] [pid 2720] AH00094: Command line: '/usr/sbin/apache2'

#### Nextcloud log (data/nextcloud.log)

Nextcloud log

{"reqId":"VUDkkg34l4hu8TFgR5Q4","remoteAddr":"192.168.4.201","app":"remote","message":"Exception: {\"Exception\":\"TypeError\",\"Message\":\"Argument 5 passed to OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth::__construct() must be an instance of OC\\\\Security\\\\Bruteforce\\\\Throttler, string given, called in \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php on line 46\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(46): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth->__construct(Object(OC\\\\Session\\\\CryptoSessionData), Object(OC\\\\User\\\\Session), Object(OC\\\\AppFramework\\\\Http\\\\Request), Object(OC\\\\Authentication\\\\TwoFactorAuth\\\\Manager), 'principals\\\/')\\n#1 \\\/var\\\/www\\\/nextcloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/nextcl...')\\n#2 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"Line\":75}","level":3,"time":"2016-10-26T02:24:58+02:00","method":"GET","url":"\/remote.php\/webdav","user":"daniel","version":"9.1.1.5"}
{"reqId":"+2lvo3TCsxqlkS297HAA","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/lib\/private\/Route\/Router.php on line 369 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:25:16+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"+2lvo3TCsxqlkS297HAA","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:25:16+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"+2lvo3TCsxqlkS297HAA","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/ocs\/routes.php on line 104 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:25:16+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"+2lvo3TCsxqlkS297HAA","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:25:16+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"CFUJiok\/eruU1pXboA52","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/lib\/private\/Route\/Router.php on line 369 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:25:46+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"CFUJiok\/eruU1pXboA52","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:25:46+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"CFUJiok\/eruU1pXboA52","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/ocs\/routes.php on line 104 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:25:46+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"CFUJiok\/eruU1pXboA52","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:25:46+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"uGvZTdoctguYREW5fe3h","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/lib\/private\/Route\/Router.php on line 369 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:31:10+02:00","method":"GET","url":"\/index.php\/settings\/admin","user":"daniel","version":"9.1.1.5"}
{"reqId":"uGvZTdoctguYREW5fe3h","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:31:10+02:00","method":"GET","url":"\/index.php\/settings\/admin","user":"daniel","version":"9.1.1.5"}
{"reqId":"uGvZTdoctguYREW5fe3h","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/ocs\/routes.php on line 104 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:31:10+02:00","method":"GET","url":"\/index.php\/settings\/admin","user":"daniel","version":"9.1.1.5"}
{"reqId":"uGvZTdoctguYREW5fe3h","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:31:10+02:00","method":"GET","url":"\/index.php\/settings\/admin","user":"daniel","version":"9.1.1.5"}
{"reqId":"j\/8Mc0\/+PXj2NxsA28fV","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/lib\/private\/Route\/Router.php on line 369 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:31:10+02:00","method":"GET","url":"\/index.php\/heartbeat","user":"daniel","version":"9.1.1.5"}
{"reqId":"j\/8Mc0\/+PXj2NxsA28fV","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:31:10+02:00","method":"GET","url":"\/index.php\/heartbeat","user":"daniel","version":"9.1.1.5"}
{"reqId":"j\/8Mc0\/+PXj2NxsA28fV","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/ocs\/routes.php on line 104 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:31:10+02:00","method":"GET","url":"\/index.php\/heartbeat","user":"daniel","version":"9.1.1.5"}
{"reqId":"j\/8Mc0\/+PXj2NxsA28fV","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:31:10+02:00","method":"GET","url":"\/index.php\/heartbeat","user":"daniel","version":"9.1.1.5"}
{"reqId":"v0hZBXbxtK9CzFR4mBJd","remoteAddr":"192.168.4.201","app":"remote","message":"Exception: {\"Exception\":\"TypeError\",\"Message\":\"Argument 5 passed to OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth::__construct() must be an instance of OC\\\\Security\\\\Bruteforce\\\\Throttler, string given, called in \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php on line 46\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(46): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth->__construct(Object(OC\\\\Session\\\\CryptoSessionData), Object(OC\\\\User\\\\Session), Object(OC\\\\AppFramework\\\\Http\\\\Request), Object(OC\\\\Authentication\\\\TwoFactorAuth\\\\Manager), 'principals\\\/')\\n#1 \\\/var\\\/www\\\/nextcloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/nextcl...')\\n#2 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"Line\":75}","level":3,"time":"2016-10-26T02:31:10+02:00","method":"PROPFIND","url":"\/remote.php\/webdav","user":"daniel","version":"9.1.1.5"}
{"reqId":"0pYiTfjQtl7PL5i43LvQ","remoteAddr":"192.168.4.201","app":"remote","message":"Exception: {\"Exception\":\"TypeError\",\"Message\":\"Argument 5 passed to OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth::__construct() must be an instance of OC\\\\Security\\\\Bruteforce\\\\Throttler, string given, called in \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php on line 46\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(46): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Auth->__construct(Object(OC\\\\Session\\\\CryptoSessionData), Object(OC\\\\User\\\\Session), Object(OC\\\\AppFramework\\\\Http\\\\Request), Object(OC\\\\Authentication\\\\TwoFactorAuth\\\\Manager), 'principals\\\/')\\n#1 \\\/var\\\/www\\\/nextcloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/nextcl...')\\n#2 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Auth.php\",\"Line\":75}","level":3,"time":"2016-10-26T02:31:16+02:00","method":"GET","url":"\/remote.php\/webdav","user":"daniel","version":"9.1.1.5"}
{"reqId":"RLhWnS1sLq+sKs02CtLV","remoteAddr":"192.168.4.201","app":"PHP","message":"vsprintf(): Too few arguments at \/var\/www\/nextcloud\/lib\/private\/legacy\/l10n\/string.php#72","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/index.php\/settings\/apps","user":"daniel","version":"9.1.1.5"}
{"reqId":"RLhWnS1sLq+sKs02CtLV","remoteAddr":"192.168.4.201","app":"PHP","message":"Method OC_L10N_String::__toString() must return a string value at \/var\/www\/nextcloud\/lib\/private\/L10N\/L10N.php#85","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/index.php\/settings\/apps","user":"daniel","version":"9.1.1.5"}
{"reqId":"RLhWnS1sLq+sKs02CtLV","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/lib\/private\/Route\/Router.php on line 369 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/index.php\/settings\/apps","user":"daniel","version":"9.1.1.5"}
{"reqId":"RLhWnS1sLq+sKs02CtLV","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/index.php\/settings\/apps","user":"daniel","version":"9.1.1.5"}
{"reqId":"RLhWnS1sLq+sKs02CtLV","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/ocs\/routes.php on line 104 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/index.php\/settings\/apps","user":"daniel","version":"9.1.1.5"}
{"reqId":"RLhWnS1sLq+sKs02CtLV","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/index.php\/settings\/apps","user":"daniel","version":"9.1.1.5"}
{"reqId":"ifUpaQMwwFfdWOTaCofU","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/lib\/private\/Route\/Router.php on line 369 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"ifUpaQMwwFfdWOTaCofU","remoteAddr":"192.168.4.201","app":"PHP","message":"Undefined variable: appName at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#68","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
{"reqId":"ifUpaQMwwFfdWOTaCofU","remoteAddr":"192.168.4.201","app":"PHP","message":"Missing argument 1 for OCP\\AppFramework\\App::__construct(), called in \/var\/www\/nextcloud\/ocs\/routes.php on line 104 and defined at \/var\/www\/nextcloud\/lib\/public\/AppFramework\/App.php#67","level":3,"time":"2016-10-26T02:31:59+02:00","method":"GET","url":"\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"daniel","version":"9.1.1.5"}
@enoch85 enoch85 changed the title WebDAV doesn't work on migration from ownCloud WebDAV doesn't work when migrating from ownCloud Oct 26, 2016
@AndyScherzinger
Copy link
Member

Hi @enoch85,

  • which Android version and app version are you running?
  • can you send/pm me and @tobiasKaminsky (demo) credentials via the forum? (Then I can debug this matter from the Android client side 😃)

@nickvergessen
Copy link
Member

Well when the web also shows no files, the problem is with dav not with any app.

@nickvergessen
Copy link
Member

@enoch85 can you check if your nginx config matches the documentated one:
https://docs.nextcloud.com/server/10/admin_manual/installation/nginx_nextcloud_9x.html

@LukasReschke
Copy link
Member

Fix your code signing errors also. Then we can talk again 😉

@enoch85
Copy link
Member Author

enoch85 commented Oct 26, 2016

@nickvergessen I use Nginx as a Reverse Proxy, so the config wouldn't be the same.

@LukasReschke Yeah, kind of messed up. I'll do a second try and start over. Shouldn't be this hard though. Are you developing a migrating app?

@enoch85
Copy link
Member Author

enoch85 commented Oct 26, 2016

@LukasReschke Ok, I fixed the Integrity Check by not copying over the apps folder and now webdav works, but when using the ownCloud client (Android) and taking a photo the Nextcloud Desktop client gives me this:

{"reqId":"08izpoXc5CRODOa7g7Lb","remoteAddr":"94.234.170.27","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 404 File with name DirektUppladdning\\\/IMG_20161026_123609.jpg could not be located\",\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\NotFound\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(79): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->getNodeForPath('DirektUppladdni...', 0)\\n#1 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpGet(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:GET', Array)\\n#4 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(251): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response), false)\\n#5 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpHead(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#7 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:HEAD', Array)\\n#8 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#9 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(60): Sabre\\\\DAV\\\\Server->exec()\\n#10 \\\/var\\\/www\\\/nextcloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/nextcl...')\\n#11 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php\",\"Line\":173,\"User\":\"DELL-XPS13\"}","level":0,"time":"2016-10-26T12:36:24+02:00","method":"HEAD","url":"\/remote.php\/webdav\/DirektUppladdning\/IMG_20161026_123609.jpg","user":"DELL-XPS13"}

@enoch85
Copy link
Member Author

enoch85 commented Oct 26, 2016

Same goes for using the ownCloud Andorid Client with the ownCloud Desktop client. Will keep investigating.

@enoch85
Copy link
Member Author

enoch85 commented Oct 26, 2016

Ok, turns out I had a folder with the same name, and the Android Client didn't get that it was the same name and created a new folder with the same name. Removing the folder with the same name solved the issue. @AndyScherzinger

I'll close this issue as the original problem is solved.

@enoch85 enoch85 closed this as completed Oct 26, 2016
@enoch85
Copy link
Member Author

enoch85 commented Oct 26, 2016

Still some errors with the Android Client (can't upload files with Instant Upload) @tobiasKaminsky @AndyScherzinger Please test with the demo account. Thanks!

@AndyScherzinger
Copy link
Member

@enoch85 will try again later, since it times out at the moment...

10-26 13:10:51.583 19899-19960/com.nextcloud.client E/ExistenceCheckRemoteOperation: Existence check for https://********.se/remote.php/webdav/IMG_20161008_122334.jpg targeting for  existence : Socket timeout exception
 java.net.SocketTimeoutException: Read timed out
     at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
     at com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:758)
     at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
     at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
     at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
     at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
     at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
     at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
     at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
     at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
     at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
     at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
     at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
     at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
     at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
     at com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:222)
     at com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:192)
     at com.owncloud.android.lib.resources.files.ExistenceCheckRemoteOperation.run(ExistenceCheckRemoteOperation.java:91)
     at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
     at com.owncloud.android.operations.UploadFileOperation.existsFile(UploadFileOperation.java:613)
     at com.owncloud.android.operations.UploadFileOperation.getAvailableRemotePath(UploadFileOperation.java:579)
     at com.owncloud.android.operations.UploadFileOperation.run(UploadFileOperation.java:332)
     at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
     at com.owncloud.android.operations.common.SyncOperation.execute(SyncOperation.java:92)
     at com.owncloud.android.files.services.FileUploader.uploadFile(FileUploader.java:921)
     at com.owncloud.android.files.services.FileUploader$ServiceHandler.handleMessage(FileUploader.java:866)
     at android.os.Handler.dispatchMessage(Handler.java:102)
     at android.os.Looper.loop(Looper.java:154)
     at android.os.HandlerThread.run(HandlerThread.java:61)

@enoch85
Copy link
Member Author

enoch85 commented Oct 26, 2016

@AndyScherzinger Yeah syncing 200 GB atm heh. Give it 2 hours

@AndyScherzinger
Copy link
Member

😝 oh dear... 🎢

@enoch85
Copy link
Member Author

enoch85 commented Oct 26, 2016

Just switched to Nextcloud now so all the clients are syncing 2 TB. I'll ping you when it's done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants