Announcement

#1 2017-03-03 16:44:39

krist
Member
2016-01-30
53

Lost photos -How to rebuild

Hello/Hi/Greetings,

(Here your message)

Piwigo version: 2.82
PHP version: 1:7.0+49
MySQL version: 5.6.30-1
Piwigo URL: http://localhost

My photos were stored in galleries symlinked to another HDD which failed and lost all photos.  I have now recovered the photos and rebuild the symlink.  I did synchronization, updated album and photo info and photos in piwigo are restored, however, all the descriptions and photo id comments, etc are gone.  Before I sync the photos, the database shows all the photo descriptions, etc.  After the sync, they have been replaced with null.  I restored the database (I have a myswldump file), and it brought back the descriptions, but the photos are now gone.
Please advice if I can restore my photos with correct database info.  TIA

Edit: after I sync, it shows 68 photos added to database, 69 photos deleted from database, 69 photos updated in database.  How can I stop it from deleting from database, but just to add photos to database?

Last edited by krist (2017-03-03 17:03:07)

Offline

 

#2 2017-03-13 20:55:00

krist
Member
2016-01-30
53

Re: Lost photos -How to rebuild

Solved.  I found out that there are 2 galleries folders.  One in Piwigo/galleries, and one in Piwigo/_data/i/galleries.  I need to symlink both of them to another HDD.  Load the recovered photos to /piwigo/galleries and do syncronization.

Offline

 

Board footer

Powered by FluxBB

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