-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebDAV: Files uploaded from PhotoPrism to another server may be incomplete #3310
Comments
Probably an issue with the client library we use. That's why we have updated it. Unfortunately, I can't find any version information in your report. Does it still happen with our development preview? |
Oh sorry! I do use the latest version that is available under photoprism/photoprism:latest on dockerhub as of right now. |
I suppose you would like me to try the :preview (updated 2 hours ago) version and see whether the issue persist? |
That would be really helpful as a confirmation, so we know it's worth spending time to replace the library. |
@Zaczero I have replaced the Note that I have only tested the upload and download with Nextcloud so far. So it's theoretically possible that there are yet unknown issues with other servers including PhotoPrism itself (although I wouldn't expect that). I would therefore appreciate it if you and others could help with testing. Thank you very much! |
I'll test it in some spare time probably tomorrow or in 2 days ~. Thank you for the quick feedback and great support! |
Signed-off-by: Michael Mayer <michael@photoprism.app>
@Zaczero When we tested it ourselves today, we found that the upload did not work properly. This was because the upload did not start if the remote folder did not exist. Today's preview build |
I've changed the label to tested as we found no more issues and received no further feedback. |
…otoprism#3310 Signed-off-by: Michael Mayer <michael@photoprism.app>
Signed-off-by: Michael Mayer <michael@photoprism.app>
1. What is not working as documented?
When trying to upload an image directly from PhotoPrism to PhotoPrism (WebDAV) without using SSL or Nginx proxy, the uploaded file is corrupted. Only a small portion of the file is uploaded and there is no error or warning on the uploader side.
2. How can we reproduce it?
Steps to reproduce the behavior:
3. What behavior do you expect?
I expect the image to be successfully uploaded without any corruption.
4. What could be the cause of your problem?
It is possible that the issue is related to buffering, as putting PhotoPrism behind an Nginx proxy (with webdav support mod) (which buffers) has solved the issue.
This could be potentially related: #443
5. Can you provide us with example files for testing, error logs, or screenshots?
(invalid JPEG format: short Huffman data while decoding)
6. Which software versions do you use?
(a) PhotoPrism Architecture & Build Number: AMD64
(b) Database Type & Version: MariaDB
(c) Operating System Types & Versions: Linux
(d) Browser Types & Versions: Chromium
(e) Ad Blockers, Browser Plugins, and/or Firewall Software?: N/A
7. On what kind of device is PhotoPrism installed?
(a) Device / Processor Type N/A
(b) Physical Memory & Swap Space in GB: N/A
(c) Storage Type: HDD RAID NAS
(d) Anything else that might be helpful to know?: N/A
8. Do you use a Reverse Proxy, Firewall, VPN, or CDN?
No. Both instances are installed on the same machine and connected with a Docker network.
The text was updated successfully, but these errors were encountered: