[GH-ISSUE #10435] Photoprism update - photoprism not installed #2253

Closed
opened 2026-02-26 12:51:48 +03:00 by kerem · 4 comments
Owner

Originally created by @Maxzhao1999 on GitHub (Dec 30, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10435

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 What is the name of the script you are using?

PhotoPrism

📂 What was the exact command used to execute the script?

update

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

pve-manager/9.1.2/9d436f37a0ac4172 (running kernel: 6.14.11-4-pve)

📝 Provide a clear and concise description of the issue.

Photoprism fails to update from 250707-d28b3101e. Says "Update available: photoprism not installed → 251130-b3068414c"

🔄 Steps to reproduce the issue.

update

Paste the full error output (if available).

Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libjq1 libonig5
The following NEW packages will be installed:
jq libjq1 libonig5
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 385 kB of archives.
After this operation, 1,164 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 libjq1 amd64 1.6-2.1+deb12u1 [134 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 jq amd64 1.6-2.1+deb12u1 [63.7 kB]
Fetched 385 kB in 0s (3,137 kB/s)
Selecting previously unselected package libonig5:amd64.
(Reading database ... 50790 files and directories currently installed.)
Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.8-1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../libjq1_1.6-2.1+deb12u1_amd64.deb ...
Unpacking libjq1:amd64 (1.6-2.1+deb12u1) ...
Selecting previously unselected package jq.
Preparing to unpack .../jq_1.6-2.1+deb12u1_amd64.deb ...
Unpacking jq (1.6-2.1+deb12u1) ...
Setting up libonig5:amd64 (6.9.8-1) ...
Setting up libjq1:amd64 (1.6-2.1+deb12u1) ...
Setting up jq (1.6-2.1+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
✔️ Update available: photoprism not installed → 251130-b3068414c
✔️ Stopped PhotoPrism
✔️ Added environment export
Fetching GitHub release: photoprism (251130-b3068414c)/dev/fd/63: line 1996: /root/.photoprism: Is a directory
✖️ in line 1996: exit code 1 (General error / Operation not permitted): while executing command echo "$version" > "$version_file"

🖼️ Additional context (optional).

No response

Originally created by @Maxzhao1999 on GitHub (Dec 30, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/10435 ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? PhotoPrism ### 📂 What was the exact command used to execute the script? update ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? pve-manager/9.1.2/9d436f37a0ac4172 (running kernel: 6.14.11-4-pve) ### 📝 Provide a clear and concise description of the issue. Photoprism fails to update from 250707-d28b3101e. Says "Update available: photoprism not installed → 251130-b3068414c" ### 🔄 Steps to reproduce the issue. update ### ❌ Paste the full error output (if available). Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://deb.nodesource.com/node_22.x nodistro InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: libjq1 libonig5 The following NEW packages will be installed: jq libjq1 libonig5 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 385 kB of archives. After this operation, 1,164 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] Get:2 http://deb.debian.org/debian bookworm/main amd64 libjq1 amd64 1.6-2.1+deb12u1 [134 kB] Get:3 http://deb.debian.org/debian bookworm/main amd64 jq amd64 1.6-2.1+deb12u1 [63.7 kB] Fetched 385 kB in 0s (3,137 kB/s) Selecting previously unselected package libonig5:amd64. (Reading database ... 50790 files and directories currently installed.) Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... Unpacking libonig5:amd64 (6.9.8-1) ... Selecting previously unselected package libjq1:amd64. Preparing to unpack .../libjq1_1.6-2.1+deb12u1_amd64.deb ... Unpacking libjq1:amd64 (1.6-2.1+deb12u1) ... Selecting previously unselected package jq. Preparing to unpack .../jq_1.6-2.1+deb12u1_amd64.deb ... Unpacking jq (1.6-2.1+deb12u1) ... Setting up libonig5:amd64 (6.9.8-1) ... Setting up libjq1:amd64 (1.6-2.1+deb12u1) ... Setting up jq (1.6-2.1+deb12u1) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9+deb12u13) ... ✔️ Update available: photoprism not installed → 251130-b3068414c ✔️ Stopped PhotoPrism ✔️ Added environment export ⏳ Fetching GitHub release: photoprism (251130-b3068414c)/dev/fd/63: line 1996: /root/.photoprism: Is a directory ✖️ in line 1996: exit code 1 (General error / Operation not permitted): while executing command echo "$version" > "$version_file" ### 🖼️ Additional context (optional). _No response_
kerem 2026-02-26 12:51:48 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MickLesk commented on GitHub (Dec 30, 2025):

Whats inside of /root/.photoprism ?

<!-- gh-comment-id:3700192246 --> @MickLesk commented on GitHub (Dec 30, 2025): Whats inside of /root/.photoprism ?
Author
Owner

@Maxzhao1999 commented on GitHub (Jan 3, 2026):

Apologies for the late reply.

root@photoprism:~# cd .photoprism/
root@photoprism:~/.photoprism# ls
storage
root@photoprism:~/.photoprism# cd storage/
root@photoprism:~/.photoprism/storage# ls
backup  cache  config  index.db  serial  sidecar  users
<!-- gh-comment-id:3706539890 --> @Maxzhao1999 commented on GitHub (Jan 3, 2026): Apologies for the late reply. ``` root@photoprism:~# cd .photoprism/ root@photoprism:~/.photoprism# ls storage root@photoprism:~/.photoprism# cd storage/ root@photoprism:~/.photoprism/storage# ls backup cache config index.db serial sidecar users ```
Author
Owner

@OBerghmans commented on GitHub (Jan 25, 2026):

Can this be re-opened or do I create a new issue? I have the same:

  ✔️   Update available: photoprism not installed → 251130-b3068414c
  ✔️   Stopped PhotoPrism
  ⏳   Fetching GitHub release: photoprism (251130-b3068414c)/dev/fd/63: line 2002: /root/.photoprism: Is a directory
  ✖️   in line 2002: exit code 1 (General error / Operation not permitted): while executing command echo "$version" > "$version_file"

And that directory:

root@photoprism:~# ls -Rl /root/.photoprism/
/root/.photoprism/:
total 4
drwxr-xr-x 2 root root 4096 Sep  4  2024 storage

/root/.photoprism/storage:
total 0
<!-- gh-comment-id:3796264758 --> @OBerghmans commented on GitHub (Jan 25, 2026): Can this be re-opened or do I create a new issue? I have the same: ``` ✔️ Update available: photoprism not installed → 251130-b3068414c ✔️ Stopped PhotoPrism ⏳ Fetching GitHub release: photoprism (251130-b3068414c)/dev/fd/63: line 2002: /root/.photoprism: Is a directory ✖️ in line 2002: exit code 1 (General error / Operation not permitted): while executing command echo "$version" > "$version_file" ``` And that directory: ``` root@photoprism:~# ls -Rl /root/.photoprism/ /root/.photoprism/: total 4 drwxr-xr-x 2 root root 4096 Sep 4 2024 storage /root/.photoprism/storage: total 0 ```
Author
Owner

@MickLesk commented on GitHub (Jan 25, 2026):

Create an new please

<!-- gh-comment-id:3796384811 --> @MickLesk commented on GitHub (Jan 25, 2026): Create an new please
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#2253
No description provided.