What does not work as expected?
Consider the following:
photoprism@f93a3e7679df:~$ photoprism index -c /photoprism/originals/Imgs/
INFO[2021-11-17T07:28:27Z] indexing originals in /photoprism/originals/photoprism/originals/Imgs
ERRO[2021-11-17T07:28:27Z] index: /photoprism/originals/photoprism/originals/imgs does not exist
INFO[2021-11-17T07:28:28Z] purge: flagged photo PXL_20211116_104024131 as deleted
INFO[2021-11-17T07:28:29Z] index: found no orphan files [163.635032ms]
INFO[2021-11-17T07:28:31Z] index: updating counts
INFO[2021-11-17T07:28:33Z] index: updating covers
INFO[2021-11-17T07:28:35Z] purge: removed 0 files and 1 photo [7.93268822s]
INFO[2021-11-17T07:29:43Z] index: found no orphan files [42.628513ms]
INFO[2021-11-17T07:29:43Z] index: updating counts
INFO[2021-11-17T07:29:44Z] index: updating covers
INFO[2021-11-17T07:29:44Z] cleanup: removed 1 index entry and 166 thumbnails [1m9.055006357s]
INFO[2021-11-17T07:29:44Z] indexed 0 files in 1m26.977614051s
INFO[2021-11-17T07:29:44Z] closed database connection
photoprism@f93a3e7679df:~$
photoprism@f93a3e7679df:~$
photoprism@f93a3e7679df:~$
photoprism@f93a3e7679df:~$
photoprism@f93a3e7679df:~$ ls /photoprism/originals/Imgs/
photo.backup.tablet photos-backup-kiran photos-backup-priya photos-backup-rmi9 rmi-note-6 takeout
I think this is a bug because:
- External
index triggers (through systemd timers or ofelia) are failing with the above error, where folder name normalization is wrong.
- I think internal
index of PP is working. Not sure of the difference. Ideally, both should call the same sub-routines to uncover such bugs.
How can we reproduce it?
Steps to reproduce the behavior:
- Trigger an
index run from an external command
What behavior do you expect?
Folders should get indexed, especially the ones passed as a command-line argument.
What version you are using?
Latest changes from the preview branch.
What does not work as expected?
Consider the following:
I think this is a bug because:
indextriggers (through systemd timers or ofelia) are failing with the above error, where folder name normalization is wrong.indexof PP is working. Not sure of the difference. Ideally, both should call the same sub-routines to uncover such bugs.How can we reproduce it?
Steps to reproduce the behavior:
indexrun from an external commandWhat behavior do you expect?
Folders should get indexed, especially the ones passed as a command-line argument.
What version you are using?
Latest changes from the
previewbranch.