-
Notifications
You must be signed in to change notification settings - Fork 668
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
"Make always available" locally does not persist across client restarts #7779
Comments
@ogoffart Could you check if this is an easy fix? |
I could not reproduce the problem on Linux following the step to reproduce. The pinning state is stored on the DB and this is respected. Maybe there are other errors in the sync that causes this problem? |
We can reproduce this on macOS 10.15.4 on 170 Clients ;) Do you need additional Informations we could provide? What do you need? |
@s1mm0n what is the exact client version you are using? Detailed steps to reproduce would help. Reliable way to trigger this? |
Hi, Version 2.6.1 (build 13096) @georgebarnett has the perfect description on this bug. See "Steps to reproduce" A simple restart on the Client will replace all Files which are set to "always local" into a virtual ".owncloud" file. |
thanks, I'll check again |
Seems macOS behaviour is regression from 2.5.4 to 2.6.x. |
I can't reproduce it too. |
@s1mm0n could you pls report the output of the
|
Hi, we can reproduce this on every of our 170 Macs.
macOS Catalina 10.15.4 (19E287) i have attached a small video showing the Problem. A simple restart of the Client and all files in the ownCloud folder will be replaced by a virtual .owncloud File. |
I do believe you, that definitely should not happen..... |
Hello, i think this is the log part which is relevant, but i'll send you the full log via E-Mail too. The File used for this Demo is "meeting.ics"
|
Thx I'll look into it. |
Hi could you give https://download.owncloud.com/desktop/ownCloud/testing/2.7.0.1870-pr7969/ a try? |
@s1mm0n could you give the above build a run? |
Hi, this build does not solve the Problem. I've sent you the logfiles via E-Mail. |
Hi so we indeed get the new info message |
Hi, checked again, im running the client only once. "Migrate: From usePlaceholders to PinState::OnlineOnly" is everytime in the logs. |
But with the code change Migrate: From usePlaceholders to PinState::OnlineOnly" is everytime in the logs. should only occur once and when the client is run a second time it should not happen again |
Okay, do you need any further Information? |
aaa ... my fault |
The change was merged to 2.7 https://github.com/owncloud/client/actions/runs/253699443 |
Tested with "Version 2.7.0 (build 1960)" (Daily Build from 08/15/2020 12:34:02 AM) seems to work as expected. THANK YOU VERY MUCH! |
THANK YOU! :D |
Expected behaviour
When I choose "Make always available locally", the client should keep the files/folders I have selected available on the local disk.
Actual behaviour
When the client is restarted, all files in the tree are replaced with their virtual equivalents, meaning the locally stored copy is removed. This is particularly an issue with scripts where the client additionally loses +x permissions (#3199 - Also occurs on Mac OSX).
It would appear, based on the log that on startup, the sync check itself is kicking off a sync which then causes the file to be made virtual.
Steps to reproduce
Server configuration
Operating system:
Web server:
Database:
PHP version:
ownCloud version:
Storage backend (external storage):
Client configuration
Client version:
2.6.1 (Build 13096)
Operating system:
OSX 10.15.3
Darwin Juliet 19.3.0 Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64 i386 MacBook9,1 Darwin
OS language: English Australia
Installation path of client: /Applications
Logs
Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.
Template for output < 10 lines
Web server error log:
Server logfile: ownCloud log (data/owncloud.log):
The text was updated successfully, but these errors were encountered: