Piwigo / Piwigo

Manage your photos with Piwigo, a full featured open source photo gallery application for the web. Star us on Github! More than 200 plugins and themes available. Join us and contribute!
https://piwigo.org
GNU General Public License v2.0
3.22k stars 439 forks source link

Photos uploaded by Remote Sync are orphaned but not shown #2204

Closed jradwan closed 2 months ago

jradwan commented 2 months ago

I was trying the Remote Sync tool (https://[piwigo.org/ext/index.php?eid=851](https://piwigo.org/ext/index.php?eid=851)) against my 15.0.0beta2 installation and although an album was created and the photos were uploaded (according to the log), the album appears empty and the photos are listed as orphans but are not actually displayed.

image

image

I've never use the Remote Sync tool before, and it doesn't look like it's been updated in a while (5 years?), so not sure if this is an issue with the tool or the v15 beta.

plegall commented 2 months ago

If you upload a photo on page [Administration > Photos > Add], does it solves the problem?

jradwan commented 2 months ago

Yes, adding photos via "Add" seems to work as expected. And if I purposely orphan a photo (unlink it from an album), it appears on the Orphans page properly. I just seems to be when using the Remote Sync tool.

plegall commented 2 months ago

In the following workflow: 1) you add photos with sync 2) you see them as orphans 3) you add 1 photo with upload form (of course this one is not orphan) 4) are the photos added by sync earlier still orphans?

jradwan commented 2 months ago

That did indeed fix it.

  1. add photos with sync, album(s) created
  2. see 29 orphans, but no images shown
  3. uploaded a single photo
  4. orphans indicator from sync upload disappeared

Everything looks as expected after that.

plegall commented 2 months ago

I'll see if someone can work on https://github.com/Piwigo/Piwigo-Java/issues/26

For now I close this issue (as it is already described on the Piwigo Remote Sync repository)

jradwan commented 2 months ago

Ah, nice! Sorry, I didn't realize there was a separate repo for the sync tool.