Photoprism 2.0.3 migration no longer able to import, permissions issues?

puppabriggy

Dabbler
Joined
Sep 25, 2022
Messages
29
Running TrueNAS-SCALE-23.10.2 just mgrated photoprism to 2.0.3. I'm unable to import photos, if I roll back the issues fixes itself. I've posted logs from photoprism and truenas. The app seems to think the files are locked or being used by another instance.


Photoprism log

1709425194462.png


this is the truenas log, the problem appears to be permissions relared. The apps user id is 568

1709425316914.png



Here is my folder permissions. the app folder are owned by the apps user which is 568 what am I doing wrong?
1709425452312.png
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
I think it would be interesting to see:

1. The full configuration of the app in the UI, copies of hostpaths, etc.
2. Do you use Truecharts or the IX systems app, or, a container via custom app

It's hard for anyone to say otherwise I suspect. I am using 2.0.3, no issues so I suspect it has something to do with your config, I did not change a thing.
 

puppabriggy

Dabbler
Joined
Sep 25, 2022
Messages
29
appreciate the assist. My config file is below. my import and config files reside in an app folder on my pool. I'm wondering if the originals folder is the issue. This share has the following permissions. drwx------ 28 apps apps 28 Jan 2 09:20 Photos


1709603638976.png


1709603669340.png


1709603693086.png


1709603719355.png
 

Attachments

  • 1709603878269.png
    1709603878269.png
    14.4 KB · Views: 27

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
Unfortunately, you are not running the IX app, you're running Truecharts and I don't use them so cannot help. I'd ask on their support forum which is on discord.
 

puppabriggy

Dabbler
Joined
Sep 25, 2022
Messages
29
this is the truenas version, not truecharts, see catalog information below. I've already learned my lesson with true charts, and avoid at all costs.

Catalog:TrueNAS
Train:charts
Chart Version:2.0.3
Maintainer:
truenas (dev@ixsystems.com)
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
All of your charts options in the UI are different than mine, for example, you are missing the enable ACL choices, and the sidecar options (I don't have those), and quite a few more differences. Yours is totally different than mine.
 

puppabriggy

Dabbler
Joined
Sep 25, 2022
Messages
29
is it possible your looking at the 2.0.3 config while mine is still 1.1.3?
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
is it possible your looking at the 2.0.3 config while mine is still 1.1.3?
It's more than possible, it's true. But you only have posted: "Running TrueNAS-SCALE-23.10.2 just mgrated photoprism to 2.0.3.", nowhere does it mention 1.1.3, so confused. It certainly looked like you were asking why you couldn't import on 2.0.3. I don't have 1.1.3 so can't be of much help I don't think. But one thing I am wondering, you showed permissions for import, really, the error is saying it can't move them to originals. What are the permissions of /mnt/pool_yaard1/filebackup/Photos directory? And the level above?

If I read your one post correctly. filebackup is owned by root and group users. What is Photos underneath that permissions?
 

puppabriggy

Dabbler
Joined
Sep 25, 2022
Messages
29
Permissions for the original folder is below. I'm wondering if group rw permissions are needed in addition to owner.
drwx------ 28 apps apps 28 Jan 2 09:20 Photos
 

sfatula

Guru
Joined
Jul 5, 2022
Messages
608
And the contents of Photos directory if any? You really need to trace every directory level. Even in import directory, so, what's under Google Pixel 8, below that, etc.
 

puppabriggy

Dabbler
Joined
Sep 25, 2022
Messages
29
I figured it out my permissions were screwy, the originals folder was owned by apps with full control, and the group was also set to apps but had restrictive permissions. I reset the owner to root and group to apps with rw. The update went smoothly and I can now imprt. Thanks much. you folks are awesome.
 
Top