The .ignore and .pg2ignore files are ignored.
Opened this issue · 0 comments
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