desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Attention possible case sensitive clash - no conflict resolution provided

Open ferdiga opened this issue 4 years ago • 14 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Expected behaviour

clicking on the error message should open a meaningful message. "meaningful" - as I do not understand the source of the error I can't say what is meaningful

Actual behaviour

the error message points to a directory - I do not see any case sensitive issues in the directory name.

Steps to reproduce

  1. automatic sync

Client configuration

Client version: Version 3.2.0 (macOS).

Operating system: macOS 11.3.1 OS language:

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

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

Installation path of client:

Server configuration

Nextcloud version: 20.0.9 on a Hetzner storage service Storage backend (external storage):

Logs

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

  1. Client logfile: Since 3.1: Under the "General" settings, you can click on "Create Debug Archive ..." to pick the location of where the desktop client will export the logs and the database to a zip file. On previous releases: Via the command line: nextcloud --logdebug --logwindow or nextcloud --logdebug --logfile log.txt (See also https://docs.nextcloud.com/desktop/3.0/troubleshooting.html#log-files)

  2. Web server error log:

  3. Server logfile: nextcloud log (data/nextcloud.log):

ferdiga avatar May 06 '21 11:05 ferdiga

Could you provide us a screenshot from the error message or tell us what the error message said? Can you provide us any steps we can take to reproduce the exact same error message?

FlexW avatar May 06 '21 15:05 FlexW

Meanwhile I upgraded the desktop client to 3.2.1 20210506 172628 Nextcloud Settings

ferdiga avatar May 06 '21 15:05 ferdiga

I migrated from a ubuntu 20.04 to a Macbook

  • copied all files with rsync -av from the linux machine to the Macbook
  • installed nextcloud client and choose the copied directory as root for the sync - choosing to keep existing files this works fine except a few files producing an error

BTW I had this error already on linux machines doing the same

ferdiga avatar May 06 '21 15:05 ferdiga

Hard to say how this can be improved. Maybe, pointing out the exact file name that is attempted to be copied and the file name of an already existing file that results in a clash. This will surely increase the length of the error message that doesn't fit nicely in the limited space of the UI it is displayed in.

Shouldn't the filename in the error message make a user gonna want to check that file on the server? It's a nice hint already.

Not sure myself. I've faced this issue when having two similarly named files having capital and the normal case of extensions (one is .PNG, while another is .png). While this works on Linux, this doesn't work on Windows. Looks like this doesn't work on mac OS too.

allexzander avatar May 07 '21 10:05 allexzander

Well, I mentioned - I copied the files from Linux to Mac using rsync - hence the filename should be literally the same. (except rsync changes file names) The linux machine was synced to the NC using th NC desktop on Linux and synced again using NC desktop on MAC

The design of the error messages should be made more readable any way. see also https://github.com/nextcloud/desktop/issues/3276

ferdiga avatar May 07 '21 11:05 ferdiga

Hi, definitely an upper/lower case issue. after renaming the file - sync works, it's just a painful experience to rename some 100 files

ferdiga avatar May 20 '21 18:05 ferdiga

This issue has been marked as "needs info" 4 weeks ago. Please take a look again and try to provide the information requested, otherwise the issue will be automatically closed in 2 weeks. Thank you!

github-actions[bot] avatar Jun 18 '21 01:06 github-actions[bot]

I fixed the problem manually, what can I provide?

ferdiga avatar Jun 18 '21 08:06 ferdiga

@ferdiga Everything is fine. I guess we will improve the error message.

FlexW avatar Jun 21 '21 15:06 FlexW

Hi I just had the same problem between linux and windows clients I renamed a bunch of files from MiXEdCase filename to lowercase filename on my linux box, the filenames basically didn't change except the case

And right now, my windows client show me a conflict error for each renamed files, and is uploading back the MiXedCase files, creating hundreds of duplicates on my linux client.

both clients are 3.4.4 (on windows 10 and mint 20) Server is 23.0.4

gege2b avatar Apr 29 '22 09:04 gege2b

Similar to #4103

marbx avatar Sep 04 '22 21:09 marbx

So now a conflict resolution is provided see picture below. image however, the existing filename is empty, so it requires the user to search for the existing filename prior setting the new name.

maximelehericy avatar Aug 30 '23 11:08 maximelehericy

case clash conflict resolution still has an issue for me (client 3.13.3). the dialog shows a filename but clicking OK just leads to the dialog staying open and the OK button being grayed out.

codeling avatar Sep 04 '24 23:09 codeling

@joshtrichards thats not a feature request and not an enhancement. Thats a bug. Could you please reconsider the tagging?

beposec avatar Oct 18 '24 18:10 beposec

Hello,

this is connected to the new setting in the server https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/windows_compatible_filenames.html

clients should be able to handle everything correctly now. if not, please get back here

Rello avatar May 09 '25 10:05 Rello