Missing hidden files
Pre-submission Checks
- [x] 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.
- [x] 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 an Owncloud Infinite Scale space containing ~70Gb of files, including some hidden files. When doing the initial synchronization on a new computer, some hidden files are missing. By default, the "Sync hidden files" features is disabled but even after enabling it, some files are still missing. I also try to "force synchronize now", without any success.
A work around I found : touch a && sleep 10 && rm a (in the folder where there is a missing hidden file/folder)
Expected behavior
I expect that all hidden files are synced when I enable the "sync hidden files", even the one that were previously skipped. I also expect that the "force synchronize now" feature do check for locally missing files.
Steps to reproduce the issue
- Have a space with hidden files
- Synchronize it with "sync hidden files" disabled
- Enabled "sync hidden files" (during initial sync or after ?)
- Hidden files are missing
- Try to "force synchronize now" => hidden files are still missing
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
Detailed steps to reproduce
After initial sync on my computer:
├── A
│ ├── B
│ │ └── test.txt
│ └── test.txt
├── .owncloudsync.log
├── .sync_journal.db
├── .sync_journal.db-wal
└── test.txt
3 directories, 6 files
Then, I enable "sync hidden files" in the desktop client:
├── A
│ ├── B
│ │ └── test.txt
│ └── test.txt
├── .hidden.test.txt
├── .owncloudsync.log
├── .space
│ ├── image.png
│ └── readme.md
├── .sync_journal.db
├── .sync_journal.db-wal
└── test.txt
4 directories, 9 files
Then I run
touch a A/a A/B/a
(wait a little)
rm a A/a A/B/a
├── A
│ ├── B
│ │ ├── .test.txt
│ │ └── test.txt
│ ├── .test.txt
│ └── test.txt
├── .hidden.test.txt
├── .owncloudsync.log
├── .space
│ ├── image.png
│ └── readme.md
├── .sync_journal.db
├── .sync_journal.db-wal
└── test.txt
4 directories, 11 files
(the latest state is the correct one)
This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.
The issue is still relevant. From the analysis I did for issue #12249, when clicking on "force sync now", only top-level folders and files are retrieved from the server. This explains why hidden files aren't added to the local database (and therefore never retrieved locally).
This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.
The issue was marked as stale for 7 days and closed automatically.