LibrePhotos / librephotos

A self-hosted open source photo management service. This is the repository of the backend.
MIT License
6.87k stars 298 forks source link

Issue with downloading the contents of an album... #1335

Closed miniMUSK closed 1 month ago

miniMUSK commented 2 months ago

🐛 Bug Report

📝 Description of issue:

Below is my post from Ticket #375 "I am also having issues with downloading pictures. I am trying to download just one album worth of pictures (120 photos) however, when I select the album and select all photos, then download, nothing happens. If i go to the photos tab and select all it does download a ZIP file but the download only takes about 5 seconds and there are only 18 photos in the download when I selected all my photos (over 4k). When I go to my worker log it does not show anything for Download Selected Photos like the picture above from @loulou91, I am very new to LibrePhotos only started using it a couple months ago. I love it but besides making it accessible publicly (not a simple way?), this has been my first obstacle since starting to use it and now I am seeking guidance..."

ownphotos.log

🔁 How can we reproduce [it:] I am going to my album and selecting all photos in it (120) and going to top right where the 3 dots are next to the plus sign and selecting download.

Please provide additional information:

derneuere commented 2 months ago

A tried to reproduce it, there are multiple potential causes:

  1. 715 only visible images will get downloaded, there is no way yet to "select all" and the download yet.

  2. If you configured the proxy yourself, this part is important and should be kept https://github.com/LibrePhotos/librephotos-docker/blob/e42d8e749a5040ceab70ed0b53106d586519a269/proxy/nginx.conf#L25C5-L29C6
  3. If there is already a long running job running than the download job did not start yet
  4. The zip file gets downloaded first and then it will show the download dialog after it has already downloaded the file.

The real issue is probably the singleton image. It's quite old and not update to date anymore. I would recommend switching to docker compose instead :)