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

[BUG] [Sync Failed] keeps syncing excluded folder #232

Open
Funwar opened this issue Mar 16, 2021 · 4 comments
Open

[BUG] [Sync Failed] keeps syncing excluded folder #232

Funwar opened this issue Mar 16, 2021 · 4 comments
Labels
Waiting response Waiting response

Comments

@Funwar
Copy link

Funwar commented Mar 16, 2021

Over and over again the sync from Android phone to SMB NAS fails, only with one sync task.
Shortly after the first fail I discovered the failing task (sync type: copy) fails because one of the folders to be synced contains ":" (colon). Which is (according to SMBSync2) an invalid character.

To prevent the sync task from failing I excluded the complete folder. However this doesn't seem to solve te problem, it keeps falling over the folder name.

It looks like the exclusion of folders isn't doing its job in this case.
Schermafbeelding 2021-03-16 om 14 04 52

@Sentaroh
Copy link
Owner

Hi,

Sorry for late response.

The characters that can be used in the file name / Directory name differ depending on the File System. You can use non-null characters in internal storage, but you cannot use ":, , *,?,", <,>, |" characters in external storage (FAT32 / exFAT) and SMB servers.

Workarounds are

  1. Remove or convert the unavailable characters from the file name.
  2. Optionally exclude files/directories
    image

Best regards.

@Funwar
Copy link
Author

Funwar commented Apr 20, 2021 via email

@Sentaroh
Copy link
Owner

Sentaroh commented May 6, 2021

Hi,

Sorry for late response.

Please follow the steps in the link below to get the log and send it to us.
https://sentaroh.github.io/Documents/SMBSync2/SMBSync2_Log_EN.htm

  1. Enable logging by Step1 to Step4.
  2. Perform sync for reproduce error.
  3. Send a log by Step6 to Step14.

Best regards.

@Sentaroh Sentaroh added the Waiting response Waiting response label May 6, 2021
@clach04
Copy link

clach04 commented Nov 21, 2022

Hi Sentorah, The exclude checkbox is already checked, however the app doesn’t seem to care about that and keeps complaining about several files that contain an invalid character. So it seems like the exclude function doesn’t work like it should.

I can't comment on colons but exclude does work for me (https://github.com/Sentaroh/SMBSync2/releases/tag/Ver2.54), with some caveats. @Funwar Please could you attach screen shot of your exclude list?

I opened #262 for what I discovered (not sure if its relevant or not).

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

No branches or pull requests

3 participants