Advertisement:

Author Topic: Moving from 2.0.13 on one server to 2.0.15 on another with SSL  (Read 1455 times)

Offline SomeoneElse

  • Semi-Newbie
  • *
  • Posts: 16
What I have:

SMF 2.0.13 at "http colon slash slash www dot example dot com"

Won't update past then because the PHP 5 version is too old.

What I want:

SMF 2.0.15 at "https colon slash slash example dot com", with the existing users and posts.

What I have done:

Ensure those two URLs point to different servers OK. Install 2.0.15 on the new one. Put it into maintenance mode, and check I can make a backup of the old one.

I hoped to be able to install 2.0.13 on the new server, just in case there were any issues in installing a database from 2.0.13 on a board running 2.0.15 but it turns out that 2.0.13 won't install if you have PHP 7. Which the new one obviously does.

Is there going to be a problem? I have seen the barest guide to moving at the Hosting_-_How_do_I_move_my_SMF_forum_to_a_different_host on the wiki and see that I will need to run repair_settings to ensure everything points to an https URL (and loses the www. too?)

I am not entirely convinced that I have access to any uploaded avatars on the old server, but a) personally I don't care, they can re-upload them, and b) even better, I don't think there are any attached files to worry about on the old setup.

(URLs spelt out because otherwise they get treated as naughty external links...)

Offline 青山 素子

  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,067
  • 戦場ヶ原、蕩れ!
    • srvrguy on GitHub
    • @motokochan on Twitter
    • Nekomusume Moe
Re: Moving from 2.0.13 on one server to 2.0.15 on another with SSL
« Reply #1 on: April 09, 2018, 02:25:41 AM »
Database-wise, you can backup your old database and then upload it to the new host in place of the database you installed into on the new host. After that, upload the upgrade package and run the upgrade.php process. That will make any needed database structure changes.

As for avatars and uploaded files, you will just need to copy over the attachments directory from the old host to the new host.

Those steps should get you running on the new host. You'll need to re-install any themes and other customizations you had on the old system.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.