# Photoprism cannot be installed (fresh install, no refresh)

**URL:** <https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641>\
**Category:** Existing Apps\
**Tags:** photoprism\
**Created:** [4 May 2026 16:18 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641 "2026-05-04T16:18:18Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [4 May 2026 16:18 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/1 "2026-05-04T16:18:18Z")

</div>

Hi Boris & team,  
photoprism cannot be installed. Restarted the machine → install try → logs sent.  
Here follows what I can see in the console:

```auto
root@syncloud:~# snap install photoprism
error: cannot perform the following tasks:
- Run configure hook of "photoprism" snap if present (run hook "configure":
-----
Error: exit status 1
exit status 1
-----)
root@syncloud:~#

```

Thanks for supporting me.  
SB

---

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [6 May 2026 11:21 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/2 "2026-05-06T11:21:23Z")

</div>

gentle reminder. Thanks in advance

SB

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [6 May 2026 15:22 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/3 "2026-05-06T15:22:13Z")

</div>

Right sorry, new version was pushed can you refresh and show me the output please?

---

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [6 May 2026 19:34 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/4 "2026-05-06T19:34:53Z")

</div>

I believe that my instance of Mysql is crashed (see below) because few days ago I was able to install it. Then I have removed it because the machine was overloaded and I wanted to know what app was responsible. Now it cannot be installed anymore (machine already rebooted). Here follows the error. Thanks a lot for your support. Logs sent

```auto
Run install hook of "photoprism" snap if present
error: cannot perform the following tasks:
- Run configure hook of "photoprism" snap if present (run hook
"configure":
-----
info executing {"cmd": "/snap/photoprism/current/bin/sql.sh --a
bort-source-on-error --execute CREATE DATABASE photoprism"}
info command output
info ERROR 2002 (HY000): Can't connect to local MySQL server th
rough socket '/var/snap/photoprism/current/mysql.sock' (2)
info
Error: exit status 1
exit status 1
-----)

```

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [7 May 2026 14:50 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/5 "2026-05-07T14:50:15Z")

</div>

Could you refresh one more time please?

---

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [7 May 2026 15:03 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/6 "2026-05-07T15:03:50Z")

</div>

sure. 198 is being installed…I’ll keep you up-to-date

---

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [7 May 2026 15:58 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/7 "2026-05-07T15:58:23Z")

</div>

install was successfull. NowI’ll try to restore settings…restore was successfull but I cannot access anymore with user and password (invalid credentials).  
I’ll restart the machine, try again and send the logs

😭😭😭 The machined cannot be booted anymlre. It is stuck on this, I can send only a photo:

 ![28900](https://global.discourse-cdn.com/free1/uploads/syncloud/original/1X/9f7a5a85d51bf903c0989e1e14d1198c99b0f48f.jpeg)

Tomorrow I’ll reflash the system and will restart ftom scratch. Fortunately apps can be restored quite quickly.

---

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [8 May 2026 14:28 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/8 "2026-05-08T14:28:16Z")

</div>

Hi Boris,  
reflashed the SD; reinstalled Photoprism; cannot enter the app: invalid credentials. I’ve tried both with admin credentials (main syncloud user) and with an additional user added in the Users app.  
Note: Photoprism is clean, I’ve not restored it through backup, just installed and tried.  
Logs just sent.  
Thanks a lot for your help

SB

---

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [8 May 2026 17:11 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/11 "2026-05-08T17:11:55Z")

</div>

update:  
I was able to access through the command `root@syncloud:~# sudo snap run photoprism.cli passwd [main syncloud user name]`  
Strange things you should investigate on, in my humble opinion:

1. fresh program (without restored data and configuration) on freshly flashed system;
2. the pwd I use for the main user is the same, why Photoprism didn’t recognize it? I have forced to change it to the same pwd and it works. Remember: yesterday, before reflashing the system, Photoprism was stuck on “invalid credentials”. It seems like that after your latest changes, something went wrong about credentials; I have reproduced this authentication error on a fresh Photprism installation. (note: I have reflashed the system because a major system error happened (see msg’s above) and it didn’ boot anymore. But I don’t think you will be able to reproduce that major crash.);
3. it seems like there is something “persistently stored” about the users in Syncloud and today itself I’ve found another problem on this. You can find it [here](https://syncloud.discourse.group/t/reusing-old-user-names-is-not-possible-request-for-advice/645/1)

I hope that some of these information can be useful for the development of Syncloud. Thanks in advance

`

---

<div class="post-metadata">

**Author:** ![boris](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@boris](https://syncloud.discourse.group/u/boris)\
**Post date:** [8 May 2026 21:01 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/12 "2026-05-08T21:01:03Z")

</div>

Did you send logs right after having login issues?  
Currently there is nothing in the log about failing attempts, please send send next time. What you did to use clinto set password is a workaround which is not fixing the root cause and should not be used.

---

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [8 May 2026 23:16 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/13 "2026-05-08T23:16:51Z")

</div>

Hi Boris,  
sorry for missing logs. Just sent them. Here follows what you will find in the logs:

1. removed photoprism
2. installed photoprism, just installation, no data/configuration restore
3. login attempt into photoprism → invalid credentials

Note that yesterday, before reflashing the SD card with a fresh image, I was stuck in the same situation after the latest upgrade of photoprism (198 if I’m not wrong).

Thanks in advance for your help

Simone

---

<div class="post-metadata">

**Author:** ![SimoneBuralli](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SimoneBuralli](https://syncloud.discourse.group/u/SimoneBuralli)\
**Post date:** [11 May 2026 14:00 UTC](https://syncloud.discourse.group/t/photoprism-cannot-be-installed-fresh-install-no-refresh/641/14 "2026-05-11T14:00:31Z")

</div>

I think you have fixed it. Just reinstalled and I can access the UI. Thanks
