YunoHost-Apps / piwigo_ynh

Piwigo package for YunoHost
http://piwigo.org/
GNU General Public License v2.0
6 stars 4 forks source link

galleries directory deleted during upgrade #26

Closed nimch closed 6 years ago

nimch commented 6 years ago

Hi

For my personal use, I chose “synchronization method” of Piwigo. They call it FTP method… See there. piwigo/galleries is default directory for this method. My "workflow" is to rsync my local family album into this distant directory and synchronize with Piwigo tools to update pictures. Using this way, I can manage tags later for example and update them when I want.

In Yunohost install package, piwigo/upload and piwigo/_data are symlinked to /home/yunohost.app so I chose to move my piwigo/galleries and symlinked the same way.

Problem : piwigo/galleries is deleted during each upgrade !

I think it could be a good idea to handle piwigo/galleries like piwigo/upload and piwigo/_data, no ?

JimboJoe commented 6 years ago

Created PR https://github.com/YunoHost-Apps/piwigo_ynh/pull/28 to fix the problem. Thanks for reporting it!

nimch commented 6 years ago

Thanks for coding/sharing !