Skip to content
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

sync problem with custom share_folder #2772

Closed
centredecalcul opened this issue Feb 3, 2015 · 7 comments
Closed

sync problem with custom share_folder #2772

centredecalcul opened this issue Feb 3, 2015 · 7 comments
Assignees

Comments

@centredecalcul
Copy link

Hi,

Syncing newly shared files don't work properly when use the share_folder parameter.
I can see the shared file in "Shared with you" section and with Webdav access, but nothing in my desktop.
It works without share_folder configuration, but I want to use it.

My config.php:
'share_folder' => '/Partages',

Desktop client : 1.7.1 (build 4382)
Server : 7.0.4 (Centos 7, PHP 5.4.16, Apache 2.4.6)

User B use desktop client, with "sync all dirs" configuration
User B create or modify a file : sync success
User A share a file with user B : no synchronization 👎
User B modify a file in share_folder : sync success for the modified file only, not the user A file 👎
User B reboot : no synchronization 👎
User B create a file or a folder in share_folder (in desktop or web interface) : sync success : the user A file appear in the desktop

No error in log server nor desktop.

Regards,
Antoine

@avoine
Copy link

avoine commented Feb 3, 2015

I suspect this bug is a duplicate of this one: owncloud/core#13333

@centredecalcul
Copy link
Author

Maybe yes.
This ticket is more like that one : owncloud/core#13868
I think this is easily reproducible.
No matter, I'll try this: owncloud/core#13333 (comment)

@centredecalcul
Copy link
Author

I don't have problem when I share a folder (test owncloud/core#13868) but I have problem when I share a single file.

u1 share a single file with u2
u2 can see the new file in web interface, cadaver, etc
u2 "share_folder" Etag is not updated
u2 desktop client don't synchronise the new file

cadaver u2 :
dav:/remote.php/webdav/> ls Partages
Listing collection `/remote.php/webdav/Partages/': succeeded.
Coll: a 0 févr. 18 14:26
simplefile1.txt 1 févr. 18 14:28

dav:/remote.php/webdav/> propget Partages
Fetching properties for `Partages':
http://owncloud.org/ns id = 00478591ocb72c158477
http://owncloud.org/ns permissions = RDNVCK
DAV: getetag = "54e49321e32ef"
DAV: getlastmodified = Wed, 18 Feb 2015 12:44:15 GMT
DAV: resourcetype = DAV:collection/DAV:collection
DAV: quota-used-bytes = 0
DAV: quota-available-bytes = 10737418240

dav:/remote.php/webdav/> ls Partages
Listing collection `/remote.php/webdav/Partages/': succeeded.
Coll: a 0 févr. 18 14:26
simplefile1.txt 1 févr. 18 14:28
single_file_share.txt 7 févr. 18 14:35

dav:/remote.php/webdav/> propget Partages
Fetching properties for `Partages':
http://owncloud.org/ns id = 00478591ocb72c158477
http://owncloud.org/ns permissions = RDNVCK
DAV: getetag = "54e49321e32ef"
DAV: getlastmodified = Wed, 18 Feb 2015 12:44:15 GMT
DAV: resourcetype = DAV:collection/DAV:collection
DAV: quota-used-bytes = 0
DAV: quota-available-bytes = 10737418240

@PVince81
Copy link
Contributor

PVince81 commented Mar 5, 2015

@avoine @centredecalcul please tell me the full path of your shared file/folder that doesn't sync.

It seems that if it's on the first level:

  • /shared: will sync fine
  • /level1/shared: will sync fine
  • /level1/level2/shared: will not detect changes
  • /level1/level2/.../shared: will not detect changes

If your shared file/folder was deeper than level1 then please move over to owncloud/core#14596 (comment)

@centredecalcul
Copy link
Author

My shared files are on the first level.

And my share folder is on the first level (config.php):
'share_folder' => '/Partages',

@centredecalcul
Copy link
Author

Same problem with Owncloud 8.0.2 : etag of the "recipient" share_folder is not updated after sharing a file with this recipient.
However etag of the share_folder is updated when this file is modified after the file has been shared, and sync works at this time.

@centredecalcul
Copy link
Author

Solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants