Previous Thread
Next Thread
Print Thread
Hop To
#212753 05/18/2008 8:50 PM
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

I've also asked my web host about this, but at least 2 (edit: ALL, apparently!) very large threads from my forums have disappeared without a trace -- no admin/mods deleted them, nothing in the logs about deleting them, and they're not showing in the database at all. The shared server I'm on has been having some problems, but it better not end up that being the cause or I'll go ballistic on them!

Anyway, has anyone "lost" any really large threads from their forums??

Last edited by jgeoff; 05/18/2008 9:50 PM.

GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

My host said:
Quote
Given the nature of bulletin boards, it is very unlikely that the error we had on the server today would do anything specific enough to remove very old posts from your board. If anything, they would have been posts from today. If the script vendor has any ideas for us or needs any more information, please let us know and we will do our best to entertain them.
(then)
Quote
I don't see any reason why even HUGE message board posts would be removed by our staff without your consent, or due to a hardware/software issue in this case. Everything else with the board appears to be working properly and we haven't received any other complaints about this, so it's highly unlikely that any of our actions or inactions have caused this.

Any ideas, anyone? My members are sad! frown



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

This is sounding worse and worse...
Quote
I didn't mean to sound coy, but rather I meant to say that we do not remove individual threads if an account is causing a problem. The account itself would be suspended in WHM and you would receive a notification. At this point, it looks like either a code or user error somewhere along the line.

My members are discovering more and more years-old threads that were particularly large have disappeared. They, and I, are not too happy. frown

Is there ANY possible reason for this??!!


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Nothing left of them in the database?


[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

All gone!

I could backup a day or two (losing posts since), but need to be absolutely sure what is causing this. It makes no sense whatsoever to me...



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1
Originally Posted by Sirdude in Shout Box
well they still might be there
... a thread is more than one table, so they might 'come back' if you knew more info about content of lost shite

After further inspection, I do see many POST_SUBJECTs relating to the missing threads, but I don't see any TOPIC_SUBJECTs, when sorted by # of TOPIC_REPLIES

Getting more and more confusing!


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Could be that just your topics table is corrupt, in which case you are lucky.

However, finding the cause of this behavior is kinda important too.


[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

I'm trying to rebuild everything now via CP to see if it comes back, but damn server problems (time outs / Maximum execution time of 30 seconds exceeded) ... freakin' half-million posts :/


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
Moved to support forum from General Chat

Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

Rebuild Topics & Forums were successful, but problems w/ Rebuild Posts :/


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

Thanks, Ian... I originally thought it was the server


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
I knew this effect with Threads 7.2 (early versions). On this sometimes sticky topics vanished. I hat to search the subject (sometimes hard to remember) and if found unstick the thread. Then it comes up again.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

Via phpMyAdmin, I just did a DB check and also repair, and everything seemed okay.

Oddly, after that, I go to my forums (which were turned off), and they were on!

From logs: BOARD_IS_CLOSED changed from '0' to '1'

(but were never turned back on - but they were)

Feeling a headache coming on... whistle




GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1
Originally Posted by Zarzal
I knew this effect with Threads 7.2 (early versions). On this sometimes sticky topics vanished. I hat to search the subject (sometimes hard to remember) and if found unstick the thread. Then it comes up again.

No, no search results... :/


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
If you use any of the content rebuilder tools, the board is opened after it's done! Imho a feature that should be optional.


[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

I think a board that was specifically and physically closed should remain closed until it's specifically and physically re-opened! :/

Sure, it should reopen immediately after rebuilding, but when you choose to CLOSE the forums, they should remain closed until you reopen them, regardless of what actions you are taking...


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Exactomundo!

A box that would say "open board after rebuild" would be fine with me, but have it checked off by default.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
However some people may not realise that the board is even closed for the rebuilds - having it automatically re-open will stop a few forums from remaining closed until someone contacts the admin wink

Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

Off topic tongue laugh wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Originally Posted by jgeoff
Off topic tongue laugh wink


I continued to be offtopic here.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
How old is your backup jgeoff? Maybe that is an option?

Can you see any of the info if you go into the database via PHPmyAdmin?

Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

I backed up before updating, on May 9th...

My host backs up daily, but, they overwrite previous backups and I missed yesterday's by an hour or two. :/

As stated, via phpMyAdmin, I can see POSTS, but apparently not their respective TOPICS, so, the posts don't show up - checking/repairing hasn't helped via phpMyAdmin, and rebuilding via CP hasn't helped either. frown


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
okay, that is normal that the rebuild doesn't do anything. It cannot rebuild the whole topics table from the posts table since not all the data is available.

What you could try to do is manually add a TOPIC to the topics table, with the TOPIC ID number you find in the posts table.


[Linked Image from siemons.org]
Joined: Jun 2006
Posts: 3,839
Likes: 1
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,839
Likes: 1
I know it doesn't help you - but I would ask your host why they only keep one copy of backups - this is next to useless. We go back 2 months with a maximum of 6 hours old for any backup for all our clients/servers.

They are also then taking full backups which maybe is where the issue lies as the MySQL tables are probably not backed up properly and so corruption may have occurred.

Incremental backups of the sever are far less intrusive.

Just a few thoughts - although they do not help your current situation. frown




Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
jgeoff, can you try running this query:

Code
SELECT count( DISTINCT TOPIC_ID )
FROM ubbt_POSTS
WHERE TOPIC_ID NOT
IN (
SELECT TOPIC_ID
FROM ubbt_TOPICS
)

This basicly gives a count of ghost-posts, ie, the topics are there in the posts table, but not in the topic table. You need mysql >=4.1 for it.

My board reports 29, so I'm thinking about writing a basic salvaging tool to get those topics back.

Last edited by blaaskaak; 05/19/2008 4:47 AM.

[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Originally Posted by Ian
Just a few thoughts - although they do not help your current situation. frown


imho the best thought is don't rely on your host for a descent backup. Always make them yourself on a regular basis.


[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1
Originally Posted by blaaskaak
jgeoff, can you try running this query:

Code
SELECT count( DISTINCT TOPIC_ID )
FROM ubbt_POSTS
WHERE TOPIC_ID NOT
IN (
SELECT TOPIC_ID
FROM ubbt_TOPICS
)


count( DISTINCT TOPIC_ID )
34


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
[code monkey mode on]

I'll be back!


[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

I appreciate it!

But 5:30AM here, time for a nap wink

I'll be back, too! lol



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Originally Posted by jgeoff
But 5:30AM here, time for a nap wink


bla bla bla wink

Here's your wake up call:

https://www.ubbdev.com/forums/ubbthreads.php/topics/317011

Any questions or remarks, let me know! I really hopes it helps and gets you those lost topics back.

Last edited by blaaskaak; 05/19/2008 8:41 AM.

[Linked Image from siemons.org]
Joined: Aug 2006
Posts: 1,659
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,659
Likes: 1

It worked... YOU RULE!!! cool

Now to figure out how long thread posts got orphaned to begin with...



GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 8.1.34 / MySQL 5.7.23-23 / Apache 2.4.67
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,360
Likes: 2
Y
Veteran
Veteran
Y Offline
Joined: Aug 2006
Posts: 1,360
Likes: 2
Yeah, and make a backup laugh

Nothing in the admin logs about it?

Well, there shouldn't be. There is no code in threads that says " remove from topic table, but keep in posts table". Well, not deliberate laugh


[Linked Image from siemons.org]

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)