photoprism stuck at deploying

urobe

Contributor
Joined
Jan 27, 2017
Messages
113
Hey there, I'm trying to get photoprism to run on scale bluefin, but it's stuck at deploying. These are the logs:
Code:
 2023-04-01 11:15:30
Error: ImagePullBackOff
2023-04-01 11:15:30
Back-off pulling image "photoprism/photoprism:221118-jammy"
2023-04-01 11:15:29
Error: ErrImagePull
2023-04-01 11:15:29
Failed to pull image "photoprism/photoprism:221118-jammy": rpc error: code = Unknown desc = context deadline exceeded
2023-04-01 11:13:30
Add eth0 [172.16.0.8/16] from ix-net
2023-04-01 11:13:30
Pulling image "photoprism/photoprism:221118-jammy"
2023-04-01 11:13:27
Scaled up replica set photoprism-7bb55d8ff9 to 1
2023-04-01 11:13:27
Created pod: photoprism-7bb55d8ff9-q46f6
2023-04-01 11:13:27
Successfully assigned ix-photoprism/photoprism-7bb55d8ff9-q46f6 to ix-truenas
2023-04-01 11:13:24
Failed to pull image "photoprism/photoprism:221118-jammy": rpc error: code = Unknown desc = context deadline exceeded
2023-04-01 11:13:24
Error: ErrImagePull
2023-04-01 11:11:25
Add eth0 [172.16.0.7/16] from ix-net
2023-04-01 11:11:25
Pulling image "photoprism/photoprism:221118-jammy"
2023-04-01 11:11:24
Deleted pod: photoprism-69d7fb649f-fxgwm
2023-04-01 11:11:23
Scaled up replica set photoprism-69d7fb649f to 1 from 0
2023-04-01 11:11:23
Created pod: photoprism-69d7fb649f-fxgwm
2023-04-01 11:11:23
Successfully assigned ix-photoprism/photoprism-69d7fb649f-fxgwm to ix-truenas
2023-04-01 11:11:09
Deleted pod: photoprism-69d7fb649f-8bwbx
2023-04-01 11:11:09
Scaled down replica set photoprism-69d7fb649f to 0 from 1
2023-04-01 11:03:39
Back-off pulling image "photoprism/photoprism:221118-jammy"
2023-04-01 11:03:39
Error: ImagePullBackOff
2023-04-01 11:03:39
Failed to pull image "photoprism/photoprism:221118-jammy": rpc error: code = Unknown desc = context deadline exceeded
2023-04-01 11:03:39
Error: ErrImagePull
2023-04-01 11:01:40
Add eth0 [172.16.0.6/16] from ix-net
2023-04-01 11:01:40
Pulling image "photoprism/photoprism:221118-jammy"
2023-04-01 11:01:37
Job completed
2023-04-01 11:01:37
Scaled up replica set photoprism-69d7fb649f to 1
2023-04-01 11:01:37
Created pod: photoprism-69d7fb649f-8bwbx
2023-04-01 11:01:37
Successfully assigned ix-photoprism/photoprism-69d7fb649f-8bwbx to ix-truenas
2023-04-01 11:01:32
Created container pre-install-job
2023-04-01 11:01:32
Started container pre-install-job
2023-04-01 11:01:28
Successfully pulled image "alpine:latest" in 5.336164334s
2023-04-01 11:01:23
Add eth0 [172.16.0.5/16] from ix-net
2023-04-01 11:01:23
Pulling image "alpine:latest"
2023-04-01 11:01:20
Created pod: photoprism-preinstall-job-wmwms
2023-04-01 11:01:20
Successfully assigned ix-photoprism/photoprism-preinstall-job-wmwms to ix-truenas


It' be great if anyone could point me in the right direction!
-Tobi
 

JakobTech

Cadet
Joined
Apr 7, 2023
Messages
1
Facing the same issue, for me it worked by disabling SMB for the dataset but it's a very temporary fix.
 

zpbruno

Cadet
Joined
May 3, 2023
Messages
1
Seeing this problem elsewhere on the forums talked about a 2 minute timeout to pull docker images automatically. I don't know if that's a true diagnosis or not, but I do know that manually pulling the docker image then trying the pushbutton install again worked for me.

From the front page Go to System Settings->Shell
at the shell prompt type "docker pull photoprism/photoprism:221118-jammy" (without the quotes)
Wait for that operation to finish, then go back to Apps and try to install again. Seeing that the latest image is already pulled it should work just fine now.
 

Lord Baldrick

Dabbler
Joined
Oct 5, 2023
Messages
20
I tried to install (the IX version of) Photoprism and it kept timing out (at 75% progress if that matters).

I have TrueNAS-SCALE-23.10.0.1 (which doesn't have docker installed so the previous answers didn't help) .. so I took a punt and pointed at a small directory for photos (a few hundred instead of tens of thousands). The installation succeeded (I think it was the fourth time I'd tried). I changed the config to point back to the larger directory and the subsequent re-deploy worked fine. I don't know whether it was coincidence or not but it's an experiment worth trying if others have the same problem.
 

fjpanna

Cadet
Joined
Nov 25, 2020
Messages
7
Hello, I've installed Photoprism and I'm having two issues on TrueNas Scale. #1 TrueNas APPS stuck at deploying. #2 I can log into the web gui and it's gets stuck indexing my pics, have several thousand, gets stuck at 600. I tried the commands above but get error using the "docker" command and get command not found when I open system shell.

My goal - photoprism on server, photosync on phones, backup pics to my server.

Unlike other apps not to many setup tutorials for Photoprism on Scale.

Any help is appreciated.
 

Haibane

Dabbler
Joined
Oct 22, 2023
Messages
18
Same issue here. Stuck at deploying forever since updated to 2.x.x.
any modification to the cache dataset acl will permanently brick it - even when the owner is apps and permissions are set to free for all.
Reverted to 1.1.3
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
163
I managed to deploy it, but I can't see any pictures, no matter where I mount the pictures folder I have on my dataset. what am I missing?
 
Top