Skip to content

deleted file reapears on web-ui, blocks synchronisation of nc-client #4786

@victorbw

Description

@victorbw

Steps to reproduce

unknown how this really happened

Expected behaviour

file should disappear from web-ui
nextcloud-client should sync through

Actual behaviour

more or less out of nothing sync-client stopped syncing with the following error message:

File has been deleted from server

unfortunately the file still exists on web-ui and via webdav (native windows client).

behaviour when trying to delete the phantom-file

web-ui:
the attempt to delete the file via web-ui has no effects, the file will reapear on the web-ui as soon as the site is refreshed/reloaded

web-DAV:
the attempt to delete the file via native windows webdav-client throws up error "Element could not be found"

Server configuration

Operating system: Ubuntu 16.04.2x64 LTS

Web server: Apache 2.4.18

Database: MySQL Ver 14.14 Distrib 5.7.18

PHP version: PHP 7.0.18-1

Nextcloud version: 11.0.3.2

Updated from an older Nextcloud/ownCloud or fresh install: Updated from 10.0.4

Where did you install Nextcloud from: https://download.nextcloud.com/server/releases/nextcloud-11.0.3.tar.bz2

Signing status:

Signing status
no errors found

List of activated apps:

App list
  - activity: 2.4.1
  - comments: 1.1.0
  - dav: 1.1.1
  - federatedfilesharing: 1.1.1
  - federation: 1.1.1
  - files: 1.6.1
  - files_pdfviewer: 1.0.1
  - files_retention: 1.0.1
  - files_sharing: 1.1.1
  - files_texteditor: 2.2
  - files_trashbin: 1.1.0
  - files_versions: 1.4.0
  - files_videoplayer: 1.0.0
  - firstrunwizard: 2.0
  - gallery: 16.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.0.0
  - nextcloud_announcements: 1.0
  - notifications: 1.0.1
  - password_policy: 1.1.0
  - provisioning_api: 1.1.0
  - serverinfo: 1.1.1
  - sharebymail: 1.0.1
  - systemtags: 1.1.3
  - theming: 1.1.1
  - twofactor_backupcodes: 1.0.0
  - updatenotification: 1.1.1
  - workflowengine: 1.1.1
Disabled:
  - admin_audit
  - encryption
  - external
  - files_accesscontrol
  - files_automatedtagging
  - files_external
  - richdocuments
  - survey_client
  - templateeditor
  - user_external
  - user_ldap
  - user_saml

Nextcloud configuration:

Config report
        "instanceid": "oc99egqcykfg",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "\/var\/www\/html\/nextcloud\/data",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "11.0.3.2",
        "dbname": "ocdb1",
        "dbhost": "localhost",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "Europe\/Zurich",
        "installed": true,
        "trashbin_retention_obligation": 30,
        "trashbin_auto_expire": true,
        "logdateformat": "F d, Y H:i:s",
        "log_rotate_size": 104857600,
        "versions_retention_obligation": "30,auto",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "filelocking.enabled": "true",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "localhost",
            "port": 6379,
            "timeout": 0,
            "dbindex": 0
        },
        "maintenance": false,
        "singleuser": false,
        "data-fingerprint": "a6e699c1f91e92096501827e196e4fa9",
        "theme": "",
        "loglevel": 0
		```
</details>

**Are you using external storage, if yes which one:** none

**Are you using encryption:** no (but did pre NC 10)

**Are you using an external user-backend, if yes which one:** no



### Client configuration
**Browser:** Opera 43.02, Firefox 54.0, IE 11

**Operating system:** Windows 7x64

### Logs
#### Web server error log
<details>
<summary>Web server error log</summary>

[Tue May 09 16:02:06.022027 2017] [authz_core:error] [pid 4025] [client 213.3.25.41:44969] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:02:07.522340 2017] [authz_core:error] [pid 4046] [client 213.3.25.41:14209] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:02:29.209860 2017] [authz_core:error] [pid 4024] [client 213.3.25.41:62923] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:02:31.788150 2017] [authz_core:error] [pid 4079] [client 213.3.25.41:48662] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:06:16.147948 2017] [authz_core:error] [pid 4453] [client 213.3.25.41:63845] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:06:18.075450 2017] [authz_core:error] [pid 4569] [client 213.3.25.41:33281] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:14:29.405974 2017] [authz_core:error] [pid 4076] [client 213.3.25.41:9434] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:14:33.334349 2017] [authz_core:error] [pid 3595] [client 213.3.25.41:36521] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:14:49.984802 2017] [authz_core:error] [pid 4077] [client 213.3.25.41:24732] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:14:53.051819 2017] [authz_core:error] [pid 4569] [client 213.3.25.41:65301] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Tue May 09 16:14:57.038719 2017] [authz_core:error] [pid 4753] [client 213.3.25.41:60568] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata
[Wed May 10 06:25:04.259958 2017] [mpm_prefork:notice] [pid 64479] AH00171: Graceful restart requested, doing restart

</details>

#### Nextcloud log (data/nextcloud.log)
<details>
<summary>Nextcloud log</summary>

"app":"webdav","message":"Exception: {"Message":"HTTP\/1.1 404 File with name \/98-slides\/3- Partners Presentations\/1-PSI\/PDF\/POLDI_ 2009_03_10_Alu_Forum_vGC.pdf could not be located","Exception":"Sabre\\DAV\\Exception\\NotFound","Code":0,"Trace":"#0 \/var\/www\/html\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Tree.php(76): OCA\\DAV\\Connector\\Sabre\\Directory->getChild('POLDI_ 2009_03_...')\n#1 \/var\/www\/html\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(81): Sabre\\DAV\\Tree->getNodeForPath('files\/bachevska...')\n#2 [internal function]: Sabre\\DAV\\CorePlugin->httpGet(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#3 \/var\/www\/html\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#4 \/var\/www\/html\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(479): Sabre\\Event\\EventEmitter->emit('method:GET', Array)\n#5 \/var\/www\/html\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#6 \/var\/www\/html\/nextcloud\/apps\/dav\/lib\/Server.php(231): Sabre\\DAV\\Server->exec()\n#7 \/var\/www\/html\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php(30): OCA\\DAV\\Server->exec()\n#8 \/var\/www\/html\/nextcloud\/remote.php(165): require_once('\/var\/www\/html\/n...')\n#9 {main}","File":"\/var\/www\/html\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","Line":206,"User":"SENSITIVE@SENSITIVE"}","level":0,"time":"May 10, 2017 11:06:49","method":"GET","url":"/remote.php/dav/files/SENSITIVE@SENSITIVE/98-slides/3-%20Partners%20Presentations/1-PSI/PDF/POLDI_%202009_03_10_Alu_Forum_vGC.pdf","user":"SENSITIVE@SENSITIVE","version":"11.0.3.2"}

</details>

#### Browser log
<details>
<summary>Browser log</summary>

Insert your browser log here, this could for example include:

a) Console Log (OPERA):
DELETE https://SENSITIVE/remote.php/webdav/98-slides/3-%20Partners%20Presentations/1-PSI/PDF/POLDI_%202009_03_10_Alu_Forum_vGC.pdf 404 (Not Found)
b) The network log (OPERA):
<d:error

xmlns:d
="
DAV:
"

xmlns:s
="
http://sabredav.org/ns
"

<s:exception

Sabre\DAV\Exception\NotFound
</s:exception

<s:message

File with name 98-slides/3- Partners Presentations/1-PSI/PDF/POLDI_ 2009_03_10_Alu_Forum_vGC.pdf could not be located
</s:message

</d:error>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions