# Photoprism mount as Webdav

**URL:** <https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423>\
**Category:** Existing Apps\
**Tags:** photoprism\
**Created:** [23 May 2024 13:11 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423 "2024-05-23T13:11:56Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![marxistvegan](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/marxistvegan/32/22_2.png) [@marxistvegan](https://syncloud.discourse.group/u/marxistvegan)\
**Post date:** [23 May 2024 13:11 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/1 "2024-05-23T13:11:56Z")

</div>

Hey all,

I am running Fedora and wanted to mount Photoprism as a drive to work on specific images, but I am not having any success with it. Anyone have success in doing this I feel it should work, but under Account the “Connect Via Webdav” is greyed out

 ![image](https://global.discourse-cdn.com/free1/uploads/syncloud/original/1X/8a640c91af27411bb7634862e11d734ef3107457.png)

---

<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:** [23 May 2024 19:41 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/2 "2024-05-23T19:41:09Z")

</div>

Have you tried connecting as your main user?

```auto
Server URL

The originals folder URL for a server exposed to the public Internet is:

https://admin@example.com/originals/

```

Their doc mentions the example url: [WebDAV - PhotoPrism](https://docs.photoprism.app/user-guide/sync/webdav/)

---

<div class="post-metadata">

**Author:** ![marxistvegan](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/marxistvegan/32/22_2.png) [@marxistvegan](https://syncloud.discourse.group/u/marxistvegan)\
**Post date:** [23 May 2024 22:26 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/3 "2024-05-23T22:26:02Z")

</div>

Yeah I have tried that, no success.

---

<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:** [24 May 2024 15:45 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/4 "2024-05-24T15:45:52Z")

</div>

Ok tried with Ubuntu Files app and it does not work, for me says unauthorized, created and issue

> <https://github.com/syncloud/platform/issues/706>
>
> suggested url seems to a valid webdavs endpoint but connecting to it produces 40…1 unauthorized response https://admin@example.com/originals/
> 
> Log says that ldap auth is ok but service still thinks it is not authorized.
> \`\`\`
> May 24 15:33:27 syncloud slapd\[24458\]: conn=2195 fd=10 closed (connection lost)
> May 24 15:33:28 syncloud slapd\[24458\]: conn=2196 fd=10 ACCEPT from IP=127.0.0.1:44354 (IP=127.0.0.1:389)
> May 24 15:33:28 syncloud slapd\[24458\]: conn=2196 op=0 BIND dn="cn=admin,ou=users,dc=syncloud,dc=org" method=128
> May 24 15:33:28 syncloud slapd\[24458\]: conn=2196 op=0 BIND dn="cn=admin,ou=users,dc=syncloud,dc=org" mech=SIMPLE ssf=0
> May 24 15:33:28 syncloud slapd\[24458\]: conn=2196 op=0 RESULT tag=97 err=0 text=
> May 24 15:33:28 syncloud slapd\[24458\]: conn=2196 op=1 SRCH base="cn=syncloud,ou=groups,dc=syncloud,dc=org" scope=2 deref=3 filter="(memberUid=admin)"
> May 24 15:33:28 syncloud slapd\[24458\]: conn=2196 op=1 SRCH attr=memberUid
> May 24 15:33:28 syncloud slapd\[24458\]: \<= mdb\_equality\_candidates: (memberUid) not indexed
> May 24 15:33:28 syncloud slapd\[24458\]: conn=2196 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
> May 24 15:33:28 syncloud slapd\[24458\]: conn=2196 fd=10 closed (connection lost)
> May 24 15:33:28 syncloud photoprism.web\[483\]: time="2024-05-24T15:33:28Z" level=debug msg="server: OPTIONS /originals/ (401) \[20.379684ms\]"
> \`\`\`

Currently fixing transmission restart issue, will check this one next.

---

<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:** [28 May 2024 17:51 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/5 "2024-05-28T17:51:09Z")

</div>

Just pushed an update, webdav should work now.

---

<div class="post-metadata">

**Author:** ![marxistvegan](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/marxistvegan/32/22_2.png) [@marxistvegan](https://syncloud.discourse.group/u/marxistvegan)\
**Post date:** [30 May 2024 13:04 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/6 "2024-05-30T13:04:38Z")

</div>

Thanks it works perfectly!

---

<div class="post-metadata">

**Author:** ![marxistvegan](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/marxistvegan/32/22_2.png) [@marxistvegan](https://syncloud.discourse.group/u/marxistvegan)\
**Post date:** [4 June 2024 15:45 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/7 "2024-06-04T15:45:07Z")

</div>

One followup, the sync option despite being set to every 1 hour or 4 hours and it only does it once a day. Not sure if others are seeing this too?

---

<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:** [4 June 2024 17:40 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/8 "2024-06-04T17:40:01Z")

</div>

What sync option, can you show a screenshot?

---

<div class="post-metadata">

**Author:** ![marxistvegan](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/marxistvegan/32/22_2.png) [@marxistvegan](https://syncloud.discourse.group/u/marxistvegan)\
**Post date:** [5 June 2024 13:11 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/9 "2024-06-05T13:11:58Z")

</div>

This is under the service settings.  
The folder was still loading at the time of the screen shot.

 ![image](https://global.discourse-cdn.com/free1/uploads/syncloud/original/1X/706ceeeb317cf881ae2fe3a8a2c9a98c618adda4.png)

---

<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:** [5 June 2024 14:18 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/10 "2024-06-05T14:18:21Z")

</div>

I will try to look, as I need this myself now 🙂

---

<div class="post-metadata">

**Author:** ![marxistvegan](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/marxistvegan/32/22_2.png) [@marxistvegan](https://syncloud.discourse.group/u/marxistvegan)\
**Post date:** [5 June 2024 18:05 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/11 "2024-06-05T18:05:31Z")

</div>

I might tinker with the import via webdav feature too to remove the photos from nextcloud too

---

<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 June 2024 16:50 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/12 "2024-06-06T16:50:15Z")

</div>

same problem, new photo is in nextcloud but photoprism even set to sync hourly does not bring it in. will wait for a day to see, probably an issue in photoprism.

---

<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 June 2024 17:03 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/13 "2024-06-06T17:03:49Z")

</div>

actually I see in the log it does the sync regularly, but it failed to index.

You can check if you have the same issue:

```auto
journalctl -u snap.photoprism.* | grep sync | grep Next

journalctl -u snap.photoprism.* | grep failed

```

photoprism discussion: [sync faied to index · photoprism/photoprism · Discussion #4322 · GitHub](https://github.com/photoprism/photoprism/discussions/4322)

---

<div class="post-metadata">

**Author:** ![marxistvegan](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/marxistvegan/32/22_2.png) [@marxistvegan](https://syncloud.discourse.group/u/marxistvegan)\
**Post date:** [6 June 2024 18:47 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/14 "2024-06-06T18:47:38Z")

</div>

Oh that would explain why photos show up when I manually restart the indexing!

---

<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:** [19 June 2024 20:25 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/15 "2024-06-19T20:25:20Z")

</div>

I am testing an upgrade from sqlite db to maria db as suggested by photoprism developers and it seems better. Unfortunately there is no easy migration of the existing database so on upgrade you will have to reindex everything and I assume tag people again ☹ as database will be empty, files of course will stay in originals.

---

<div class="post-metadata">

**Author:** ![marxistvegan](https://yyz2.discourse-cdn.com/free1/user_avatar/syncloud.discourse.group/marxistvegan/32/22_2.png) [@marxistvegan](https://syncloud.discourse.group/u/marxistvegan)\
**Post date:** [25 June 2024 18:25 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/16 "2024-06-25T18:25:04Z")

</div>

oh ok, so when or how will we know if the DB is upgraded and that we need to rerun the index?

---

<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:** [25 June 2024 19:02 UTC](https://syncloud.discourse.group/t/photoprism-mount-as-webdav/423/17 "2024-06-25T19:02:31Z")

</div>

I was about to push a new version, as soon as it auto updates you will lose the index and need to do a full reindex again. Will happend tomorrow if all goes to plan.  
Originals will be intact.
