-
The app is installed using docker-compose on Debian GNU/Linux 11 (bullseye)
Please advise on how to get it working. |
Beta Was this translation helpful? Give feedback.
Replies: 20 comments 3 replies
-
Did you see the bug issue template? Could it be that some information we need is missing? |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce the behavior:
No changes - all default settings There is no file which stops the indexing - everytime they are different. Those files that last time passed indexing successfully, next time may stop it. _photoprism_photoprism_1_logs.txt I use:
|
Beta Was this translation helpful? Give feedback.
-
So it happens with every file? Our demo and all other users don't seem to have a problem with every file, so it's unclear how to reproduce it. |
Beta Was this translation helpful? Give feedback.
-
I'd suspect some sort of metadata issue. |
Beta Was this translation helpful? Give feedback.
-
I didn't say "every" :) It may stop on "any" file.
What do you mean? How to check it? |
Beta Was this translation helpful? Give feedback.
-
Could be the color profile, orientation, config options like JPEG quality and size... About everything that influences thumbnail generation. |
Beta Was this translation helpful? Give feedback.
-
Ok. To validate this hypothesis it would be enough to scan the library with no thumbnail generation. Is there any setting to try to disable the thumbnail generation? |
Beta Was this translation helpful? Give feedback.
-
I'm in bed already. Quickly checked the related code and it happens in the image.YCbCr code block, see Wikipedia:
Could it be that you have such files? If yes, does it happen with them? Would you be willing to share them for debugging? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
You can check the metadata, for example with exiftool. Since RGB (RED, GREEN, BLUE) encoded files work for everyone, it probably doesn't happen with them. So spending a day testing if everything works as it always did doesn't make a lot of sense and won't help you. |
Beta Was this translation helpful? Give feedback.
-
It might be worth a shot running memtest86+ if you don't have ECC memory. If things sometimes work and sometimes don't, it's been faulty RAM more than once for me in the past ;-) Granted, more often than not it wasn't, but then again it's a low effort thing to rule out, except if you run a dozen important services on that machine that you don't want to have any downtime. |
Beta Was this translation helpful? Give feedback.
-
What I tried to do to allocate the root cause:
... no luck! any ideas? |
Beta Was this translation helpful? Give feedback.
-
To me, it looks like unexpected data in JPEG files. Either there's a bug in the parser (which is not from us directly) or some files are not standard compliant. Without test data, it's mostly fruitless guesswork for us. |
Beta Was this translation helpful? Give feedback.
-
Could well be a bug in the |
Beta Was this translation helpful? Give feedback.
-
@lastzero I can provide the file but I don't know which one for sure is a problematic one. There is no one file or group of files that breaks the process. I can provide the random one and you'll waste your time investigating something irrelevant.
No, I didn't yet. WIll check it tomorrow. |
Beta Was this translation helpful? Give feedback.
-
Anyhow, we need a way to reproduce this. There's always a chance it's a local issue. Guessing what it is doesn't work or at least requires more time than we have. |
Beta Was this translation helpful? Give feedback.
-
Well, here are some findings after hours of experiments :) I set up Debian on my very old and very slow laptop and run Photoprism there. And it does index the files with no issues. Which means that there is no issue with the pictures. Also, I found out that I can't install Ubuntu on my brand new PC/server. It end-ups with OS installation error. I assume there is some hardware issue. Tomorrow I'll change it to another PC with the same configuration and check if I can run Photoprism and index files there. ... to be continued :) |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your feedback! I am relieved that it is not a problem with the JPEG parser. I'll move this to Discussions then 👍 |
Beta Was this translation helpful? Give feedback.
-
Ok. Here are the outcomes of my journey. I didn't get the reason, but now it works. Probably it makes sense to add this workaround somewhere in the troubleshooting tutorial or even the docker-compose file. |
Beta Was this translation helpful? Give feedback.
-
Update: I finally found the root cause of the issue. |
Beta Was this translation helpful? Give feedback.
Well, here are some findings after hours of experiments :)
I set up Debian on my very old and very slow laptop and run Photoprism there. And it does index the files with no issues. Which means that there is no issue with the pictures.
Also, I found out that I can't install Ubuntu on my brand new PC/server. It end-ups with OS installation error. I assume there is some hardware issue. Tomorrow I'll change it to another PC with the same configuration and check if I can run Photoprism and index files there.
... to be continued :)