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
boris
23 May 2024 19:41
2
Have you tried connecting as your main user?
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
Yeah I have tried that, no success.
boris
24 May 2024 15:45
4
Ok tried with Ubuntu Files app and it does not work, for me says unauthorized, created and issue
opened 03:44PM - 24 May 24 UTC
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.
1 Like
boris
28 May 2024 17:51
5
Just pushed an update, webdav should work now.
1 Like
Thanks it works perfectly!
1 Like
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?
boris
4 June 2024 17:40
8
What sync option, can you show a screenshot?
This is under the service settings.
The folder was still loading at the time of the screen shot.
boris
5 June 2024 14:18
10
I will try to look, as I need this myself now
1 Like
I might tinker with the import via webdav feature too to remove the photos from nextcloud too
boris
6 June 2024 16:50
12
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.
boris
6 June 2024 17:03
13
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:
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
Oh that would explain why photos show up when I manually restart the indexing!
boris
19 June 2024 20:25
15
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.
oh ok, so when or how will we know if the DB is upgraded and that we need to rerun the index?
boris
25 June 2024 19:02
17
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.
1 Like