FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Just lost 62,000+ posts
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Just lost 62,000+ posts [message #31853] Sun, 21 May 2006 00:22 Go to next message
Crimson is currently offline  Crimson   United States
Messages: 51
Registered: June 2005
Location: Phoenix, AZ
Karma: 0
Member
I applied a hack to rhost.inc.t to return a custom host for a specific IP belonging to a paranoid user who thinks that someone will find him and do bad things to him if they know he is connecting from ri.ri.cox.net and doesn't reveal his real name.

Anyway, I couldn't get the hostname in his posts to update, so I ran a theme rebuild, consistency checker, and then I compacted the message files, something I had never done before. When I did that, ALL my messages disappeared. The contents of my "messages" directory is this:

[root@host5 messages]# ls -al
total 1260
drwxrwxrwx    2 apache   apache       4096 May 20 18:41 .
drwxrwxrwx   13 apache   apache       4096 Sep 13  2005 ..
-rw-rw-rw-    1 apache   apache         14 Sep 13  2005 .htaccess
-rw-rw-rw-    1 apache   apache    1270375 May 20 18:41 private


My hack to rhost.inc.t is: (assume 127.0.0.1 is the actual IP and User is his actual username)
        if ($ip == '127.0.0.1') {
                $name = 'User.is.paranoid.com';
        }

        return $name;
}


We are running a disk utility to try and bring back the files, but is there anything else I can do?

[Updated on: Sun, 21 May 2006 00:23]

Report message to a moderator

Re: Just lost 62,000+ posts [message #31855 is a reply to message #31853] Sun, 21 May 2006 01:34 Go to previous messageGo to next message
Crimson is currently offline  Crimson   United States
Messages: 51
Registered: June 2005
Location: Phoenix, AZ
Karma: 0
Member
OK, no luck with the disk utility. This is bad...
Re: Just lost 62,000+ posts [message #31868 is a reply to message #31853] Sun, 21 May 2006 15:55 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What version of the forum were you using? There are a few versions that had a buggy version of the message compactor in them.

FUDforum Core Developer
Re: Just lost 62,000+ posts [message #31871 is a reply to message #31853] Sun, 21 May 2006 20:23 Go to previous messageGo to next message
Crimson is currently offline  Crimson   United States
Messages: 51
Registered: June 2005
Location: Phoenix, AZ
Karma: 0
Member
I thought I was more recent, but apparently I am using 2.7.3RC1.
Re: Just lost 62,000+ posts [message #31884 is a reply to message #31871] Mon, 22 May 2006 14:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I believe that version was one of the ones that had an issue with the compactor.

FUDforum Core Developer
Re: Just lost 62,000+ posts [message #31889 is a reply to message #31853] Mon, 22 May 2006 16:59 Go to previous messageGo to next message
Crimson is currently offline  Crimson   United States
Messages: 51
Registered: June 2005
Location: Phoenix, AZ
Karma: 0
Member
And there were no files stored somewhere? No checks made before the destructive action? 4 years of forum posts gone just like that? Sad
Re: Just lost 62,000+ posts [message #31903 is a reply to message #31889] Tue, 23 May 2006 15:49 Go to previous messageGo to next message
ggray is currently offline  ggray   Ukraine
Messages: 96
Registered: October 2004
Location: Crimea: Simferopol
Karma: 0
Member

You use *RC and did not made any backups? Shocked
Check your hosting provider, may be they do it for you.
Re: Just lost 62,000+ posts [message #31905 is a reply to message #31853] Tue, 23 May 2006 19:16 Go to previous messageGo to next message
Crimson is currently offline  Crimson   United States
Messages: 51
Registered: June 2005
Location: Phoenix, AZ
Karma: 0
Member
No, my provider doesn't make backups. I use dedicated servers. I have hourly database backups but I didn't realize the posts were on the file system. The "messages" directory has been added to my backup routine now.
Re: Just lost 62,000+ posts [message #31921 is a reply to message #31905] Wed, 24 May 2006 11:19 Go to previous message
ggray is currently offline  ggray   Ukraine
Messages: 96
Registered: October 2004
Location: Crimea: Simferopol
Karma: 0
Member

very sad Sad
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Mail - Notify From Setting in Admin Panel
Next Topic: FUD sql in log
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 21:36:41 GMT 2024

Total time taken to generate the page: 0.03436 seconds