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

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

Previous topic - Next topic

0 Members and 1 Guest 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.
I reject your reality, and substitute my own.

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?
I reject your reality, and substitute my own.

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

I reject your reality, and substitute my own.

Skhilled

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

Bigguy


LandyVlad

Haven't done it yet mate - other things keeping me busy I'm afraid.
Can wait for RC3.
I reject your reality, and substitute my own.

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.

LandyVlad

Quote from: lesmond on Mar 18, 2020, 04:08 PMRC3 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.

I reject your reality, and substitute my own.

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 :)

 
I reject your reality, and substitute my own.