Charlottezweb

Charlottezweb Hosting => Support => Topic started by: NineseveN on June 27, 2010, 09:17:52 PM

Title: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: NineseveN on June 27, 2010, 09:17:52 PM
For anyone that's done this upgrade, any pain points of areas of concern that you ran into and wouldn't mind sharing. I'm assuming it's ass straightforward as installing SMF normally is, but I haven't been keeping up on the software and I figured I'd get a bird's eye view of the process before I dug in and did it.
Title: Re: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: Jason on June 27, 2010, 09:24:11 PM
It all depends on how customized/modded your current forum is.  If it's fairly stock (or you don't mind losing mods) my experience has been that it's pretty easy.

You may have to do this:

http://docs.simplemachines.org/index.php?topic=1079.0

-J

edit:  If you do have mods and you want to keep them, be sure beforehand that they have current versions that work with 2.x
Title: Re: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: NineseveN on June 27, 2010, 10:24:26 PM
No mods, just a few additional themes....the SMF forums seem to be down for me at the moment, but thanks for the link, I'll check it out tomorrow. :)
Title: Re: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: Mark on June 28, 2010, 02:00:33 AM
I have 3 suggestions to add to this;

1. Backup
2. Backup
3. Backup

Outside that, it's really easy. That said, just like mods, you may want to make sure your themes are compatible too. There were a lot of theme changes in the latest release.
Title: Re: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: AverageMom on January 06, 2011, 10:31:38 AM
I know this is an old post, but I didn't want to start another one to ask basically the same thing.

If I'm willing to "lose" some mods, what happens to the modded files that are not needed/no usable after the upgrade? Do I have to manually remove them or will they be removed automatically?

I also have flashchat integrated as part of the forum, like if a person goes to .../index.php?action=chat , they stay on the forum but are logged into flashchat. Will that still work if I upgrade to smf 2.0 RC4?

Jason, would I need to do this? "http://docs.simplemachines.org/index.php?topic=1079.0"


and if I can't do the upgrade, can I just go back to using 1.1.12 without any problems by restoring a previous backup?


edited to add:

I checked out SMF and the mods I've been using for the most part are features included with SMF 2.0 RC4...
Am I able to do a fresh install of 2.0 RC4 and import my current database?

Is there a tutorial somewhere to help me through this? My forum is only a month old, but it seems to being doing well, and I don't want to lose any members or posts over this.
Title: Re: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: Jason on January 06, 2011, 01:11:43 PM
Quote from: AverageMom on January 06, 2011, 10:31:38 AM
If I'm willing to "lose" some mods, what happens to the modded files that are not needed/no usable after the upgrade? Do I have to manually remove them or will they be removed automatically?

You don't need to manually remove them -- most likely the files that were edited will be overwritten by new 2.x versions. 

Quote
I also have flashchat integrated as part of the forum, like if a person goes to .../index.php?action=chat , they stay on the forum but are logged into flashchat. Will that still work if I upgrade to smf 2.0 RC4?

We'd probably have to hunt down an answer for that on SMF's site.  I haven't personally upgraded one from 1.x to 2.x that uses a chat.  You might have to re-add the menu option for that if you did that last time.

Quote
Jason, would I need to do this? "http://docs.simplemachines.org/index.php?topic=1079.0"

Honestly I'm not quite sure.  That issue seemed to be hit or miss where I'd have to do it probably 50% of the time I was doing an upgrade.  They may have addressed it since when it first started but if not, it's not a huge deal.  It adds a couple minutes on to the time to edit a couple lines of code.

Quote
and if I can't do the upgrade, can I just go back to using 1.1.12 without any problems by restoring a previous backup?

Definitely.  Always back up BOTH the files and your database any time you edit your forum just in case.

Quote
edited to add:
I checked out SMF and the mods I've been using for the most part are features included with SMF 2.0 RC4...
Am I able to do a fresh install of 2.0 RC4 and import my current database?

I don't think so. There are database changes that need to be done during the upgrade process to your existing db.

Quote
Is there a tutorial somewhere to help me through this? My forum is only a month old, but it seems to being doing well, and I don't want to lose any members or posts over this.

As long as you backup you won't lose anything even if you have to restore that.  But the process should be relatively painless typically.  You find the upgrade package you need on their site, upload it via ftp to your forum folder and then access /upgrade.php in your browser.  It will step you through the rest.  For a new forum like your's, the process itself to run upgrade.php should be under 5 minutes.

http://docs.simplemachines.org/index.php?board=3.0;sort=subject

Cheers,
Jason
Title: Re: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: AverageMom on January 06, 2011, 01:18:21 PM
Thanks for the quick reply! I appreciate the help.

I'll back everything up and attempt this tonight, I'll post back once it's done, just to update.

As for flashchat, I didn't have the link on the menu, it was only available to a few select members right now, so it's not a big deal.

I can't wait to try it  ;D
Title: Re: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: AverageMom on January 06, 2011, 08:37:07 PM
Ahhh, that was pretty painless! I wanted to start over with a clean slate because I had edited so many files, and I knew some of the mods would be kept, I couldn't uninstall them through the package manager, so I said eff it, I did a fresh install of 1.1.12, had a few moments of panic when I was trying to import my database, but I finally managed LOL

Then I upgraded to 2.0 RC4 and I was able to do that in like 5 minutes. All in all, went pretty smooth. I had no problems adding the mods I wanted to use either.

Now we're up and running and every looks good, I'm so happy with the new look. It's gonna take some getting used to.

Not bad for someone who was just considering a blog and ended up with a forum eh? LOL

Thanks for the help.
Title: Re: Upgrading SMF from 1.1.11 to 2.x (anything I should know beforehand)?
Post by: Jason on January 06, 2011, 09:02:37 PM
Nicely done --  Sounds like you're a pro!   :)