Cutey Zone

General Category => Cute Discussion => Topic started by: SquareWheel on April 06, 2020, 12:45:34 AM

Title: Just a small update
Post by: SquareWheel on April 06, 2020, 12:45:34 AM
So we changed servers today.  There was a bit of downtime, which will have varied based on propagation speeds.

Everything should look more or less the same.  We actually upgraded to a newer version of SMF though, and I just ported all the users, messages, plugins, etc.  So if something isn't right, let me know.  The only change I've noticed is that some of the BBCode buttons aren't broken anymore.

Chu is now hosting our archive over at http://archive.cutey.zone/.  We've split things up on different servers to try to maintain best security practices.  You can thank chu for spending half the day getting that set up for us.

Otherwise all should be as was before.  Happy fnuposting.
Title: Re: Just a small update
Post by: dcco on April 06, 2020, 05:02:25 AM
thanks wheel :) appreciate this forum and my friends here
Title: Re: Just a small update
Post by: hubol on April 06, 2020, 05:12:02 PM
thanks everyone love you
Title: Re: Just a small update
Post by: juner on April 06, 2020, 07:24:01 PM
thanks! only issue i had was that i briefly forgot my password and my requests to resend it to my email didn't appear to come through
Title: Re: Just a small update
Post by: aimaina on April 06, 2020, 07:35:21 PM
hmm i wonder if email stuff is broken? i sent an email to myself via the forum interface, lets see if it comes through....

also the archive mentioned in the first post is not working (at least for me). it was working yesterday but we set it up before cook changed hosts, so maybe cook needs to configure something on the new host?
Title: Re: Just a small update
Post by: aimaina on April 06, 2020, 07:51:24 PM
its been like 15mins and no email so either its slow ass or something is busted
Title: Re: Just a small update
Post by: SquareWheel on April 06, 2020, 09:31:07 PM
I've made a change that should make the archive link more reliable, and am working on the email issue now.
Title: Re: Just a small update
Post by: SquareWheel on April 07, 2020, 03:11:04 AM
I've set up an SMTP account for mail and it seems to be working now.
Title: Re: Just a small update
Post by: Tinister on April 07, 2020, 05:19:15 AM
What happened with the old server?
Title: Re: Just a small update
Post by: SquareWheel on April 07, 2020, 06:24:31 AM
Put in a request to cancel services.
Title: Re: Just a small update
Post by: SquareWheel on April 07, 2020, 06:38:40 AM
Or if you're asking why I left, it's because I wasn't satisfied with the uptime, and they jacked up the prices this year without so much as a word.
Title: Re: Just a small update
Post by: SquareWheel on April 07, 2020, 09:46:33 PM
I've installed a new honeypot plugin and added a question to the signup process.  We'll see if that cuts down on Russian spammers.
Title: Re: Just a small update
Post by: Tinister on April 08, 2020, 01:21:47 AM
StableHost, right?

I think mine went from $10 to $11, what were you getting?
Title: Re: Just a small update
Post by: dcco on April 08, 2020, 04:05:32 AM
i do not read the news and i have a hard time remembering how to access it everytime i see it @newsposter who asked
Title: Re: Just a small update
Post by: vgperson on April 08, 2020, 05:26:02 AM
Not sure if this is what Ducko was saying/the reason he can't remember how, but I'm unable to access the admin panel like before to access the news. (The button is missing and going to the page directly and putting in my password says I don't have access.)
Title: Re: Just a small update
Post by: SquareWheel on April 08, 2020, 09:10:59 AM
StableHost, right?

I think mine went from $10 to $11, what were you getting?
$34.21 to $57.00 USD.

I'm unable to access the admin panel like before to access the news.)
Can you try now?
Title: Re: Just a small update
Post by: vgperson on April 08, 2020, 06:16:07 PM
Okay, it works now.
Title: Re: Just a small update
Post by: dcco on April 08, 2020, 07:28:56 PM
Not sure if this is what Ducko was saying/the reason he can't remember how, but I'm unable to access the admin panel like before to access the news. (The button is missing and going to the page directly and putting in my password says I don't have access.)

oh ok so it wasnt just my gross incompentence i actually didnt have news access coole
Title: Re: Just a small update
Post by: Tinister on April 09, 2020, 05:02:53 AM
StableHost, right?

I think mine went from $10 to $11, what were you getting?
$34.21 to $57.00 USD.

...per month?
Title: Re: Just a small update
Post by: SquareWheel on April 09, 2020, 05:32:46 AM
Nope, per annum.  You guys aren't that expensive.
Title: Re: Just a small update
Post by: dcco on April 09, 2020, 05:44:21 AM
we should buy squeel a pizza or something sometime
Title: Re: Just a small update
Post by: aimaina on April 09, 2020, 01:05:32 PM
hey cook a bunch of news got wiped out..... i think on the old host i increased the news character limit somehow (not sure if this was in an smf php file or in the database or both) and i guess that change didnt carry over. i can look into this later but i dont feel like it right now so if you wanna take a crack at it you can
Title: Re: Just a small update
Post by: aimaina on April 09, 2020, 01:07:34 PM
the two steps would be to 1. restore the character limit to whatever it was or something larger 2. restore the old news that got destroyed from the pre-host-change db backup. i think i made a db backup before you switched so i could do both in theory but right now i wanna lie down and do nothing
Title: Re: Just a small update
Post by: aimaina on April 09, 2020, 04:20:02 PM
i think the news is fixed. for future reference i had to go into Subs.php and modify the updateSettings function, where there was a line
Code: [Select]
array('variable' => 'string-255', 'value' => 'string-65534'),which i changed to
Code: [Select]
array('variable' => 'string-255', 'value' => 'string-524286'),approximately 8x larger than the default. i can make it larger if needed in the future. right now we are at 158929 chars
Title: Re: Just a small update
Post by: SquareWheel on April 10, 2020, 03:17:04 AM
Oh, I increased the size of the database table for that but didn't know a PHP change was needed as well.  It must have truncated when somebody posted a new entry.

We should really record all our hacks for next time there's an update.

Thanks for issuing the fix.  Did you restore the news table, too?  I have a backup if needed.
Title: Re: Just a small update
Post by: aimaina on April 10, 2020, 12:59:08 PM
yep old news is restored....
Title: Re: Just a small update
Post by: SquareWheel on April 10, 2020, 01:38:20 PM
Still getting some bots so I've replaced the SMF captcha with a reCaptcha tickbox.  Hopefully that does the trick.

Maybe I'll go through and nuke all the 0 comment accounts.  Clean up the memberlist from all the latent bots.
Title: Re: Just a small update
Post by: SquareWheel on April 10, 2020, 01:55:28 PM
Speaking of news stuff though, is it time to do a purge?  I never use it but the load times seem dreadful.
Title: Re: Just a small update
Post by: marbles-box on April 10, 2020, 02:52:17 PM
the load time adds to the fun of newsposting! :dancedog:
i've also been seeing many more spam posts since the server switch. is this related to the switch at all or do i just happen to be able to catch a glimpse of them before they get deleted with my expert spam spotting speed? (i do concede i have been spending my skill points on "velocity modifiers" as of late)
Title: Re: Just a small update
Post by: SquareWheel on April 10, 2020, 04:39:27 PM
It has increased.  We had two anti-spam plugins installed before which weren't compatible (or reported errors) with the new SMF version, so that's the most likely reason.  But I've cleared out the bot accounts, added a honeypot, and started requiring a small quiz and captcha to register now.  Hopefully that's enough to curb it.
Title: Re: Just a small update
Post by: hubol on April 12, 2020, 01:35:16 AM
Also the favicon was lost
Title: Re: Just a small update
Post by: SquareWheel on April 12, 2020, 05:09:57 AM
Thanks.  The dodo is back.

We haven't had any more bot signups.  I think we've finally plugged all the holes there.  I had to test registrations to make sure they were actually working.
Title: Re: Just a small update
Post by: dcco on April 12, 2020, 07:49:22 AM
i think the loadtime is okay with the news, but the formatting is always real bad lol. not sure anything can be done about that tho.
Title: Re: Just a small update
Post by: Tinister on April 13, 2020, 04:12:06 AM
The login cookie I had on my phone from the old server doesn't work anymore.
Title: Re: Just a small update
Post by: SquareWheel on April 13, 2020, 05:54:01 AM
Send your phone in and I'll take a look.
Title: Re: Just a small update
Post by: hubol on April 17, 2020, 02:47:05 AM
Small update from my end of things, this post could use a few more likes yall
https://twitter.com/sylviefluff/status/1250968666365218816
Title: Re: Just a small update
Post by: juner on April 17, 2020, 07:16:44 AM
can't wait to pull off some Pixel Perfect strats in the trading interface