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

Files deleted after renaming folder #25814

Closed
alexandrettio opened this issue Aug 16, 2016 · 16 comments
Closed

Files deleted after renaming folder #25814

alexandrettio opened this issue Aug 16, 2016 · 16 comments

Comments

@alexandrettio
Copy link

Steps to reproduce

  1. Create folder
  2. Put some files into folder
  3. Share folder with users
  4. Rename folder
  5. Not sure, but, maybe you have to run windows desktop client for users you shared folder with

Floating bug.

Expected behaviour

Folder just renamed for all users you shared with

Actual behaviour

Folder with new name deleted all files from itself. Folder with old name downloaded one more time but without some filed. (in client and at server)

Server configuration

Operating system:

Web server:
Cent OS 7

Database:
mysql

PHP version:
PHP 5.5.36

ownCloud version: (see ownCloud admin page)
9.0.2

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:
downloaded from owncloud site.

Signing status (ownCloud 9.0 and above):
No errors have been found.

List of activated apps:

  - activity: 2.2.1
  - comments: 0.2
  - dav: 0.1.6
  - federatedfilesharing: 0.1.0
  - federation: 0.0.4
  - files: 1.4.4
  - files_external: 0.5.2
  - files_pdfviewer: 0.8.1
  - files_sharing: 0.9.1
  - files_texteditor: 2.1
  - files_trashbin: 0.8.0
  - files_versions: 1.2.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - gallery: 14.5.0
  - notifications: 0.2.3
  - provisioning_api: 0.4.1
  - systemtags: 0.2
  - templateeditor: 0.1
  - updatenotification: 0.1.0
  - user_ldap: 0.8.0
Disabled:
  - encryption
  - external
  - user_external

The content of config/config.php:

{
    "system": {
        "instanceid": "oc67xkgtqrav",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "iidf-cloud.iidf.ru",
            "cloud.iidf.ru",
            "192.168.70.21"
        ],
        "datadirectory": "\/opt\/cloud\/data\/",
        "overwrite.cli.url": "http:\/\/iidf-cloud.iidf.ru\/owncloud",
        "dbtype": "mysql",
        "version": "9.0.2.2",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_from_address": "itservice",
        "mail_domain": "iidf.ru",
        "mail_smtphost": "mx.iidf.ru",
        "mail_smtpport": "465",
        "mail_smtpauthtype": "LOGIN",
        "loglevel": 0,
        "mail_smtpsecure": "ssl",
        "forcessl": false,
        "forceSSLforSubdomains": true,
        "ldapIgnoreNamingRules": false,
        "theme": "",
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\APC",
        "filelocking.enabled": "true",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "localhost",
            "port": 6379,
            "timeout": 0,
            "password": ""
        },
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "dbname": "owncloud",
        "dbhost": "127.0.0.1",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "Europe\/Moscow",
        "log_rotate_size": 104857600
    }
}

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

Are you using encryption: yes/no
no

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

LDAP configuration (delete this part if not used)

+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Configuration                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| hasMemberOfFilterSupport      | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| hasPagedResultSupport         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| homeFolderNamingRule          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| lastJpegPhotoLookup           | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapAgentName                 | replica@frii.local                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ldapAgentPassword             | ***                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ldapAttributesForGroupSearch  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapAttributesForUserSearch   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapBackupHost                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapBackupPort                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapBase                      | ou=Users,ou=Office,dc=FRII,dc=local                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ldapBaseGroups                | ou=Users,ou=Office,dc=FRII,dc=local                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ldapBaseUsers                 | ou=Users,ou=Office,dc=FRII,dc=local                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ldapCacheTTL                  | 600                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ldapConfigurationActive       | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapDynamicGroupMemberURL     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapEmailAttribute            | mail                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ldapExperiencedAdmin          | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapExpertUUIDGroupAttr       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapExpertUUIDUserAttr        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapExpertUsernameAttr        | sAMAccoutname                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ldapGroupDisplayName          | cn                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ldapGroupFilter               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapGroupFilterGroups         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapGroupFilterMode           | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapGroupFilterObjectclass    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapGroupMemberAssocAttr      | member                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ldapHost                      | ldap://frii-ad.frii.local                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ldapIgnoreNamingRules         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapLoginFilter               | (&(|(objectclass=person)(objectclass=user))(samaccountname=%uid))                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapLoginFilterAttributes     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapLoginFilterEmail          | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapLoginFilterMode           | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapLoginFilterUsername       | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapNestedGroups              | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapOverrideMainServer        | 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapPagingSize                | 500                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ldapPort                      | 389                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ldapQuotaAttribute            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapQuotaDefault              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapTLS                       | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapUserDisplayName           | displayname                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ldapUserDisplayName2          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapUserFilter                | (&(|(objectclass=person)(objectclass=user))(!(sAMAccountName=fkarasev))(!(sAMAccountName=aleonidov))(!(sAMAccountName=aprusakova))(!(sAMAccountName=echerkashin))(!(sAMAccountName=echernyavskaya))(!(sAMAccountName=GuestUser))(!(sAMAccountName=info))(!(sAMAccountName=kscherbatykh))(!(sAMAccountName=post))(!(sAMAccountName=pravlenie))(!(sAMAccountName=support))(!(sAMAccountName=testuser))(!(sAMAccountName=vnedelskiy))(!(sAMAccountName=vstudenetskaya))(!(sAMAccountName=ekolesnikov))(!(sAMAccountName=omaksutova))(!(sAMAccountName=apopov))(!(sAMAccountName=isleptsova))) |
| ldapUserFilterGroups          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ldapUserFilterMode            | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ldapUserFilterObjectclass     | user                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ldapUuidGroupAttribute        | auto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ldapUuidUserAttribute         | auto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| turnOffCertCheck              | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| useMemberOfToDetectMembership | 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Client configuration

