core icon indicating copy to clipboard operation
core copied to clipboard

Owncloud desktop client sync issues

Open twrhills opened this issue 12 years ago • 20 comments

I have tested this with ubuntu - ubuntu and ubuntu - debian. When the following is done: user 1 creates single file

  • file syncs to web interface fine user 1 shares file to user 2 user 2 updates file
  • file syncs to web interface fine
  • user 1 desktop sync client does not see any changes available / does not attempt to update file
  • when user 1 attempts to upload an edited version a conflict is found.

The above process, when changed slightly to add the single file inside of a folder and share the folder rather than the file, works fine.

owncloud 7.0.2

desktop client on debian 1.6.3 desktop client on ubuntu 1.5.0 desktop client on ubuntu 1.6.3

Sharing has been tried with all combinations of the above machines, however limited to just testing with two parties.

twrhills avatar Sep 16 '14 00:09 twrhills

May be the same https://github.com/owncloud/mirall/issues/2204?

ronbailer avatar Sep 16 '14 09:09 ronbailer

Just incase it helps I have included the same in the expected format:

Steps to reproduce

  1. User 1 creates a file
  2. User 1 shares file to User 2 via web interface
  3. User 1 edits file using owncloud sync app to update
  4. User 2 downloads file using owncloud sync app
  5. User 2 edits file on their computer and allows owncloud app to sync
  6. User 1 tries to update file from user 2 edit

Expected behaviour

User 1 should get the new version including user 2's edit

Actual behaviour

User 1 is unable to update file from owncloud sync, although user 2's version is available to them through the web app.

Server configuration

**Operating system: SME 8.1

**Web server: Apache/2.2.3

**Database: mysql 5.0.95

**PHP version: 5.3.3

**ownCloud version: 7.0.2

**Updated from an older ownCloud or fresh install: 7.0.0 fresh install, updated to 7.0.1, updated to 7.0.2

*List of activated apps: Activity Bookmarks Calendar Contacts Deleted Files Documents External Storage Support External User Support * we are using imap users First Run Wizard Full Text Search Mail Template Editor owncloud dependencies info PDF Viewer Pictures Share Files Text Editor Updater Versions Video Viewer

The content of config/config.php:

<?php
$CONFIG = array (
  'instanceid' => 'instanceidishere',
  'passwordsalt' => '*** Removed for security reasons',
  'trusted_domains' =>
  array (
    0 => 'ourmaindomain.com',
    1 => 'asecondarydomain.com',
    2 => 'anotherone.com',
  ),
  'datadirectory' => '/owncloud/data',
  'dbtype' => 'mysql',
  'version' => '7.0.2.1',
  'dbname' => 'dbnameiscorrect',
  'dbhost' => 'servernamealsogood',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'ownclouduser',
  'dbpassword' => '*** Removed for security reasons',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'oc',
  'mail_domain' => 'thisisourdomainbutIchangedit.com',
  'mail_smtpauth' => true,
  'mail_smtphost' => 'localhost',
  'mail_smtpport' => 'port',
  'mail_smtpname' => 'smtpname',
  'mail_smtppassword' => '*** Removed for security reasons',
  'mail_smtpauthtype' => 'PLAIN',
  'ldapIgnoreNamingRules' => false,
  'mail_smtpsecure' => 'ssl',
  'theme' => '',
  'maintenance' => false,
  'loglevel' => '2',
  'user_backends' =>
  array (
    0 =>
    array (
      'class' => 'OC_User_IMAP',
      'arguments' =>
      array (
        0 => '{thisisourdomainbutIchangedit.com:portishere/imap/ssl}INBOX',
      ),
    ),
  ),
  'forcessl' => true,
  'preview_max_x' => 500,
  'preview_max_y' => 500,
  'enable_previews' => true,
  'preview_max_scale_factor' => 2,
  'overwritewebroot' => '/',
  'overwritehost' => 'thisisourdomainbutIchangedit.com',
  'preview_libreoffice_path' => '/usr/bin/soffice',
  'blacklisted_files' =>
  array (
    0 => '.htaccess',
  ),
  'knowledgebaseenabled' => true,
  'trashbin_retention_obligation' => 99999,
);


**Are you using external storage, if yes which one: No

**Are you using encryption: No

Client configuration

**Browser:Latest firefox version for ubuntu machines

**Operating system:Tested with Ubuntu + Debian

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Nothing interesting here sorry.

Browser log

Nothing interesting here either.

twrhills avatar Sep 17 '14 22:09 twrhills

please reopen this in the mirall repository. thanks

karlitschek avatar Sep 21 '14 14:09 karlitschek

The problem is that the etag in of the directory does not change if a file is uploaded.

How to reproduce:

  • create a share link with public upload enabled on a directory
  • use cadaver to check the etag of the directory
  • upload a file through the share link
  • check the etag again and see that it did not change.

dragotin avatar Oct 07 '14 11:10 dragotin

@icewind1991 can you have a look please

karlitschek avatar Oct 07 '14 12:10 karlitschek

Hi,

I have the same problem. Would be very happy if someone can help.

I tested it with

OwnCloud Clients: ownCloud-1.6.3.878 ownCloud-1.6.2.551 ownCloud-1.6.1.359

Client OS = OSX 10 OC_Server= OC 7.02 Server_OS= Ubuntu 14.04

Best Regards

ghost avatar Oct 07 '14 19:10 ghost

+1 Same problem here. ownCloud 7.0.2 on centos7, client 1.6.3

magemo avatar Oct 08 '14 11:10 magemo

Hi everybody, I confirm this Problem.

ownCloud 7.0.2 Debian Wheezy Apache 2.2.27 PHP 5.3.29

Client 1.6.3 on Windows 8.1 Windows 7

Android App 1.5.8 Apple iPad App 3.2.0

Thank you Butch

SlimButch avatar Oct 08 '14 15:10 SlimButch

Issue also occurs for me

ownCloud 7.0.2 CentOS 6.5 Apache 2.2.15 PHP 5.4.33

Client 1.6.3 on Windows 8.1 OSX 10.9.4

emberfordsr avatar Oct 09 '14 08:10 emberfordsr

Has anyone already a solution?

ghost avatar Oct 09 '14 15:10 ghost

@karlitschek @craigpg @MTRichards please rate severity - TXH

DeepDiver1975 avatar Oct 14 '14 04:10 DeepDiver1975

The problem is that the etag in of the directory does not change if a file is uploaded.

work on git master as of today ...

DeepDiver1975 avatar Oct 14 '14 04:10 DeepDiver1975

confirmed - broken on stable7

@icewind1991 the only diff I see is the propagator - does that make sense?

DeepDiver1975 avatar Oct 14 '14 04:10 DeepDiver1975

This is bad if confirmed. Adding gold ticket

karlitschek avatar Oct 14 '14 09:10 karlitschek

Iirc currently the etag of the root folder isn't updated if he receives a share.

cc @PVince81

icewind1991 avatar Oct 14 '14 12:10 icewind1991

@icewind1991 you already fixed this here #10325, please backport it to stable7.

PVince81 avatar Oct 14 '14 12:10 PVince81

Right, misunderstood the issue

icewind1991 avatar Oct 14 '14 12:10 icewind1991

Backport is here: #11567

@twrhills can you check if this fixes the issue for you

icewind1991 avatar Oct 14 '14 12:10 icewind1991

Fixed by https://github.com/owncloud/core/pull/11567

PVince81 avatar Oct 16 '14 19:10 PVince81

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Aug 02 '19 19:08 lock[bot]