# Can't login to Photoprism

**URL:** <https://syncloud.discourse.group/t/cant-login-to-photoprism/377>\
**Category:** Existing Apps\
**Tags:** photoprism\
**Created:** [10 September 2023 14:29 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377 "2023-09-10T14:29:43Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@Ryan](https://syncloud.discourse.group/u/Ryan)\
**Post date:** [10 September 2023 14:29 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/1 "2023-09-10T14:29:43Z")

</div>

App installed without errors but can not login.  
None of the user credentials are accepted including main admin.  
Is there a default login that needs to used to setup the app or should the admin credentials work?  
Has anyone had success accessing this app?

---

<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:** [10 September 2023 19:51 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/2 "2023-09-10T19:51:52Z")

</div>

The same user as in all other apps should work.  
Unles it does not like the name of your user, can you tell the name of the user you activated the device with (main user)?

To test you can install Users app and add a test user to check.

---

<div class="post-metadata">

**Author:** ![Ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@Ryan](https://syncloud.discourse.group/u/Ryan)\
**Post date:** [10 September 2023 20:44 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/3 "2023-09-10T20:44:36Z")

</div>

The users app is already installed and all user work in the other apps installed. Photoprism is the only app that does not recognize any user credentials.  
I added a test user named “test”, and pass word more than 10 characters using uppercase, lowercase and one special character and one number. Photoprism doesn’t recognize this test user either.  
Is there special requirements for user or password for photoprism different from what are acceptable in syncloud user app?

---

<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:** [10 September 2023 20:52 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/4 "2023-09-10T20:52:21Z")

</div>

I do not think so, just tried main user test/test1234 worked fine. Maybe there is an issue with non main user or something else.  
Can you send logs?

---

<div class="post-metadata">

**Author:** ![Ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@Ryan](https://syncloud.discourse.group/u/Ryan)\
**Post date:** [10 September 2023 21:02 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/5 "2023-09-10T21:02:14Z")

</div>

Made another attempt to login to Photoprism then sent logs.

---

<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:** [11 September 2023 05:38 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/6 "2023-09-11T05:38:37Z")

</div>

Just in case are you using Syncloud Users app, not Nextcloud users to add new users?

---

<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:** [11 September 2023 06:05 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/7 "2023-09-11T06:05:58Z")

</div>

Just created a user: test1 with password: filling-Mobile-10-stopped  
In Syncloud Users app and was able to login.  
Your error says invalid credentials which may mean user not found.

---

<div class="post-metadata">

**Author:** ![Ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@Ryan](https://syncloud.discourse.group/u/Ryan)\
**Post date:** [11 September 2023 09:54 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/8 "2023-09-11T09:54:35Z")

</div>

Yes I am using the syncloud user app. So I added this user with same credentials listed and it is the only one that can log in, although no settings are available in photoprism. I assume the admin account must do this. All other users including device admin can not log in.

---

<div class="post-metadata">

**Author:** ![Ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@Ryan](https://syncloud.discourse.group/u/Ryan)\
**Post date:** [11 September 2023 10:04 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/9 "2023-09-11T10:04:38Z")

</div>

Turns out that the syncloud users app thinks that a password with a space in it is “great” but photoprism will not allow it. Changed admin password and am now able to login.

---

<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:** [11 September 2023 11:14 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/10 "2023-09-11T11:14:13Z")

</div>

Oh great that you found it, I should make Users app a bit more strict.

> <https://github.com/syncloud/platform/issues/692>
>
> Fix Users password rules to not allow white spaces.

---

<div class="post-metadata">

**Author:** ![Ryan](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@Ryan](https://syncloud.discourse.group/u/Ryan)\
**Post date:** [11 September 2023 11:53 UTC](https://syncloud.discourse.group/t/cant-login-to-photoprism/377/11 "2023-09-11T11:53:59Z")

</div>

I don’t think of a space as unsecure but some apps may not be set up to handle them. Thank you for the prompt assistance.
