Advertisement:

Author Topic: From 1.1.4 to 2.0.13 and a new server: Any ideas?  (Read 2253 times)

Offline BlondeUnderdog

  • Newbie
  • *
  • Posts: 2
From 1.1.4 to 2.0.13 and a new server: Any ideas?
« on: February 15, 2017, 02:06:53 PM »
Hello

I was chosen (or I volunteered) to take care of a very old SMF forum, which received no maintanance since it's initial setup some 7 or 8 years ago.
The forum runs on a linux box, it is a virtual server with ubuntu. Some facts about this installation, which I will call the
productive / live environment:

- Apache 2.2.22
- PHP 5.3.10
- mysql-server-5.5 5.5.32
- phpMyAdmin 3.4.10.1deb1
- SMF 1.1.4[/li][/list]


I have SSH & SFTP access to the server and all the usernames & passwords (root, database, forum-admin) that I need.

I know, I am as shocked as you are about such an outdated installation, but that's what happens when no one takes care of the technical stuff.
The person who did the initial installation is no longer available, and the owner of the forum and the linux server has no clou about computer stuff.

That's where I come in, and these ppl behind the forum asked me to help out. Well, I am working in the IT industry with experiance in server, hosting, network,
Java Webapplications, Tomcat, Apache and this stuff, but unfortunately with no experiance in Linux, PHP, MySQL, and SMF.

Now I have three goals:

- set up a test environment at home on a spare DELL Notebook with the same software versions like the productive environment (almost accomplished)
- migrate the complete productive environment to a new server and hosting provider, of cause with the latest software versions
- upgrade the SMF software to the latest version, I think it is 2.0.13.

Since I have no experience with Linux and PHP, I am very shy to just update the patches of SMF on the productive environment. I am afraid to damage
the well running forum.
Therefore, I need a test environment to get used with all this stuff before I put my hand on the productive system.

What I understand from the FAQ here is that I probably need to apply every single patch: 1.1.5, 1.1.6... 1.1.21 and then upgrade to 2.0, 2.0.1, up
to 2.0.13.

Is there a quicker route to take?

Since I need to set up a fresh, new server anyway, would it be possible to start a new server installation, then install SMF 2.0.13, and then
copy all the old forum data on to the new server?

Thanks for your help and patiance!

Regards, Klaus

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,508
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #1 on: February 15, 2017, 02:09:22 PM »
you dont need to upgrade each version, just use the large upgrade package to go to 2.0.13.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,209
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #2 on: February 15, 2017, 02:12:22 PM »
Just note make sure you stay on PHP 5.6 version till SMF 2.0.14 patch which will support PHP7
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,810
  • Gender: Male
    • Kindred-999 on GitHub
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #3 on: February 15, 2017, 03:40:13 PM »
actually, we've encountered some people who have issues with that big jump...


recommended...

1- remove your custom themes.
2- do the "large upgrade" directly to 1.1.21 from 1.1.4 (do not bother with the one by one patches)
3- **THEN** do the upgrade to 2.0.13

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,713
  • Too long in the wasteland
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #4 on: February 15, 2017, 09:41:21 PM »
I would clone the forum in a new directory on same server.  Copy all files from existing 1.1.4 install, import production database into a new db, edit Settings.php and Settings_bak.php with new db credentials, run repair_settings.php.  When it's up and running, do on the clone what Kindred suggested, large upgrade to 1.1.21, then large upgrade to 2.0.13.  If all goes well, you can rename the directories to flip the clone into production directory, run repair_settings.php in new location.  If all is good, you can move the upgraded forum and db to new server.  You'll still have the original 1.1.4 production forum and db if things get sideways.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,810
  • Gender: Male
    • Kindred-999 on GitHub
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #5 on: February 15, 2017, 10:05:01 PM »
I happen to disagree with that suggested process. I think it is overly complicated and unnecessary since it is much simpler to just have a good backup of files and database and restore that instead of trying to do a clone and having to redo all paths and URLs and just gets confusing to most users
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,713
  • Too long in the wasteland
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #6 on: February 15, 2017, 10:49:43 PM »
It's simpler than what OP is proposing, running a local test install, and it doesn't touch the working production forum if done correctly.  If you're comfortable with the upgrade process it's overkill, but if you're not it's a safe way to try it without risk.

Offline BlondeUnderdog

  • Newbie
  • *
  • Posts: 2
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #7 on: February 21, 2017, 03:34:20 PM »
Thanks a lot for all your replys and support.

I was able now to upgrade my test environment to SMF 1.1.21 with almost no hasle, and will upgrade the productive forum in a week or so.

I will keep you posted about my progress and upcoming difficulties...  :-[

Offline RafaelPidayNE

  • Newbie
  • *
  • Posts: 2
From 1 1 4 to 2 0 13 and a new server Any ideas
« Reply #8 on: March 04, 2017, 09:42:13 PM »
1. ScreenResMode, SetPageNumber, CheckForHeader, CheckForFooter, AssignHeaderTo and AssignFooterTo no longer exist. What are the alternatives?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,810
  • Gender: Male
    • Kindred-999 on GitHub
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #9 on: March 04, 2017, 10:12:38 PM »
Are you the same user? or working on the same site?

If not, then please start your own thread.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,707
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: From 1.1.4 to 2.0.13 and a new server: Any ideas?
« Reply #10 on: March 05, 2017, 09:39:13 AM »
And you'll need to do it in the support section.
Please do not PM me for support.