Browser:

Operating system:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

cat owncloud.log  | grep '17.%20%D0%A1%D0%9F%D0%98%2017.08.2016%20%D0'

{"reqId":"V7F6-q6AgEg@oQGqHW6yNwAAAAU","remoteAddr":"172.18.10.8","app":"webdav","message":"Exception: {\"Message\":\"HTTP\\\/1.1 423 \\\"\\u041f\\u0440\\u0430\\u0432\\u043b\\u0435\\u043d\\u0438\\u0435\\\/\\u0421\\u041f\\u0418 2016 \\u0433\\u043e\\u0434\\\/17. \\u0421\\u041f\\u0418 17.08.2016 \\u0417\\u0410\\u041e\\u0427\\u041d\\u042b\\u0419 2 \\u0442\\u0440\\u0430\\u043d\\u0448 9\\u0410\\\" is locked\",\"Exception\":\"OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Exception\\\\FileLocked\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(640): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->move('\\\\xD0\\\\x9F\\\\xD1\\\\x80\\\\xD0\\\\xB0\\\\xD0\\\\xB2\\\\xD0\\\\xBB\\\\xD0\\\\xB5\\\\xD0\\\\xBD\\\\xD0...', '\\\\xD0\\\\x9F\\\\xD1\\\\x80\\\\xD0\\\\xB0\\\\xD0\\\\xB2\\\\xD0\\\\xBB\\\\xD0\\\\xB5\\\\xD0\\\\xBD\\\\xD0...')\\n#1 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpMove(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#2 \\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#3 \\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(459): Sabre\\\\Event\\\\EventEmitter->emit('method:MOVE', Array)\\n#4 \\\/var\\\/www\\\/html\\\/owncloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(248): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(55): Sabre\\\\DAV\\\\Server->exec()\\n#6 \\\/var\\\/www\\\/html\\\/owncloud\\\/remote.php(138): require_once('\\\/var\\\/www\\\/html\\\/o...')\\n#7 {main}\",\"File\":\"\\\/var\\\/www\\\/html\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/connector\\\/sabre\\\/objecttree.php\",\"Line\":250,\"User\":\"iguricheva_2742\"}","level":4,"time":"2016-08-15T11:19:10+03:00","method":"MOVE","url":"\/remote.php\/webdav\/%D0%9F%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5\/%D0%A1%D0%9F%D0%98%202016%20%D0%B3%D0%BE%D0%B4\/17.%20%D0%A1%D0%9F%D0%98%2017.08.2016%20%D0%97%D0%90%D0%9E%D0%A7%D0%9D%D0%AB%D0%99%202%20%D1%82%D1%80%D0%B0%D0%BD%D1%88%209%D0%90","user":"iguricheva_2742"}

Browser log

Not attached

There is only one item in owncloud log, but there are 528 rows in set about this folders (old and renamed)

DB

MariaDB [owncloud]> select timestamp, type,  user, affecteduser, app, file, link, object_id FROM oc_activity WHERE timestamp > 1471249143 AND timestamp < 1471252549 AND link like "%17.08.2016%";
+------------+---------------+-------------------+--------------------+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
| timestamp  | type          | user              | affecteduser       | app   | file                                                                                                                                                                                                                                                                          | link                                                                                                                                                                                                                                                                                                              | object_id |
+------------+---------------+-------------------+--------------------+-------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+
| 1471249144 | file_changed  | gbelyaevskiy_8142 | iguricheva_2742    | files | /Правление/СПИ 2016 год/17. СПИ 17.08.2016 ЗАОЧНЫЙ 2 транш 9А/Заключение о выполнении КПЭ от 20 июля 2016.docx                                                                                                                                                                | http://cloud.iidf.ru/index.php/apps/files/?dir=/%D0%9F%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5/%D0%A1%D0%9F%D0%98+2016+%D0%B3%D0%BE%D0%B4/17.+%D0%A1%D0%9F%D0%98+17.08.2016+%D0%97%D0%90%D0%9E%D0%A7%D0%9D%D0%AB%D0%99+2+%D1%82%D1%80%D0%B0%D0%BD%D1%88+9%D0%90                                           |    967477 |
| 1471249144 | file_changed  | gbelyaevskiy_8142 | mshteygervald_3913 | files | /Правление/СПИ 2016 год/17. СПИ 17.08.2016 ЗАОЧНЫЙ 2 транш 9А/Заключение о выполнении КПЭ от 20 июля 2016.docx                                                                                                                                                                | http://cloud.iidf.ru/index.php/apps/files/?dir=/%D0%9F%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5/%D0%A1%D0%9F%D0%98+2016+%D0%B3%D0%BE%D0%B4/17.+%D0%A1%D0%9F%D0%98+17.08.2016+%D0%97%D0%90%D0%9E%D0%A7%D0%9D%D0%AB%D0%99+2+%D1%82%D1%80%D0%B0%D0%BD%D1%88+9%D0%90                                           |    967477 |
| 1471249144 | file_changed  | gbelyaevskiy_8142 | iandreeva          | files | /Правление/СПИ 2016 год/17. СПИ 17.08.2016 ЗАОЧНЫЙ 2 транш 9А/Заключение о выполнении КПЭ от 20 июля 2016.docx    


...

| 1471249206 | file_created  | gbelyaevskiy_8142 | gbelyaevskiy_8142  | files | /СПИ 2016 год/17. СПИ 17.08.2016 ЗАОЧНЫЙ 2 транш 9А/ЮРЗАКЛЮЧЕНИЕ_9А_2транш_2 поток_Rev.docx                                                                                                                                                                                   | http://cloud.iidf.ru/index.php/apps/files/?dir=/%D0%A1%D0%9F%D0%98+2016+%D0%B3%D0%BE%D0%B4/17.+%D0%A1%D0%9F%D0%98+17.08.2016+%D0%97%D0%90%D0%9E%D0%A7%D0%9D%D0%AB%D0%99+2+%D1%82%D1%80%D0%B0%D0%BD%D1%88+9%D0%90                                                                                                  |    981797 |
| 1471249206 | file_created  | gbelyaevskiy_8142 | admin              | files | /Dropbox (IIDF)/Правление/СПИ 2016 год/17. СПИ 17.08.2016 ЗАОЧНЫЙ 2 транш 9А/ЮРЗАКЛЮЧЕНИЕ_9А_2транш_2 поток_Rev.docx                                                                                                                                                          | http://cloud.iidf.ru/index.php/apps/files/?dir=/Dropbox+%28IIDF%29/%D0%9F%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5/%D0%A1%D0%9F%D0%98+2016+%D0%B3%D0%BE%D0%B4/17.+%D0%A1%D0%9F%D0%98+17.08.2016+%D0%97%D0%90%D0%9E%D0%A7%D0%9D%D0%AB%D0%99+2+%D1%82%D1%80%D0%B0%D0%BD%D1%88+9%D0%90                        |    981797 |
| 1471249268 | file_deleted  | ikirilina         | iguricheva_2742    | files | /Правление/СПИ 2016 год/17. СПИ 17.08.2016 ЗАОЧНЫЙ (2 транш 9А)/В BoardMaps/Заключение о выполнении ключевых показателей эффективности.pdf                                                                                                                                    | http://cloud.iidf.ru/index.php/apps/files/?dir=/%D0%9F%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5/%D0%A1%D0%9F%D0%98+2016+%D0%B3%D0%BE%D0%B4/17.+%D0%A1%D0%9F%D0%98+17.08.2016+%D0%97%D0%90%D0%9E%D0%A7%D0%9D%D0%AB%D0%99+%282+%D1%82%D1%80%D0%B0%D0%BD%D1%88+9%D0%90%29/%D0%92+BoardMaps                    |    973696 |
| 1471249268 | file_deleted  | ikirilina         | mshteygervald_3913 | files | /Правление/СПИ 2016 год/17. СПИ 17.08.2016 ЗАОЧНЫЙ (2 транш 9А)/В BoardMaps/Заключение о выполнении ключевых показателей эффективности.pdf                                                                                                                                    | http://cloud.iidf.ru/index.php/apps/files/?dir=/%D0%9F%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5/%D0%A1%D0%9F%D0%98+2016+%D0%B3%D0%BE%D0%B4/17.+%D0%A1%D0%9F%D0%98+17.08.2016+%D0%97%D0%90%D0%9E%D0%A7%D0%9D%D0%AB%D0%99+%282+%D1%82%D1%80%D0%B0%D0%BD%D1%88+9%D0%90%29/%D0%92+BoardMaps                    |    973696 |
| 1471249268 | file_deleted  | ikirilina         | iandreeva          | files | /Правление/СПИ 2016 год/17. СПИ 17.08.2016 ЗАОЧНЫЙ (2 транш 9А)/В BoardMaps/Заключение о выполнении ключевых показателей эффективности.pdf    

