Server Migration - Images/Photos/Some Avatars don't display - HELP

Hello everyone,

I am in desperate need of help. I've looked for HOURS trying to figure this out.  Here is the short of it. I just migrated a Dolphin site with thousands of members to a new server. I copied all the data, and reuploaded to the new server. I restored ALL of the file permissions per the install instructions.

I copied all of the MYSQL data (the raw data since its 1.2 gigs) and put that in my /var/lib/mysql folder.  I optimized the database, and all works, except images, photos and some avatars are gone. They won't display.  The site is at http://www.theblackvault.com  You can see that my Events module (heavily repurposed) is a prime example: http://www.theblackvault.com/m/events/view/Alien-Entity-Picture  On this page, none of the images show. In the source code, the "src=" code is blank... it simply shows, "        src=" "   "

What is wrong? Ive deleted the cache manually from /cache and /cache_public multiple times.  I am at a complete loss.

Thank you to anyone who can help me.

Quote · 28 Jun 2012

Photos are implemented in odd ways for groups in that the photos go to a hidden user album and are then somehow linked to the group. I'm not sure if Events works the same way. By the way, a very createve use of the events module.

 

What I'm getting at is if events are like groups, the issue could be user related.

 

Or Torchwood used this as a chance to hide the truth. ;p 

 

Do you have a test account I can use to get into the site?

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 28 Jun 2012

Not sure if this will help... but here is a test account:

 

Login: testaccount

password: testaccount

Quote · 28 Jun 2012

What really sucks and is scary, is if I add something new, it will appear.  Which means... its setup right... but what happened when I transferred everything over?

 

http://www.theblackvault.com/m/news/view/Test

Quote · 28 Jun 2012

This has corrupt database written all over it.  I'd take a good look at the bx_photos_main table, and make sure all the image files do indeed exist in modules/boonex/photos/data/files/

The fact that you can upload a new photo and everything is OK,  leads me to believe it's a database problem.  If it were a missing file, the src parameter wouldn't be empty.

 

Hope you have an original  database backup

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Jun 2012

Looks like you may have fixed this. Did you find out what was wrong?

Light man a fire keep him warm for a night, light him ON fire & he will be warm the rest of his life
Quote · 28 Jun 2012

I apologize for my delay. I always like to post a solution once there is one - because I can't tell you how many times I go to a thread, someone has the same problem as I do, and the last post is, "I figured it out!" and no explanation.


Ok so here goes.  My site is incredibly large... and the /modules/boonex/photos/data directory is very large... over 25,000 files.  When browsing a tree that large, it will only display 10,000 files, so when I made a backup of my site through my FTP program, it only pulled the top 10,000 files, and skipped the rest.  When comparing the directories of my old server, and new one, they matched up.  Problem is, neither one displayed all the files which is why it APPEARED to match - but was still missing thousands of files.

So I rooted in, and created a tar.gz file to download then upload.  23 gigs later - viola... it works perfectly.

:)

I hope this helps someone in the future.

Quote · 3 Jul 2012


I apologize for my delay. I always like to post a solution once there is one - because I can't tell you how many times I go to a thread, someone has the same problem as I do, and the last post is, "I figured it out!" and no explanation.


Ok so here goes.  My site is incredibly large... and the /modules/boonex/photos/data directory is very large... over 25,000 files.  When browsing a tree that large, it will only display 10,000 files, so when I made a backup of my site through my FTP program, it only pulled the top 10,000 files, and skipped the rest.  When comparing the directories of my old server, and new one, they matched up.  Problem is, neither one displayed all the files which is why it APPEARED to match - but was still missing thousands of files.

So I rooted in, and ,created a tar.gz file to download then upload.  23 gigs later - viola... it works perfectly.

:)

I hope this helps someone in the future.

 that is actually a setting on the ftp server by default, not some throttle that your hosting service put on you. now, here is where i think you could use some advice. were you not able to zip that site, were you on an account with cpanel, if so why was the backup wizard not used, if not then you should have logged in ssh to your account, and tar'd up your public-root then hit mysql and dumped your database, backing up on FTP one file at a time is absurd. 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 21 Jul 2012

 and tar'd up your public-root then hit mysql and dumped your databaseDosDawg is so right here!

Zipping up the whole root folder and downloading it with something like Filezilla, then a simple export of the database is all that's needed to quickly move sites. 

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 21 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.