obsidian-livesync icon indicating copy to clipboard operation
obsidian-livesync copied to clipboard

[BUG] all my files and folder names have been changed into lower case

Open coursegence opened this issue 1 year ago • 12 comments

hundreds of my files and folders have been renamed all into lower case.

everything was working fine until this update

I now have to manually rename them all :(

coursegence avatar Sep 07 '24 11:09 coursegence

Thank you for opening the issue! And I am so sorry for that.

However, unfortunately, I could not reproduce it yet. Would you share the report, which we can put out on the setting dialogue?

vrtmrz avatar Sep 07 '24 15:09 vrtmrz

I also encountered the same problem, case insensitivity causes synchronization to other devices to become lowercase

lzism avatar Sep 08 '24 02:09 lzism

I also encountered the same problem, case insensitivity causes synchronization to other devices to become lowercase

And it caused some confusion, now I have two folders, inbox and Inbox, and there are different files in them, maybe it is my use, but this function should be said more carefully

lzism avatar Sep 08 '24 03:09 lzism

I agree this is a very drastic change, it will possibly break all other extension settings, across the vault. Almost all plugins depend on the case-sensitive files and folder names. example templates, paths etc.

I don't think case-sensitivity should be treated as a feature that has to be enabled.

alx-xlx avatar Sep 08 '24 05:09 alx-xlx

Oh my goodness, it seems to be a common problem. So sorry for all of you! By the design, a case should be held even if checking files case-insensitively. All of you are on Linux? I am now on the mobile phone, I will check the behaviour and address it as soon as I get back to the terminal. Apologies for your inconvenience and troubles!

vrtmrz avatar Sep 08 '24 05:09 vrtmrz

Now I backed to the desktop and checked the behaviour with several patterns of vaults. I finally found the actual reason that Retrieving files on the start-up scanning could not handle the filename case fine. This will be fixed soon! Sorry for your inconvinience! If you have the backup, or are not synchronised with the remote with corrupted files, your vault will be restored by fetching the remote into the empty vault with the next release.

vrtmrz avatar Sep 08 '24 08:09 vrtmrz

I just released v0.23.22; which fixes this problem!

Would you mind if I ask you to check problems were fixed correctly, please? Fetching again into the empty vault might be effective.

vrtmrz avatar Sep 08 '24 09:09 vrtmrz

thank you so much, it is now fixed. The update has fixed the issue luckily it didn't affected other device as it was offline. You really saved me !!! 🥇

coursegence avatar Sep 08 '24 14:09 coursegence

my main vault was on windows and I had fetched it to ios

coursegence avatar Sep 08 '24 14:09 coursegence

also just a heads up, the Database cleaning has some issues

9/9/2024, 10:59:39 AM->Database active-size: 33 MB, external-size:61 MB, file-size: 38 MB
9/9/2024, 10:59:39 AM->Collecting unreferenced chunks on mydb
9/9/2024, 10:59:40 AM->No unreferenced chunks! mydb
9/9/2024, 10:59:40 AM->Processed database active-size: 33 MB, external-size:61 MB, file-size: 38 MB
9/9/2024, 10:59:40 AM->Reduced sizes: active-size: NaN undefined, external-size:-, file-size: NaN undefined

it gives NaN undefined error its unable to clean my remote chunks, its unreasonably high for some reason. it used to be around 5000chunks, but now its 12000chunks. Not that it matters much but just a heads up :)

coursegence avatar Sep 09 '24 05:09 coursegence

I seem to have this same issue on the latest version of obsidian livesync 0.24.11 on mobile and desktop.

The files are duplicated except the capitals. Is my vault malformed now?

hermanmak avatar Apr 24 '25 05:04 hermanmak

Had the same problem on the 0.25.2 when doing the first fetch on an Android device from Windows.

Forcefully rebuilding the database on Windows with the original files and re-fetching fixed the issue. My database and vault were created many versions ago so it was probably outdated or something.

eitchtee avatar Jul 22 '25 02:07 eitchtee