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

Exclude folders from the initial generation by their names #486

Open
bachmarc opened this issue Jun 25, 2024 · 3 comments
Open

Exclude folders from the initial generation by their names #486

bachmarc opened this issue Jun 25, 2024 · 3 comments

Comments

@bachmarc
Copy link

HI,
I tried that app and relaized it tries to permutate through all folders.

The folder "dot" .zfs is a default virtual folder that contains all zfs snapshots of the past which will show my file system in read only mode as it was the day before and so on...
That means
a) I cannot add a .nomedia file
b) it contains all my images over and over and over again with a different path as my server creates a sbapshot every day....

and it failed anyway ;) but I won't be able to debug...

2024-06-25T13:01:42+00:00 Scanning folder /main/files
2024-06-25T13:01:42+00:00 Scanning folder /main/files/content_main
2024-06-25T13:01:42+00:00 Scanning folder /main/files/content_main/.Trash-1000
2024-06-25T13:01:42+00:00 Scanning folder /main/files/content_main/.Trash-1000/files
2024-06-25T13:01:42+00:00 Scanning folder /main/files/content_main/.Trash-1000/files/bridge
2024-06-25T13:01:42+00:00 Scanning folder /main/files/content_main/.Trash-1000/info
2024-06-25T13:01:42+00:00 Scanning folder /main/files/content_main/.zfs
2024-06-25T13:01:42+00:00
2024-06-25T13:01:42+00:00 In Parser.php line 157:
2024-06-25T13:01:42+00:00
2024-06-25T13:01:42+00:00 Malformed state response from server
2024-06-25T13:01:42+00:00

@st3iny
Copy link
Member

st3iny commented Jun 25, 2024

I assume you are talking about the initial generation. You can limit the initial generation to certain folders by using the --path parameter of preview:generate-all.

The incremental generation should not pick up changes inside .zfs as they are not changed from within Nextcloud.

@bachmarc
Copy link
Author

Yes, that is what I did afterwards ... but only because its a small installation. Maybe you filter out .zfs in default as it always contains redundant data that is not live. With 200 users admins may struggle

THX Marc

@st3iny
Copy link
Member

st3iny commented Jun 25, 2024

Filtering by default is not something I'm considering. However, adding an exclude option to the initial generation command would be a nice feature.

@st3iny st3iny changed the title ZFS snapshots are a rabbit hole Exclude folders from the initial generation by their names Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants