Scripted Photoprism Installation (TrueNAS CORE)

i figured to “fix” my situation, in some tricky way.
I dont know if i have done right, but at least is working and i dont need to duplicate my photos.
I “hardcoded” the installation script to use the path i tried to mount previously (different from pool path variable, where all my media are), instead of the one set as variable in the config file; I’m keeping the db in a dataset on the same pool of the jail (outside, obv), just because is a NVME pool, and i think he benefit of that.
I tried to copy just one folder in originals, apply permission

chown -R photoprism:photoprism /mnt/photos

and FINALLY he recognize the folder, and can start the index scan!
I will test a bit then move all media inside this folder.

I reported because, maybe, someone else can find it usefull.

and for the first time from i build the nas, i see my little i3 doing something :laughing: :laughing: :laughing:
Screenshot 2024-06-21 095438

1 Like

So according to this thread in the old forums you need to mount your photos at /mnt/photos/originals for it to pick them up.

… or some subfolder thereof - or not? Just curious.

From what I read, I think not. But someone would have to try.

yes (i have read that thread a lot :laughing:).
the script (rightly) mounts the files/db outside the jail, and this at least for me made impossible to link another data source in the path that photoprism expects.
Having move the dataset outside the pool, in the same of photo source, make it easier to manage (i will have justo to move all content into the original folder, from now on, instead of put folder directly in the dataset).
Now he recognize the subfolder too without problem

in hindsight, maybe just put the right “pool path” could be enough

Photoprism looks very interesting. I have an old CPU, an e5-2690v2. This site seems to indicate it has AVX, but it also shows that the newer I7-7100 you seem to be using has that as well. Is it the newer AVX-2 or AVX-512 that is the issue? I’m just interested in whether it will run on my CPU before trying to install it.

[How to check if my CPU supports AVX or AVX2 instructions? - GhostArrow]

Best way would be to just try to install it. The 12.4 version of the photoprism package used to work on my CPU, but since the new 13.2 packages it doesn’t anymore.

If, when you try to start it it says illegal instruction then that means your CPU probably doesn’t support it.

@oxyde What is your CPUs input in this conversation?

My Cpu has AVX2, actually is working hard and well, despite the 2 cores only (indexing files stress a lot, but he handle).