owncloud / owncloud/client

File not updated locally

Open
#12,249 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

p3-medium type:bug
Dominant language
C++
Stars
1.5k
Forks
692
Avg merge
2d 3h
Merged PRs (30d)
23

Description

Pre-submission Checks
  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.
Describe the bug

I have two computers (linux) with the owncloud client installed and I noticed that one file was not the same on both computers.

I discovered this bug thanks to a script I wrote to compare the content of sync folders between my computers.
Basically, it list all files and folders + store them in a JSON file (with file checksum, size...).

I had a look at the .sync_journal.db on both computers:

  • contentChecksum matchs the local version of the file (but not the same on both computers).
  • I noticed that modtime (integer) is exactly the same (suspicious) => with stat command, the time is slightly different, but within the same second
  • filesize is not the same (expected)
  • phash is the same (but I don't know what it means)
Expected behavior

The desktop client on the computer with the out-dated file shall update the file.
I also tried to "Force Sync Now" without any success.

Steps to reproduce the issue

I haven't found yet how to reproduce the code but having the same modtime might trigger the issue.

Screenshots

No response

Logs

No response

Client version number

ownCloud version 5.3.2.15463

Desktop environment (Linux only)

Ubuntu 24.04

Client package version and origin (Linux only)

Ubuntu 24.04 PPA from https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/download/

Installation path (Windows only)

No response

Server information

OCIS 7.2.0

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the affected entries in .sync_journal.db on both Linux computers and the file metadata reported by stat, focusing on equal integer modtimes and differing sizes or checksums. Establish a reproducible case involving the ownCloud client 5.3.2.15463 and verify that the outdated local file updates after the sync logic is corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.