Closed alviegas closed 7 years ago
I can spot nothing wrong in the logs.
What kind of folder gets deleted? Are the folder deleted in the server? What does the client show in the activity tab?
Hello Goffart, thanks for the feedback.
The big problem is that the folders are removed from the client side. On the side of the server is intact. When is the removal of the files, the client begins to resynchronize. Yesterday happened again. The following part of the log:
|0|Shared/1 - Direito|INST_REMOVE|Down|1476104943||4096||4||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal|INST_REMOVE|Down|1476104931||4096||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU|INST_REMOVE|Down|1476104922||4096||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU|INST_REMOVE|Down|1476104923||4096||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU/ATA Nº 14, DE 05 DE MAIO DE 2010.PDF|INST_REMOVE|Down|1445436393||9148697||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU/ATA Nº 29 DE 20 DE JULHO DE 2011.pdf|INST_REMOVE|Down|1445436097||3474447||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU/Informativo de Jurisprudência sobre Licitações e Contratos nº 01.pdf|INST_REMOVE|Down|1445436428||4454248||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU/Informativo de Jurisprudência sobre Licitações e Contratos nº 15.pdf|INST_REMOVE|Down|1445436253||122312||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU/Lei-de-Licitações-Entendimento-TCU.pdf|INST_REMOVE|Down|1458231065||6623263||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/10 - Ministérios|INST_REMOVE|Down|1476104922||4096||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/10 - Ministérios/1 - Planejamento|INST_REMOVE|Down|1476104923||4096||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/10 - Ministérios/1 - Planejamento/1-o-ciclo-da-compra-sustentavel.pdf|INST_REMOVE|Down|1462386406||1019510||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/10 - Ministérios/1 - Planejamento/Carta de Serviços ao Cidadão - guia metodológico.pdf|INST_REMOVE|Down|1458232492||3866807||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/10 - Ministérios/2 - MCT|INST_REMOVE|Down|1476104922||4096||0||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/10 - Ministérios/2 - MCT/Processo de contratação de serviços|INST_REMOVE|Down|1476104922||4096||0||0|0|0|||INST_NONE|
... ... ...
|0|Shared/Plano de ação para a melhoria da Governança de TIC no Governo de PE - Detalhamento - 22.12.2015.xls|INST_REMOVE|Down|1451391763||143872||4||0|0|0|||INST_NONE| |0|Shared/Projeto_Inteiro_Excel.xls|INST_REMOVE|Down|1457551147||1592320||4||0|0|0|||INST_NONE|
|0|Shared|INST_SYNC|Down|1476106366|7fd1f95b0a93eb4a6e5c84bd6dcc5011|0|00079052ocwm3az89ho2|4||0|4096|1476107153|||INST_NONE| |0|Shared/1 - Direito|INST_NEW|Down|1475861482|57f7dbeab6fed|0|00121201ocwm3az89ho2|4||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal|INST_NEW|Down|1475861482|57f7dbeab6989|0|00121208ocwm3az89ho2|4||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU|INST_NEW|Down|1467922440|577eb80832a11|0|00121214ocwm3az89ho2|4||0|0|0|||INST_NONE| |0|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU|INST_NEW|Down|1467922440|577eb80831fdb|0|00121219ocwm3az89ho2|4||0|0|0|||INST_NONE| 13:50:44|3390|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU/ATA Nº 14, DE 05 DE MAIO DE 2010.PDF|INST_NEW|Down|1445436393|97ea55e1b37db9db30c5f38165ee367b|9148697|00121259ocwm3az89ho2|4||0|0|0|||INST_NONE| 13:50:44|1185|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU/ATA Nº 29 DE 20 DE JULHO DE 2011.pdf|INST_NEW|Down|1445436097|be178b2218454bea9daf088a9c3a6695|3474447|00121232ocwm3az89ho2|4||0|0|0|||INST_NONE| 13:50:45|3369|Shared/1 - Direito/1 - Governo Federal/1 - TCU/1 - Acórdãos do TCU/Informativo de Jurisprudência sobre Licitações e Contratos nº 01:
INST_REMOVE|Down
Seems to indicate that the file was first removed on the server. Maybe the server does not report the file as being there in some cases. Is there anything particular about the storage on the server? I see in the description it is a NFS mount. Maybe the server was not available for some reason?
The files remain intact on the server side. They are simply removed in the local folder on the client side.
We use a part server which is shared by NFS within a virtualized environment by VMware. We did not record problem accessing the network.
The problem only happens with "Files / Folders" shared. My personal synchronized files are intact. I take to remember that this same problem occurs when using the Client for Windows.
Thanks!
@alviegas What @ogoffart is saying is that the logs indicate that the client thought the server said "this file does not exist anymore, please delete it". It's unlikely to be caused by a bug, most probably the server actually "forgot" about the files briefly.
Thanks for the Tip "Ogoffart" and "Ckamm". I will focus on the NFS server to see if you have any instability. Once you have a result, I update here!
In config.php change the "filesystem_check_changes" 1 parameter to 0. We are monitoring. Does it help?
This might be a bug in the server and the way it handle NFS mount.
I don't think this is a bug in the client. You can try to ask for help on owncloud central.
Expected behaviour
After synchronization of files the client should not delete them without user operation files.
Actual behaviour
We have 08 folders containing a total of 4 GB of used space. We share this folder for about 04 users. Synchronize with the client OwnClound Desktop 2.2.4. You synchronize all folders, but at a certain time the client deletes all folders and performs the synchronization again.
Steps to reproduce
Server configuration
Operating system: Ubuntu 16.04.1 LTS
Web server: apache2 2.4.18-2ubuntu3.1
Database: mysqld Ver 5.5.49-0ubuntu0.14.04.1 for debian-linux-gnu on x86_64 ((Ubuntu))
PHP version: PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS )
ownCloud version: ownCloud 9.1.1 (stable)
Storage backend (external storage): nfs-common 1:1.2.8-9ubuntu12. cat /etc/fstab [X.Y.Z.W:/dados /nfsDataOwncloud nfs proto=tcp,nfsvers=3,noexec 0 0]
Client configuration
Client version: 2.2.4
Operating system: Ubuntu 16.04.1 LTS
OS language: Portuguese
Installation path of client: Default
Logs
Please use Gist (https://gist.github.com/) or a similar code paster for longer logs.
Template for output < 10 lines
owncloud --logwindow
orowncloud --logfile log.txt
(On Windows usingcmd.exe
, you might need to firstcd
into the ownCloud directory) (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )10-10 15:14:50:592 2413 OCC::SyncJournalDb::checkConnect: sqlite3 version "3.11.0" 10-10 15:14:50:592 2413 OCC::SyncJournalDb::checkConnect: sqlite3 journal_mode= "wal" 10-10 15:14:50:593 2413 OCC::SyncJournalDb::commitInternal: void OCC::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "checkConnect" and starting new transaction 10-10 15:14:50:593 2413 OCC::SyncJournalDb::tableColumns: Columns in the current journal: ("phash", "pathlen", "path", "inode", "uid", "gid", "mode", "modtime", "type", "md5", "fileid", "remotePerm", "filesize", "ignoredChildrenRemote", "contentChecksum", "contentChecksumTypeId") 10-10 15:14:50:594 2413 OCC::SyncJournalDb::commitInternal: void OCC::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "update database structure: add inode index" and starting new transaction 10-10 15:14:50:594 2413 OCC::SyncJournalDb::commitInternal: void OCC::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "update database structure: add path index" and starting new transaction 10-10 15:14:50:595 2413 OCC::SyncJournalDb::tableColumns: Columns in the current journal: ("path", "lastTryEtag", "lastTryModtime", "retrycount", "errorstring", "lastTryTime", "ignoreDuration", "renameTarget") 10-10 15:14:50:596 2413 OCC::SyncJournalDb::commitInternal: void OCC::SyncJournalDb::commitInternal(const QString&, bool) Transaction commit "checkConnect End" 10-10 15:14:50:597 2413 OCC::ownCloudGui::slotSyncStateChange: Sync state changed for folder "https://server.owncloud/remote.php/webdav/" : "Success" 10-10 15:14:50:798 2413 OCC::FolderMan::slotFolderSyncFinished: <===================================== sync finished for "https://server.owncloud
192.168.112.18 - alberto [10/Oct/2016:10:09:54 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/N112.PDF HTTP/1.1" 200 1970564 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:56 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/TOGAF-V91-F13-Certification.pdf HTTP/1.1" 200 525331 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:56 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/TOGAF-V91-M0-Course-Intro.pdf HTTP/1.1" 200 630633 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:54 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/TOGAF-V91-B1-Intro-to-TOGAF9.pdf HTTP/1.1" 200 8847277 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:57 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/TOGAF-V91-M3-Intro-ADM.pdf HTTP/1.1" 200 1301914 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:56 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/TOGAF-V91-M1-Management-Overview.pdf HTTP/1.1" 200 6838681 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:59 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/U098.PDF HTTP/1.1" 200 10511 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:59 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/W160.PDF HTTP/1.1" 200 3283973 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:56 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/TOGAF-V91-M2-TOGAF9-Components.pdf HTTP/1.1" 200 12000877 "-" "Mozilla/5.0 (Linux) mirall/2.2.4" 192.168.112.18 - alberto [10/Oct/2016:10:09:59 -0300] "GET /remote.php/webdav/Shared/3%20-%20TI%20e%20Administra%C3%A7%C3%A3o/1%20-%20TI/B%20-%20Arquitetura%20Corporativa/1%20-%20TOGAF/6%20-%20Study%20Materials/TOGAF-V91-M7-Metamodel.pdf HTTP/1.1" 200 11059959 "-" "Mozilla/5.0 (Linux) mirall/2.2.4"