client icon indicating copy to clipboard operation
client copied to clipboard

CSync failed to access

Open TinusS1 opened this issue 9 years ago • 38 comments

Expected behaviour

Normal sync behaviour.

Actual behaviour

CSync error for one specific folder, all the other shares dont synchronize too.

Steps to reproduce

Server configuration

Operating system: CentOS 6.1

Web server: nginx

Database: mysql 5.5.54

PHP version: 5.6.30

ownCloud version: 9.1.3 (stable)

Client configuration

Client version: 2.2.4 build 6408

Operating system: Windows 10 + Windows 2012 R2

OS language: English Qt version used by client package (Linux only, see also Settings dialog):

Client package (From ownCloud or distro) (Linux only):

Installation path of client:

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt (On Windows using cmd.exe, you might need to first cd into the ownCloud directory) (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )

  2. Web server error log:

  3. Server logfile: ownCloud log (data/owncloud.log):

afbeelding

When looking directly on the server in the storage folder i cannot find the specific folder however in the webinterface the folder is still there and cannot be removed or renamed.

occ files:scan doesn't solve this issue.

My workaround is to create a directory with the same name so that the clients can synchronize again.

afbeelding

I have similar behaviour in a different folder but then with files that cannot me removed/renamed and the files are not visible on the server.

Any ideas on how i can solve this issue?

TinusS1 avatar Apr 19 '17 12:04 TinusS1

@TinusS1 How is your server configured? You are using sharing (Who to who etc), external storages, encryption etc?

@PVince81 Can you help?

guruz avatar Apr 19 '17 13:04 guruz

@guruz No external storages, no encryption, We are using AD/LDAP(groups) to share in between users (i hope this is what you meant.)

TinusS1 avatar Apr 19 '17 13:04 TinusS1

Anyone?

TinusS1 avatar Apr 23 '17 15:04 TinusS1

@TinusS1 Maybe @PVince81 has an idea on monday. But I'd possibly try to get on 9.1.5, maybe that helps (This is probably a server issue..)

guruz avatar Apr 23 '17 16:04 guruz

create a directory with the same name

How are you creating the second directory ? The screenshots seems to show two identical directories in the same folder. This is impossible.

The database wouldn't allow for this. select * from oc_filecache where path like '%yourfolder%' replace "yourfolder" with your folder name.

I suspect that the name might not be 100% the same. Maybe some weird variant of UTF-8 characters.

Were any Macs involved ?

PVince81 avatar Apr 24 '17 19:04 PVince81

@guruz Thanks, i have updated to 9.1.5 last night and ran another filescan, the problems didn't get solved.

@PVince81 Thanks for your reply, Some macs do have access to this share, but this specific folder should only be managed/accessed by a Windows user.

I have ran the query and it only returns the one folder I have created in order to solve the sync issues. afbeelding

TinusS1 avatar Apr 25 '17 07:04 TinusS1

occ files:scan --all -vvvvvvv or occ files:scan affecteduser -vvvvvv

It should output all folders it's scanning, check whether it goes into that specific one.

PVince81 avatar Apr 25 '17 14:04 PVince81

@TinusS1 Any news?

guruz avatar Apr 26 '17 13:04 guruz

@PVince81 @guruz Thanks guys, i ran occ files:scan affecteduser -vvvvvv. It scans the folder in which this "Oud" folder is located but it doesn't scan the Oud folder. So to answer your question, no it doesn't go into this specific one.

TinusS1 avatar Apr 26 '17 13:04 TinusS1

And how does this look on the server's directory? Is there one Oud or two? (with similar utf8)

guruz avatar Apr 26 '17 13:04 guruz

Hello, we have the same problem with our owncloud Instance. In our case there ist only one "xyz" folder at the server; At the desktop-client-Sync-List - you see both folders (with the same name); via Webbrowser you also see the two folders with the same same.

wuppel avatar May 02 '17 12:05 wuppel

Oh - sorry, we have the server version: ownCloud 9.1.4 (production) - community edition; an the mac client version: 2.3.1 build 4139

wuppel avatar May 02 '17 12:05 wuppel

only one "xyz" folder at the server

via Webbrowser you also see the two folders with the same same.

Humm... @PVince81 ?

At the desktop-client-Sync-List - you see both folders (with the same name)

Would you have a screenshot? If you don't want to disclose the filenames here you can write me privately $my_nickname_at_github at owncloud.com

@TinusS1 Maybe you also can answer still the question above, thanks:)

guruz avatar May 03 '17 08:05 guruz

@PVince81 @guruz

Sorry due to holidays i wasn't able to reply any quicker. sorry!

On the server directory there is only one 'Oud' folder and nothing similar. The second 'Oud' folder I created in order to solve the sync issues is located in the storage folder.

TinusS1 avatar May 03 '17 08:05 TinusS1

After some further research i found out that the conflicting folder was created from a mac.

TinusS1 avatar May 03 '17 08:05 TinusS1

@TinusS1 @wuppel Would you say this is a regression? E.g. something that happend after/only when you updated the client or server?

guruz avatar May 03 '17 08:05 guruz

no, our update (client/server) is some weeks ago. We have >400 User; and this happens only at one share/folder/user. So there is no pattern ... as I know.

wuppel avatar May 03 '17 09:05 wuppel

@wuppel And you see the error on a Mac? But @TinusS1 sees it on Windows?

guruz avatar May 03 '17 09:05 guruz

I see the error on Windows, and it blocks all synchronisation activity i'm not sure if i remove the 'Oud' file I created as temporary solution I would have the error on Mac’s too.

TinusS1 avatar May 03 '17 10:05 TinusS1

yes, I see the error on Mac an Windows Desktop Client; I also see the "invalid/double" folders at the browser!!! ; if I go directly to the server via terminal/console - I see only one folder - so there is the only correct place.

wuppel avatar May 03 '17 11:05 wuppel