QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

What is process for upgrading a forum from 2.0.17 to 2.1RCx ?

Started by LandyVlad, Jan 31, 2020, 01:37 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

LandyVlad

Ok so someone (possibly me) has undoubtedly asked this in some form or other.

When RC3 comes out, I want to create a copy of my existing 2.0.17 forum (as 2.1_test), and upgrade the test forum to 2.1RC3

I'd need to ensure it doesn't affect the existing forum, and that stuff done to the test forum doesn't send messages to regular users etc (as they will get super confused).

If anyone can go through the process for me, and/or point me to appropriate threads/resources (here or on the simplemachines forum) that'd be great.

Ta.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Skhilled

To create a copy of your forum:

1.  Backup your forum's files and the database in case something goes wrong!

2.  Create a new database and import the backup to it using phpmyadmin.

3.  Create a new directory and upload the files to it.

4.  Upload repair_settings.php: https://download.simplemachines.org/index.php?tools

5.  Run: https://yourforum.com/repair_settings.php.

6.  Change all instances of any links and directories in it to the new forum and database.

7.  Open settings.php and make sure all instances of the old directories and db are changed to the new directory and db.

8.  Login in and enjoy!

EDIT: Here's something a little more detailed I wrote some years ago:

https://www.docskillz.com/docs/index.php?page=page201

LandyVlad

It's point 6 I'm unclear on. Are you able to give an example please?
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Skhilled

When you run repair_settings.php, you'll see various settings that contain links to things like your main forum directory, your theme folders, etc. If your current live site is in the folder "/site1" and your test site is in "/site2" then make sure they all say "/site2".

LandyVlad

Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Skhilled

And if URL's show "http" change them to "https".

Bigguy

"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

LandyVlad

Haven't done it yet mate - other things keeping me busy I'm afraid.
Can wait for RC3.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

lesmond


The only person who got all his work done by Friday was Robinson Crusoe

Bigguy

That might not mean a lot if problems arise with the next push.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

LandyVlad

Quote from: lesmond on Mar 18, 2020, 10:08 AMRC3 is at 99% complete

haha still haven't done it yet as was waiting for RC3.

Will probably duplicate the 2.0.17 forum though. As a starting point.
Just another job on the to do list.

Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

LandyVlad

Well now RC3 is released I have run out of excuses.
Will duplicate by 2.0.17 forum, then strip it back to justa  few boards (delete heaps) as I don't need all of it for testing.
Then I'll upgrade it to RC3 and see how it goes :)

 
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

LandyVlad

Before you ask... no I've had other stuff going on, haven't done this yet LOL
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.