Hello everyone,
I am moving through the process of a major migration of my Piwigo server, and in this migration I have been greeted with the large, red, "missing files" notice. This is fine, I've written a script to restore as many of the 8,500+ files identified from my backup as possible.
I did notice in this process that there are files identified as existing in the uploads directory but not in the database. Weird, but ok. Worst case scenario I'll just move the files back out of the uploads tree and re-upload them, and figure out where they go.
That said, I figured the synchronize tool should be doing exactly this for me, however, I only see my ./galleries folder (which is completely empty) listed in the Site manager. All of my 71k+ files are in ./uploads because I chose not to fix my file names before uploading, so ftp synch wasn't a preferred option (one of the collections I inherited lists a lot of important information in the file names).
1) Should I be moving files from uploads to galleries at some point?
2) Is there a way to "synchronize" the uploads folder?
3) Barring all that, I can write a script to simply insert the correct entries in the piwigo_images table, do I need to add them anywhere else? It's ok if they're orphaned, I can use the batch manager to find them and move them from that point.
Thanks!
Currently running version 15.3.0. Will update to 15.4.0 when I finish moving files and restart the server.
Last edited by Tharius (2025-02-23 18:15:05)
Offline