Previous Thread
Next Thread
Print Thread
Hop To
#147263 09/08/2004 3:16 AM
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
To make a long story short; our UBB was moved in its entirety to a new hard drive (cgi and ubb dirs tarred), unpacked, and that's when problems started. When I hit the CP I set up the new paths and everything ok, and everything seemed to be ok. Then I tested the boards, and oops, any link I hit it threw me back to ultimatebb.cgi. Not good.

Since I've just moved the board around like this in the past and didn't have any problems (though we had PHP accel. off before), I didn't think there was anything particular to watch for. Well, after learning otherwise, I went and read the move guide, and I saw that the cache folder and vars_config.cgi should not be transferred. Ooops. (I cleaned the cache after the board was closed on the old server, I figured this deletes it entirely, but didn't check. It doesn't apparently.)

Well, I tried just deleting the cache dir after the fact, but new files kept spawning in even though the board was closed (I just had admin preview on). Well, once I logged off, this seems to have stopped, and I could delete the cache dir. I got rid of vars_config.cgi after that too.

So, once again, I go to the CP, set all paths, and everything seems to be ok - sort of. I didn't realize that the cookie info was stored in vars_config, so now that a new one was made, everyone had to login on the boards again (question: could this be avoided somehow, or is it unavoidable when moving the board? I didn't dare set the same cookie value into the cgi manually.)

Now the boards started behaving normally, people could post, etc. However, in the process, vars_config.inc.php was deleted by UBB apparently, because it suddenly just wasn't there any more, and UBB didn't recreate it either. We use this file for our modified version of the news hack. Question here: why didn't UBB recreate that file? I made it myself from the information now in the vars_config.cgi, and after a metadata rebuild the news started to work again too, but the question why it wasn't recreated remains.

Well, I guess this wasn't a short story after all. <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />
So, Charles, can you please answer my two questions in the text above (plus any comments you can offer), and tell me if everything is ok now, or if there is anything else I should be looking at to make sure the board is all ok.


~ Scott
#147264 09/08/2004 1:29 PM
Joined: Dec 2003
Posts: 611
Former Developer
Former Developer
Joined: Dec 2003
Posts: 611
To recreate vars_config.inc.php, I belive you need to go in and submit the Primary Settings of the board with the UBB Accelerator enabled. The UBB should do this whenever you submit that page. The vars_config.inc.php shouldn't just automagically disappear. If it keeps doing it, someone is probably deleting it.

Unfortunately, when you do the move instructions, it assign a new ubber id for the cookies. If you wanted to automagically accept their old cookie, you would need to write some script to read the old cookie, and set a new one. Generally, it is more efficient to just let them login again. Plus it is a good opportunity for you to possibly do a rules check or something <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

BTW, nice usage of the ubbnews.php <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


Charles Capps
Former UBB.classic Maintainer
#147265 09/08/2004 3:07 PM
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
Actually, I found out UBB did recreate it later, and overwrote the fixed one I put there with old paths... I'm not sure how exactly, but it took quite some time for us to figure it out. Weird.

The login thing was a problem only because half of the people couldn't remember their passwords (or couldn't retrieve them because of obsolete emails). Work for me to send it to them all...

As for ubbnews, thanks and thanks. <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />


~ Scott
#147266 09/09/2004 2:28 PM
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
God damn it... this is obviously still messed up. :/

Some of our users reported UBB giving them "out of space" errors when they tried to access one of the forums - but I and others could access it just fine? And there's a ton of free space left!

I noticed I left the UBB Accelerator off... so I turned it on now, and same bloody problem surfaced as before. Whichever link you clicked, it forwarded you to the front page of the boards. I shut it off again, but it still kept doing that. So I turned it off again and I'm running the entire metadata update in the hopes that this will finally fix everything. Gah.


~ Scott
#147267 09/09/2004 2:54 PM
Joined: Dec 2003
Posts: 611
Former Developer
Former Developer
Joined: Dec 2003
Posts: 611
If you are getting reports of out of space errors, then you need to contact your host. The UBB cannot lie about out of space. It only tells you what the Operating system is telling it.


Charles Capps
Former UBB.classic Maintainer
#147268 09/09/2004 2:58 PM
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
No, trust me, it's wrong. I admin my own server, I know to the byte how much there is on it. It's got over 20GB left! :/

And as I said, this was showing up in only forum...


~ Scott
#147269 09/09/2004 3:10 PM
Joined: Jan 2004
Posts: 174
R
member
member
R Offline
Joined: Jan 2004
Posts: 174
the bottom line is that UBB.classic does not test the server itself for space - it is simply handing back to you the message from the operating system. you can check your error logs for further information, but we can't help in this case. this is not a UBB error.

#147270 09/09/2004 3:59 PM
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
Well, the other problems I listed are, and I haven't recieved any official help with those either.


~ Scott
#147271 09/09/2004 4:07 PM
Joined: Dec 2003
Posts: 611
Former Developer
Former Developer
Joined: Dec 2003
Posts: 611
I'm guessing that once you fix this Out of Space error things should stabilize. I would first get that solved, then we'll go back to the other problems with the Accelerator.

Also, is it possible that you are running into a file limit, such as 10,000 files???


Charles Capps
Former UBB.classic Maintainer
#147272 09/09/2004 4:31 PM
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
Ugh, there's a file limit of 10k files? I'd think we've passed that a long time ago. I mean, every thread has its own cgi, and I'm pretty sure we've been over that for years.

And what I found out now is that the file system is apparently corrupt. Somebody shoot me... I'll run fsck and go from there... Wish me luck.


~ Scott
#147273 09/09/2004 4:34 PM
Joined: Dec 2003
Posts: 611
Former Developer
Former Developer
Joined: Dec 2003
Posts: 611
I'm not saying there is on your server, but some webhosts limit the number of allowed files, and that sometimes causes Out of Space errors, IIRC.

Good luck with the file system problem, and see how it behaves after that. If you are still having Accelerator errors after the file system is fixed, c'mon back and we'll work on them or have you go to a support ticket <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


Charles Capps
Former UBB.classic Maintainer
#147274 09/09/2004 5:27 PM
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
Pooh-Bah
Joined: Jul 2006
Posts: 2,143
A file limit would explain the behavior of the out of space condition - the UBB could be trying to create a new cache file in one forum, but has a cache file for the other. Dump the cache and see what happens.

I would suggest opening a support ticket for any remaining issues...


This thread for sale. Click here! [Linked Image from navaho.infopop.cc]
#147275 09/09/2004 7:47 PM
Joined: Jun 2004
Posts: 27
S
newbie
newbie
S Offline
Joined: Jun 2004
Posts: 27
Dumped the cache repeatedly, didn't help... And no, I have no imposed file limits on the server. Our server host is running some hardware diagnostics so I have to wait for that to complete before I can proceed with anything.


~ Scott

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 1,165 guests, and 234 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)