-
Notifications
You must be signed in to change notification settings - Fork 677
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
Same files on different PC not detected -> downloading again #1282
Comments
Same happens if you update the timestamp of a file w/o modifying a file or if you copy a file. |
This is a problem, since the status of the local replica is stored in the local database. Currently the server does not a checksum/hash calculation. When the server could calculate the sha hash for a file, then we could prevent redownload of the file. |
closing old issue. |
@ogoffart It's not fixed. :) This issue here is about the desktop client computing the file hash of the existing local file and comparing it with what it sees on the server. It should then see that the server had stored an idential file (according to size+hash, not according to size+date) and then just update the local sync DB. |
Closing as duplicate of #3422 |
I've set up my Notebook with OC client 1.5 and synced all the local files to OC6 server.
Then I copied the files over LAN to my Desktop-PC and set up OC client 1.5 here too.
Expected behaviour
The client on the Desktop PC should detect that the files on the server are the same as the local ones and thus shouldn't download them from the server agian (e.g. by comparing checksums).
Actual behaviour
The client on the Desktop PC says that the files on the server are new and therefore downloads all the files from the server even if the local ones are exactly the same.
This only happens for the first sync initialization After all the files are synced (downloaded) once, it works like it should.
Steps to reproduce
Server configuration
Operating system: Ubuntu 10.04.4 LTS
Web server: Apache/2.2.14
Database: MySQL 5.1.72
PHP version: 5.4.22
ownCloud version: OC6
Storage backend: Files, Encryption App enabled
Client configuration
Client version: 1.5.0 (final)
Operating system: Windows 8.1 x64
OS language: German
Installation path of client: default
Logs
Here some entries of the log window:
The text was updated successfully, but these errors were encountered: