Announcement

#1 2024-02-17 05:53:56

mb
Member
2024-02-17
2

Synchronise from galleries

I am trying to Synchronise images from the galleries directory to create an album.  I am new to Piwigo and I have been reading through many forums and have not been able to understand the syncing process and what I am doing wrong.

I have piwigo running in docker on synology.  I have copied a folder with a test image to galleries, plus I have used "sudo mount --bind" on synology to create a symlink from a folder with a few images to /volume1/docker/piwigo/gallery/galleries

when I run tools-sync I get the following.  I am sure I am missing something basic. 

0 albums added to the database
0 photos added to the database
0 albums deleted in the database
0 photos deleted from the database
0 photos updated in the database
0 errors during synchronisation




Piwigo 14.2.0 Check for upgrade
Operating system: Linux
PHP: 8.3.2 (Show info) [2024-02-16 21:37:49]
MySQL: 8.3.0 [2024-02-17 04:37:49]
Graphics Library: ImageMagick 7.1.1-26

Last edited by mb (2024-02-17 05:56:12)

Offline

 

#2 2024-02-17 08:16:46

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7208

Re: Synchronise from galleries

Hi :-)

in piwigo

piwigo/galleries/yourAlbum


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2024-02-17 15:41:41

mb
Member
2024-02-17
2

Re: Synchronise from galleries

Sorry, I am not understanding your response. 

my docker configuration looks like this

volumes:
      - /volume1/docker/piwigo:/config:rw
      - /volume1/docker/piwigo/gallery:/gallery:rw

Offline

 

#4 2024-02-20 22:52:55

rw22mhhs
Member
2024-01-30
6

Re: Synchronise from galleries

Hi,

Not sure whether this helps, but in my case it was a missing subfolder in the galleries' folder that caused the same error. The moment I created another folder and stored the pictures in that subfolder, it worked. Obviously, images are not recognized if stored directly in the galleries' folder.

Cheers

Offline

 

#5 2024-03-06 08:16:51

Dal
Member
2023-10-14
17

Re: Synchronise from galleries

As long as you are using docker, you have to mount your pictures folder as a volume.
Like this:

volumes:
      - /volume1/docker/piwigo:/config:rw
      - /volume1/docker/piwigo/gallery:/gallery:rw
      - /my_pictures_folder:/gallery/galleries/my_pictures_folder:ro

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact