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

The .ignore and .pg2ignore files are ignored. #942

Open
hsanson opened this issue Oct 17, 2024 · 0 comments
Open

The .ignore and .pg2ignore files are ignored. #942

hsanson opened this issue Oct 17, 2024 · 0 comments

Comments

@hsanson
Copy link

hsanson commented Oct 17, 2024

Describe the bug

I have several folders that contain both .ignore and .pg2ignore files but they keep being indexed and appearing in the Gallery. I expect these folder not to appear in the gallery unless I am understanding wrong this functionality.

What I tried:

  • Run re-indexing job with Index changes only off.
  • Reset Gallery and then run re-indexing job with Index changes only off.
  • Reset Albums and then run re-indexing job with Index changes only off.
  • Reset both Gallery and Albums and then run re-indexing job with Index changes only off.
  • Stop and remove the docker container, remove the sqlite database file and configuration file data. Start the container back and login with defaul admin/admin account.

In each case I tried above, that directories with .ignore and .pg2ignore files in them still appeared listed in the gallery.

I created these files touch inside each folder:

touch .ignore
touch .pg2ignore

Also checked the files exists in each folder within the running docker container.

Server logs (optional)

No relevant errors appear in the logs even in debug mode. Indexing jobs complete successfully.

Environment (please complete the following information):

  • OS: Debian bookworm running pigallery2 via Docker/Docker Compose.
  • Browser: Chrome

Used app version:

Docker image bpatrik/pigallery2:edge-alpine

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

No branches or pull requests

1 participant