Fixing orphans in prep for upgrade to g2?

hubersan

Joined: 2009-04-30
Posts: 2
Posted: Thu, 2009-04-30 18:32

So, I'm finally getting ready to move to G2 (been integrated into Geeklog, and had no motivation to upgrade it). Ran the find_orphans script, and there's 410 files in there.. about 1/3 are .lock files, another 1/3 are .thumb and .sized files, but the other 1/3 are actual pics.. is there any easy way to get those added back in, so that the gallery realizes them? (preferably from the command line? I don't mind doing it through the gui, but it's slow.)

Thx

Details:
Gallery version:1.5.10
Apache version:2.2.3
PHP version (don't just say PHP 4, please): PHP 5.1.6
Graphics Toolkit: netpbm
Operating system: RHEL 5 (CentOS 5)
Web browser/version (if applicable):

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-04-30 20:49

I think you are stuck with the gui and ftp for dleteting the unwanted files.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
hubersan

Joined: 2009-04-30
Posts: 2
Posted: Thu, 2009-04-30 21:15

Lame.. that's what I thought tho. So just download all the pics, let find_orphans clean them up for me, then re-upload?

Is there any harm to letting it nuke the .thumb, .sized, .dat, etc files?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2009-05-01 03:17
Quote:
Lame.. that's what I thought tho.

Write a script and contribute to the project.

Quote:
So just download all the pics, let find_orphans clean them up for me, then re-upload?

Yes. Somehow the data file and file system got out of sync.

Quote:
Is there any harm to letting it nuke the .thumb, .sized, .dat, etc files?

the .dat file(s) is/are required as it has has valuable data that I suspect you don't want to add over again.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team