Open Pursch opened 8 months ago
Since we don't have a local test setup for this: Can you please check what kind of WebDAV authentication the TrueNAS app expects/supports? Basic Auth? Bearer Token? Also, make sure that you have not omitted any parts of the URL, e.g. a trailing slash, and that the host is reachable from the container/environment where PhotoPrism is running. Thank you very much!
Hi lastezero, thank you for your hints! Authentication mechanisms supported and tested are No Auth and Basic Auth, both tested and both not working. WebDAV URL and access from the PhotoPrism container to the WebDAV container checked with wget, I receive an index.html page so basically access is possible.
Hi!
1. What is not working as documented? Sync Access via WebDAV running on a Truenas server seems to be broken. No matter if I choose up- or download, I get the same error messages.
Error with activated WebDAV Basic Auth:
sync: 401 Unauthorized: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>401 Unauthorized</title> </head><body> <h1>Unauthorized</h1> <p>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.</p> </body></html>
There is no error, if I use the same settings from the command line within the app:
Accessing the URL by webbrowser works fine too.
Error without WebDAV Auth:
2. How can we reproduce it? Got to Settings -> Services -> Connect+ Add a Webdav server running as Truenas App -> Save Configure Sync, no folder selection is possible -> Save -> A triangle is shown on the sync symbol. Lookup error messages.
I configured a second service to connect to a Nextcloud server without problems.
3. What behavior do you expect? Connect to the WebDAV server running on Truenas
4. What could be the cause of your problem? No idea.
5. Can you provide us with example files for testing, error logs, or screenshots? WebDAV App
PhotoPrism service
Error message
6. Which software versions do you use?
PhotoPrism: Build [231128-f48ff16ef] running as Truenas app, Chart Version: 2.0.3 WebDAV: App Version: 2.4.58, Chart Version: 1.0.20 runing as Truenas app Truenas version: TrueNAS-23.10.1.3 (WebDAV is an App since 23.0)
7. On what kind of device is PhotoPrism installed? AMD Ryzen 3900X, 128GB RAM, 2 x NVMe SSD, 1 GbE
8. Do you use a Reverse Proxy, Firewall, VPN, or CDN? No.
Thank you for your care!
Pursch