-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Ignored folders should not be indexed #2816
Comments
Hello @doman18 , |
@feiniks Ive seen this documentation before and i followed it (BTW it lacks info about ignoring folders in any level of folders tree). But neither documentation nor your advice helped. Currently i have volumes/ in my seafile-ignore.txt. Restarted app couple times - still the same notification/error pops up EDIT |
Hello @doman18, is |
@feiniks Secondly, if only root-dir-relative ignores were possible it would not make sense at all and was Seafiles big design flaw. If *volumes/ didn't work in all folders i would drop seafile as a solution for my problems. Think about all those temporary or hidden folders which are created by various apps. Like .vscode or .cache or *.pyc files. It would require to add every single one to seafile-ignore.txt. For example .gitignore by default refers to ANY occurence of particular element so volumes/ refers to xxx/volumes/ xxx/xxx/volumes/ etc. And root-dir-relative ignores has to be explicitly set by adding / (which means current root directory) so /volumes/ in .gitignore refers only for volumes/ not xxx/volumes/. And thats a good design. Gitignores also can be placed in subdirectories but this feature is not needed in seafile-ignore.txt as long as it allows rules for specifying occurences in any subdirectory. |
Hello @doman18, currently, seafile only supports root-dir-relative ingores, but not other cases. We will consider supporting other situations in the future. |
So solution works but its not supported. Got it. This unfortunately forces me to skip Seafile and look further for synology drive replacement. |
Hello @doman18, in your scenario, you can use |
@feiniks Man your last answer contradicts with your previous one. Are you AI bot or real person?? BTW, i have these in my seafile-ignore.txt and still doesn't work volumes/ |
Hello @doman18, Please check if there are any differences in your steps compared to mine. If not, you can reproduce the procedure locally and paste the relevant errors from the 'seafile.log'." |
Yes i found the reason which i forgot at first. I added seafile-ignore.txt after seafile started synchronisation. Yet it did not synchronised relevant folders. I recreated this scenario with new docker instance. In your list of steps you will have to move step 2. to the end, so it becomes new step 4 (after changing permissions) and then last step 5. is the same. |
Hello @doman18 , |
Yep, this is definitely a bot. |
My seafile-ignore.txt contains
*volumes/
entry which prevents synchronisation of any volumes subfolders. Those folders contain files created by docker containers, usually with root permissions. Thats why i want to ignore them. Ignoring works - these folders are not synced. Unfortunately clients seem to index them anyway because during each client start i get bunch of errors saying that /xxx/xxx/volumes/xxx/xxx cannot be indexed because of permissions or disk is full.Ubuntu 22.04
seafile-gui 9.0.6
The text was updated successfully, but these errors were encountered: