Follow TV Tropes

Following

Converting all data to UTF8 (now complete)

Go To

Hey tropers, we are about to undergo a large update to the tvtropes' database to convert the encoding. During this time the login system will be offline. You'll still be able to read TVTropes but you won't be able to post or edit anything during the conversion.

How long will the login system be down?

My most recent test run took 9 hours (my first test took 20+ hours so this is after a lot of optimizations to get down to 9 hours). ***it will now take 11 hours. see update below

Can you give me more details?

TVTropes was originally hosted on Windows' servers back in the day and all content on the site is encoded with Windows 1252 (a superset of ISO-8859-1, aka latin1).

According to the W3Tech, only 1.3% of internet traffic is ISO-8859-1. I'm guessing a large amount of that is TVTropes considering we have millions of pages defined with that charset.

The majority of the internet is encoded in UTF8. By doing this conversion it will bring us up to modern standards with the rest of the web and allow us to more easily support other languages and icons. It will also allow us to use more modern tools to help with editing such adding a WYSIWYG editor option. It will also help with code development as we often have to add special workarounds to continue to support this long deprecated charset.

Are we changing anything else?

While we have the login system offline, we are going to upgrade the edits history database table to include a sequence number. We've always wanted to do this but it could not be done while the site was online. That table has 40M+ rows of data. With this change we'll be able to make it so we can easily jump to any page when filtering to edits from a specific page or from a specific user. We have this for the forum and that's why you can jump to page 500 for example of a long running thread and not have a long delay.

When will this happen?

UPDATE: (take two) This is now scheduled for Mon Dec 5th at 8:30PM PST until Tue Dec 6th at 7:30AM

At 8:30PM PST you will be logged-off of TVTropes so make sure to save anything before that time. Once the conversion is done the next morning, I'll point the code to the new server and everyone should be auto logged in. If not, when you see the all clear announcement at the top of the page, go ahead and try logging in again.

The process will take approximately 11 hours. I had it down to 9 hours until I found examples of utf8 encoded values inside latin1 columns so I had to add some extra testing to ensure that data doesn't get double encoded in the process.

If you have any issues during the migration please send an email to thestaff@tvtropes.org

UPDATE: (complete) The migration is officially complete. It ended up taking nearly 12 hours but we got there. All data on TVTropes (hundreds of millions of rows of data) has now been converted from Latin1 to UTF8. We now have the same encoding as 99% of other websites and can support special characters and other languages. It will also allow us to build other tools such as a WYSIWYG editor.

Edited by itcdr on Dec 6th 2023 at 8:48:40 AM

Ayumi-chan Aramis from Calvard (Apprentice) Relationship Status: Serial head-patter
#76: Dec 4th 2023 at 1:48:34 PM

Re: Loggins; good to know that everything will be saved.

She/Her | Currently cleaning N/A
skewview Since: Jun, 2013
#77: Dec 4th 2023 at 2:11:16 PM

Just a heads-up, the notice up above doesn't seem to be site-wide (not on front page, or on any of the important linked pages out there to the side).

Reminder: worldwide time-frame for conversion.

AFK with issues, will return
kory Admin from a universe without doors (The New Guy) Relationship Status: watch?v=dQw4w9WgXcQ
Admin
#78: Dec 4th 2023 at 2:15:14 PM

By front page do you mean the homepage? It's at least showing up for me, do you not see it? The banner just isn't in the query section but its on every trope and media page, the forums as well as the homepage.

https://static.tvtropes.org/pmwiki/pub/images/screen_shot_2023_12_04_at_21309_pm.png

Now monitoring Wishlist and Bugs
WarJay77 Big Catch, Sparkle Edition (Troper Knight)
Big Catch, Sparkle Edition
#79: Dec 4th 2023 at 2:20:09 PM

If you x'd out of it, it won't show up again.

Currently Working On: Incorruptible Pure Pureness
skewview Since: Jun, 2013
#80: Dec 4th 2023 at 2:21:45 PM

Might have done that, shouldn't closing it be disabled? I mean it is a pretty important thing.

AFK with issues, will return
WarJay77 Big Catch, Sparkle Edition (Troper Knight)
Big Catch, Sparkle Edition
#81: Dec 4th 2023 at 2:22:20 PM

Sure, but once you read it, who wants a banner on every page they visit?

Currently Working On: Incorruptible Pure Pureness
skewview Since: Jun, 2013
#82: Dec 4th 2023 at 2:25:58 PM

I don't, but I'm not concerned for my situation. More concerned for those that have closed it without reading it.

AFK with issues, will return
StalkerGamer Memetic Loser Mother Since: Dec, 2021 Relationship Status: Love is an open door
#83: Dec 4th 2023 at 2:41:05 PM

Quick question, should I have to logout before the database overhaul to avoid some problems or conflicts ?

Bullman "Cool. Coolcoolcool." Since: Jun, 2018 Relationship Status: Longing for my OTP
"Cool. Coolcoolcool."
#84: Dec 4th 2023 at 2:50:26 PM

So, one question. If I don't make it until after the site goes back up will this affect my ability to sign in once it is back up?

Edited by Bullman on Dec 4th 2023 at 4:53:53 AM

Fan-Preferred Couple cleanup thread
skewview Since: Jun, 2013
#85: Dec 4th 2023 at 2:59:23 PM

There shouldn't be any problems if you did, if you can stay away from the site for the duration, you might still be logged in after it — basing this on the mention that cookie settings will be transferred too.

Well, since it is getting late here, I'll see you peeps tomorrow, hopefully the characters won't look just like I feel by then. 😜

AFK with issues, will return
Codafett Knows-Many-Things Since: Dec, 2013 Relationship Status: Waiting for you *wink*
Knows-Many-Things
#86: Dec 4th 2023 at 3:52:13 PM

We have memberships?

Find the Light in the Dark
kory Admin from a universe without doors (The New Guy) Relationship Status: watch?v=dQw4w9WgXcQ
Admin
#87: Dec 4th 2023 at 4:09:02 PM

Yes you do. If you are a member of tvtropes you have a membership here. Membership doesn't inherently mean you paid anything, free memberships are a common thing. But we changed the announcement for anyone who that wasn't clear enough for.

Now monitoring Wishlist and Bugs
JustNormalMusicLover Hello Since: Jun, 2022 Relationship Status: Abstaining
Hello
#88: Dec 4th 2023 at 4:19:55 PM

I see... the database update is going to be crucial considering we're running on an outdated programming code.

May this process go safely. Best of luck, staff, we're hoping for the process to safely and successfully work.

Everyone's got their unique qualities.
CaptEquinox (4 Score & 7 Years Ago) Relationship Status: Cast away
#89: Dec 4th 2023 at 4:25:56 PM

Thank you and good luck with the updates/repairs!

I have found that it is the small everyday deed of ordinary folks that keep the darkness at bay. Small acts of kindness and love. - Tolkien
Brydav Since: Mar, 2022
#90: Dec 4th 2023 at 4:44:01 PM

Wait, did you say a new server? As in, everything on this website will be transferred to another? What will happen to this one?

ImperiumAstarte Tired of this crap from Morioh Since: Feb, 2017
Tired of this crap
#91: Dec 4th 2023 at 4:49:14 PM

So should I logout before the maintenance? And after said maintenance should I just log back in?

For the Imperium!!!
kory MOD Admin from a universe without doors (The New Guy) Relationship Status: watch?v=dQw4w9WgXcQ
Admin
#92: Dec 4th 2023 at 5:05:09 PM

No one needs to log out. The system should automatically log you back in once the server transfer is done and if it doesn’t, you can easily click the login button and it will work just fine.

The old database is still being kept in case we have any issues we can instantly point the site back at the original db and it’ll be exactly as it was before the switch. We did it this way to make sure if we have any issues it’ll just be a few minutes to switch it right back.

Edited by kory on Dec 4th 2023 at 5:05:47 AM

Now monitoring Wishlist and Bugs
TheTropper Good freakin' griefer from Allentown (Unitroper) Relationship Status: On the fine, fine line
Good freakin' griefer
Lymantria Tyrannoraptoran Reptiliomorph from Toronto Since: Apr, 2015 Relationship Status: Historians will say we were good friends.
Tyrannoraptoran Reptiliomorph
#94: Dec 4th 2023 at 6:44:07 PM

Godspeed, staff. I’m still logged in, but I’m in EST time and it’s 9:43 here.

Join the Five-Man Band cleanup project!
Flameal15k Predator Loyal to the Zerg Swarm Since: Jul, 2016 Relationship Status: On the prowl
Predator Loyal to the Zerg Swarm
#95: Dec 4th 2023 at 6:46:08 PM

Hope everyone has peaceful times until the update ends.

Flameal15k Predator Loyal to the Zerg Swarm Since: Jul, 2016 Relationship Status: On the prowl
Predator Loyal to the Zerg Swarm
#96: Dec 4th 2023 at 6:46:19 PM

Ignore - accidental double post.

Edited by Flameal15k on Dec 4th 2023 at 6:46:41 AM

AudioSpeaks2 He/Him (Greenhorn) Relationship Status: Oh my word! I'm gay!
He/Him
#97: Dec 4th 2023 at 6:55:16 PM

[up][up][up] Same, I'm still logged in and it's 10:55 AM December 5 in my timezone.

Edited by AudioSpeaks2 on Dec 4th 2023 at 10:55:46 PM

Art Museum Curator and frequent helper of the Web Original deprecation project
Siegfried1337 Unofficial co-Wiki Curator for Magnificent Bastard from the Ashes Since: Sep, 2018 Relationship Status: A cockroach, nothing can kill it.
#98: Dec 4th 2023 at 7:04:46 PM

We've been through a wild ride. Hope the conversion goes well.

MB Pending | MB Drafts | MB Dates
eagle108 Since: Aug, 2009
#99: Dec 4th 2023 at 7:06:51 PM

Best of luck on the overhaul!

RainehDaze Figure of Hourai from Scotland (Ten years in the joint) Relationship Status: Serial head-patter
Figure of Hourai
#100: Dec 4th 2023 at 7:33:21 PM

Just to clarify, will the site be down entirely or just read-only while this is going on?

Avatar Source

Total posts: 331
Top