Advertisement:

Author Topic: Upgrading and Moving DIR  (Read 3222 times)

Offline tuskawilla

  • Semi-Newbie
  • *
  • Posts: 27
Upgrading and Moving DIR
« on: May 05, 2012, 11:36:14 AM »
So long ago in a galaxy far far away....  I accidentally installed SMF directly into my website root.  So if you go to the site, www.ipmsorlando.com you will see our site is just a forum.  This wasn't the original idea but the club liked it and so it was left alone.  However, I still thought the forum should have resided in a /forum folder and a real "index.html" should give our users basic info before the forum.  Now cut to present day and people have decided I was right all along.

So here is what I am looking at doing. 
1. Upgrading from 1.1.12 (updating to 1.1.16 is messing up...) to 2.02.  This way I have the latest and greatest
2. Moving the site into the /forum folder
3. Not losing anything, users, posts etc..

SO I did read the guide on upgrading and it is helpful.  If I were merely upgrading, I would probably only ask if the Users info is included in the database backup?  I'm not sure if it is and if not where is it to back it up also?  I'd hate to have to have everyone reregister, just not practical but I doubt such a thing is overlooked in the smf backup either, but better to ask than not know for certain.

The more difficult question, what's the best way to MOVE the site from root to /forum ??  I suppose there is more to it than just copying from root and pasting into /forum cause I tried that as a test, the second you click on a link for any category or on the home button you are returned to the forum in the root folder.

I was kinda hoping I can do a Clean install of smf 2.02 in the correct folder then upload my database and "POOF" it works.  I'm probably in fantasy land on that but hell, if the site died and I had to restore it with only the database, it would have to have a way?

So I know you guys and gals know SMF better than I.  What is my best course of action besides not installing the wrong place 2 years ago...

thanks for your help
you're awesome

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 47,587
  • Gender: Male
  • Yum!
Re: Upgrading and Moving DIR
« Reply #1 on: May 05, 2012, 11:58:24 AM »
"Poof!" isn't too far from the truth, mate!

Move everything, as you thought.

Dump your themes and mods, coz they won't work with v2.

Then, use this: http://wiki.simplemachines.org/smf/Repair_settings.php

to sort your paths out and all that stuff.

Once that's done, you can go for the upgrade.

Just remember my sig, before you start all this... ;)

Offline tuskawilla

  • Semi-Newbie
  • *
  • Posts: 27
Re: Upgrading and Moving DIR
« Reply #2 on: May 06, 2012, 12:11:02 PM »
I am attempting to give it the old college try...

I have backed up my site and my database to begin with.

I was attempting to remove the 2 modification packages I have installed and ran into these errors..

"Anti Bot: Unrecognizable Form"
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    -    Modification parse error
hit uninstall anyway and it says, "The package has been uninstalled, it should no longer take effect. "

"Simple Image Upload"
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    -    Modification parse error
2.    Delete File    ./addform.html    
hit uninstall anyway and it says, "The package has been uninstalled, it should no longer take effect. "

yet they remain installed!  argh!

Offline tuskawilla

  • Semi-Newbie
  • *
  • Posts: 27
Re: Upgrading and Moving DIR
« Reply #3 on: May 06, 2012, 03:55:34 PM »
Ok, so I did some RTFM and manually removed the 2 offending mods and realized I had some dir permissions issues and fixed those as well.

Next for the move and upgrade attempt!

Praying to the internet! :o

Online Colin

  • Customizer
  • SMF Hero
  • *
  • Posts: 6,751
  • Gender: Male
  • SMF Customizer
    • colinschoen on GitHub
Re: Upgrading and Moving DIR
« Reply #4 on: May 06, 2012, 03:56:21 PM »
LOL :). Good luck and let us know if you run into any trouble.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Offline K@

  • Lead Support Specialist
  • SMF Master
  • *
  • Posts: 47,587
  • Gender: Male
  • Yum!
Re: Upgrading and Moving DIR
« Reply #5 on: May 06, 2012, 04:01:55 PM »

Offline tuskawilla

  • Semi-Newbie
  • *
  • Posts: 27
Re: Upgrading and Moving DIR
« Reply #6 on: May 06, 2012, 06:40:05 PM »
Well, I have to say, I was pretty stressed hoping it all worked out and I did a lot of reading on your boards to remove the problem mods and followed your guides and OMG!

IT'S ALIVE!!!

Thanks and Kuddo's to you all here helping joe's like me out cause it's up and moved and now I can go do other stuff with the last hours of my weekend!

http://www.ipmsorlando.com

Online Colin

  • Customizer
  • SMF Hero
  • *
  • Posts: 6,751
  • Gender: Male
  • SMF Customizer
    • colinschoen on GitHub
Re: Upgrading and Moving DIR
« Reply #7 on: May 06, 2012, 07:05:41 PM »
So happy you got it working. Topic marked as solved.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Offline SilverG

  • Newbie
  • *
  • Posts: 5
Re: Upgrading and Moving DIR
« Reply #8 on: May 11, 2012, 02:04:10 PM »
Thanks for posting this. It helps me a lot.

Offline Albonymouse

  • Newbie
  • *
  • Posts: 4
Re: Upgrading and Moving DIR
« Reply #9 on: May 22, 2012, 09:51:52 AM »
Hello,
because my work is similar.

I have a SMF 2.0 RC3 on a ubuntu 8 machine, and I need to move the forum and upgrade to 2.0.2 on a new ubuntu 12.04 machine.

Which is the best way? I upgrade before moving, or I move before upgrade?
Could I move the 2.0 RC3 forum directly to 2.0.2?

Thanks for your help.

Online Colin

  • Customizer
  • SMF Hero
  • *
  • Posts: 6,751
  • Gender: Male
  • SMF Customizer
    • colinschoen on GitHub
Re: Upgrading and Moving DIR
« Reply #10 on: May 22, 2012, 06:01:24 PM »
Please start another thread.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Offline Oceander

  • Semi-Newbie
  • *
  • Posts: 20
Re: Upgrading and Moving DIR
« Reply #11 on: May 22, 2012, 08:48:42 PM »
This is a most useful thread.  Thank you to the OP for posting it, and to the folks who responded with the good advice.