Announcements Announcements from site Administrators and Moderators.

Some attatchements and images

Thread Tools
 
Search this Thread
 
Rate Thread
 
  #1  
Old 09-19-2005 | 02:23 AM
silvrhand's Avatar
Thread Starter
|
Registered User
Joined: Oct 2003
Posts: 86
Likes: 0
Premier Member
Angry Some attatchements and images

Well,

The weekend work went rather well, we've got some more work to do but unfortunately we've run into a bug with mysql 4.1.10a that is causing us to make the call to have to eat some attachments and avatars, I know this sucks but let me explain.

Over the weekend we rebuilt the webserver due to some suspicious activity and being wildly out of date. When I rebuilt the server I dumped the database with mysql backup, when I reimported the data back in everything looked good till the next morning when I noticed the images were corrupted.

This is the answer according to vbulletin:

"Corrupted attachments (and avatars) is a known problem with MySQL 4.1.x backups. We have one of our Developers trying to understand the cause of this issue, but we do know the problem is definitely with MySQL 4.1.x. Unfortunately at this time the only fix is to downgrade to 4.0.24 (recommended.)."

Now the problem with their fix is that we have been running 4.1.x mysql for a while due to the speed enchancements that the site desperately needed. Unfortunately this means that for us to go that far back is not possible to fix the problem.

How do we keep this from happening again?

- Move files from the database to the filesystem: This will cause some extra overhead but it will keep this from happening again.

Please feel free to flame me as I should have tested the backup before we moved forward but I got cocky as I've done this 100+ times, but unfortunately I've found a bug related to vb 3.0.x and mysql 4.1.x which has today gotten the best of me.
 
  #2  
Old 09-19-2005 | 04:13 AM
Silverbolt's Avatar
Registered User
iTrader: (4)
Joined: May 2005
Posts: 1,770
Likes: 0
From: 909/626 California
wait wait wait... so you're saying that all the attachment pictures and avatars that are currupted are permantly corrupted and cant be fixed???? So AAAALLLL those pictures are messed up, lost, and all the DIY threads are now just text only???
 
  #3  
Old 09-19-2005 | 09:27 AM
neffster's Avatar
Registered User
Joined: Feb 2004
Posts: 8,269
Likes: 0
Ready..... Aim......
 
  #4  
Old 09-19-2005 | 09:49 AM
GeeWillikers's Avatar
Walking The Fine Line...
Staff Alumni
Joined: Feb 2005
Posts: 19,883
Likes: 128
From: The Lounge
Premier Member
Ouch. Bummer. No other backups you can restore?

ACK!

That's the way it goes sometimes. Not much you can do about it and no use crying over spilled databases.

Thanks for the work and the effort you guys put forth everyday. No need to flame. This board is a source of entertainment (obviously) for lots of us. The 'bug' wasn't intentional so no harm done IMO.
 
  #5  
Old 09-19-2005 | 10:13 AM
escobar929's Avatar
Registered User
iTrader: (9)
Joined: Nov 2004
Posts: 14,074
Likes: 3
From: Hollywood, FL
get ur flame suit ready j/k

**** happens!
 
  #6  
Old 09-19-2005 | 11:00 AM
shaybly's Avatar
Registered User
Joined: Mar 2005
Posts: 25
Likes: 0
From: carlsbad, ca
bugs

Hey, this site is about sharing good information about our G's and nothing else. Anyone who complains about their cute little picture being corrupted should take a flying leap. We appreciate all your work. Accept no complaints.
 
  #7  
Old 09-19-2005 | 06:06 PM
humba's Avatar
Registered User
Joined: Jun 2005
Posts: 10
Likes: 0
From: carrollton
Great site. Keep up the good work!!!
 
  #8  
Old 09-19-2005 | 08:29 PM
SI_G35Coupe's Avatar
Registered User
iTrader: (3)
Joined: Mar 2004
Posts: 1,271
Likes: 0
From: Staten Island, NYC
Originally Posted by shaybly
Anyone who complains about their cute little picture being corrupted should take a flying leap.
the avatars are easy to fix.... just gotta re-upload it, takes 30 seconds... the bigger problem is that so many valuable pics from certain threads that are lost.
other than that, still love the site... guess everybody is human we all make mistakes sometimes huh
 

Last edited by SI_G35Coupe; 09-19-2005 at 08:31 PM.
  #9  
Old 09-19-2005 | 11:40 PM
roko's Avatar
Registered User
iTrader: (2)
Joined: Sep 2004
Posts: 149
Likes: 0
From: Bay Area, Ca.
Thanks for trying. Still love the site.
 
  #10  
Old 09-22-2005 | 01:20 AM
NG35S's Avatar
Registered User
iTrader: (2)
Joined: Jan 2005
Posts: 148
Likes: 0
i was saying sumthing was wrong...hey no need to worry..have a goodnites sleep no ones flaming no one...great site keep up the good work..mistakes are ment to happen.
 
  #11  
Old 09-24-2005 | 05:41 AM
skeleton_cru's Avatar
Registered User
Joined: May 2002
Posts: 17,096
Likes: 12
From: East Bay, Cali
Sedan
Originally Posted by SI_G35Coupe
the bigger problem is that so many valuable pics from certain threads that are lost.
Those can be re-uploaded again as well as long as the original poster of the pics does it. Hopefully the original poster is still around and goes back to fix their threads. I did it for the Wheels sticky thread.
 
  #12  
Old 09-26-2005 | 12:11 PM
BlackonBlackG35's Avatar
Registered User
Joined: Mar 2005
Posts: 2,513
Likes: 1
Damn that sucks...I'm glad I always use third party hosting for images.
 
  #13  
Old 09-27-2005 | 07:54 PM
silvrhand's Avatar
Thread Starter
|
Registered User
Joined: Oct 2003
Posts: 86
Likes: 0
Premier Member
The cost would be uh way too high for what you guys browse per month, and they were stored in the database.

Originally Posted by BlackonBlackG35
Damn that sucks...I'm glad I always use third party hosting for images.
 
  #14  
Old 10-01-2005 | 02:45 PM
pestilence's Avatar
Registered User
iTrader: (1)
Joined: Sep 2002
Posts: 2,253
Likes: 0
I guess to recover the images u could restore the mysql db to another server with the downgraded version, then get all the images out, and try to re-insert them in sql?


admins: if someone wants to send me a db-schema i could ask our DBA?
 
  #15  
Old 10-01-2005 | 06:30 PM
GeoBau's Avatar
Cactus Hugging Admin
Joined: May 2003
Posts: 10,185
Likes: 8
From: Las Vegas, NV
Thanks for the offer. I'll shoot this to Kyle.

G
 


You have already rated this thread Rating: Thread Rating: 0 votes,  average.


All times are GMT -4. The time now is 10:25 PM.