@ghost
Copy link

ghost commented Aug 16, 2016

ownCloud version: (see ownCloud admin page) 9.0.2

Please always use a recent oC version (currently 9.0.4 for the 9.0.x branch) before reporting any issues with such outdated versions like 9.0.2

@alexandrettio
Copy link
Author

Please always use a recent oC version (currently 9.0.4 for the 9.0.x branch) before reporting any issues with such outdated versions like 9.0.2

Yes, but I have no time to reproduce this bug after updating. Bugs like "My files were DELETED by owncloud" are shown in Google search results since 2013. Think upgrade from 9.0.2 to 9.0.4 is not as important as deleting files...

@ghost
Copy link

ghost commented Aug 16, 2016

Think upgrade from 9.0.2 to 9.0.4 is not as important as deleting files...

Well, what if this is already fixed in 9.0.4?

@alexandrettio
Copy link
Author

alexandrettio commented Aug 16, 2016

Well, what if this is already fixed in 9.0.4?

There is no information about fixing it in changelog

Maybe developers can look through issue and say if it is fixed? If bug is fixed -- they know about it, and if not -- can use this information to improve OC.

@PVince81
Copy link
Contributor

@alexandrettio did you rename the folder in the web UI or locally and let the sync client do the rename ? The access / sync logs from that time would be useful to find out.

I think I observed something similar lately on v9.1.0 where the sync client decided to delete and reupload a folder after renaming it locally. Not sure why, maybe I renamed it several times too fast and the client wasn't able to detect that it was the same folder.

@PVince81
Copy link
Contributor

@guruz @ogasser are there known cases where renaming a folder too fast would prevent the desktop client to detect that it was a rename and make it a delete + reupload ?

@ogasser
Copy link
Contributor

ogasser commented Aug 17, 2016

How did I get mentioned in this thread?

@PVince81
Copy link
Contributor

@ogasser failed unchecked autocomplete, sorry for inconvenience.

I meant @ogoffart

@alexandrettio
Copy link
Author

@PVince81 Hi, is there any information about this ticket?

@alexandrettio
Copy link
Author

Also we have same troubles than we move some folder in desktop client:
Moved folder is empty in new place. And in the old place there is the same folder with part of old files(but not all)

@PVince81
Copy link
Contributor

Moved folder is empty in new place. And in the old place there is the same folder with part of old files(but not all)

This sounds like the folder was huge and a PHP timeout occurred while to moving of the main folder happened.

@PVince81
Copy link
Contributor

Need to look into implementing async file operations (and/or transaction table) to be able to revert operations in case of PHP timeouts: #24509

@ogoffart
Copy link

There is indeed a client bug about this: owncloud/client#5192 i believe this might be a client issue.

@PVince81
Copy link
Contributor

Could also be #25569.

Closing in favor of #25569 and owncloud/client#5192

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label needs info is set and there were no updates for 14 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.

@lock
Copy link

lock bot commented Jul 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants