-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
WebDAV: Don't allow two-way file sync #1785
Copy link
Copy link
Closed
Labels
enhancementEnhancement or improvement of an existing featureEnhancement or improvement of an existing featurereleasedAvailable in the stable releaseAvailable in the stable releaseuxImpacts User ExperienceImpacts User Experience
Metadata
Metadata
Assignees
Labels
enhancementEnhancement or improvement of an existing featureEnhancement or improvement of an existing featurereleasedAvailable in the stable releaseAvailable in the stable releaseuxImpacts User ExperienceImpacts User Experience
Type
Projects
Status
Release 🌈
What does not work as expected?
When setting up a remote sync WebDAV server (Settings → Sync) with both "Download remote files" enabled and also "Upload local files" enabled, Photoprism will first download remote files as expected, but then will upload those same files back to the WebDAV server, creating duplicates.
Additionally, there is an issue with the upload path: The sync server is configured to download files only from WebDAV subfolder A/… The spurious uploads then happen on path A/A/… (duplicated A). Example: Photoprism downloads file
A/some/sub/folder/picture.jpgand then reuploads it asA/A/some/sub/folder/picture.jpg.How can we reproduce it?
Set up as described above.
What behavior do you expect?
Only files which were not downloaded from WebDAV sync server should be uploaded to a WebDAV sync server.
Can you provide us with example files for testing or screenshots?
N/A
What version you are using?
Running PhotoPrism® 211010-83b4f783-Linux-x86_64
Any other helpful information?
Due to #1781 I had to remove the sync target several times during the download phase. Maybe that has had an influence afterwards?