News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Upgrading from GH

Started by skb, October 26, 2019, 10:23:48 PM

Previous topic - Next topic

skb

For upgrading from 2.1 RC2 to latest GH build, do I need to run upgrade.php ?

SMF 2.1.4 / TP 2.2.2

Bob Perry of Web Presence Consulting

Quote from: skb on October 26, 2019, 10:23:48 PM
For upgrading from 2.1 RC2 to latest GH build, do I need to run upgrade.php ?

Yes, but be certain you have uploaded the correct version of the GH upgrade .zip file first, all of it...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

skb

Thanks. I have the one d/l on 24th this month.

SMF 2.1.4 / TP 2.2.2

Bob Perry of Web Presence Consulting

Quote from: skb on October 27, 2019, 12:59:43 AM
Thanks. I have the one d/l on 24th this month.

I would try running repair_settings.php and double checking that the folder names have 755 permission, and files have 644 w/recursion to all sub-directories...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Illori

Quote from: Bob Perry of Web Presence Consulting on October 27, 2019, 04:10:33 AM
I would try running repair_settings.php and double checking that the folder names have 755 permission, and files have 644 w/recursion to all sub-directories...


there is no reason to run repair_settings.php if everything is working correctly. also if everything is working correctly, no reason to chmod before doing the upgrade.

skb

The issue I faced after the upgrade, was, that only the first post on any page in a topic could be seen. So I gave up after a few tries. I did run repair settings (for 2.1). I'll take it up after a few days or maybe wait for RC3.

SMF 2.1.4 / TP 2.2.2

m4z

Are you using a custom theme (or even just a clone of Curve2 with different colors)? You need to update your theme, there were changes after rc2.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Arantor

Upgrading rules:
* you shouldn't need repair settings if upgrading in place
* you should only need to run upgrade.php if the upgrader or upgrade SQL files have changed since your last update
* chmod should only be needed to make things writable for mod installation

lurkalot

Quote from: Arantor on October 27, 2019, 08:43:55 AM

* you should only need to run upgrade.php if the upgrader or upgrade SQL files have changed since your last update


Interesting. Regarding the running of upgrade.php.  Does it do any harm to run this when it's not required?  I ask because I have to admit to doing this every time I overwrite my files with the latest nightly builds.  As far as I'm aware it hasn't caused me any problems.  I actually did this very same thing only yesterday.   

Arantor

It will mostly be fine, the times it won't are really complicated and apply to specialised situations which I don't think you're running into.

lurkalot

Quote from: Arantor on October 27, 2019, 09:32:56 AM
It will mostly be fine, the times it won't are really complicated and apply to specialised situations which I don't think you're running into.

Thanks.  I guess the problem is, most people including myself won't know if the upgrader or upgrade SQL files have changed since last update, unless they follow every change on GitHub.   I usually take a chance and grab a nightly build every couple of weeks.

Arantor

Yeah, that's the downside, you need to go following GH quite intensely for that kind of thing. Just upgrading every time is probably the way to go - remember, this is why people should have test sites.

lurkalot

Quote from: Arantor on October 27, 2019, 09:48:52 AM

- remember, this is why people should have test sites.


Thanks again, and agree about having test sites.  I have four live test sites, and loads of local installs in XAMPP at various scenarios so I can test upgrading etc.  Also have clones of my live sites, for trying out mods before letting them loose on my live sites.

Bob Perry of Web Presence Consulting

Quote from: Illori on October 27, 2019, 05:00:04 AM
Quote from: Bob Perry of Web Presence Consulting on October 27, 2019, 04:10:33 AM
I would try running repair_settings.php and double checking that the folder names have 755 permission, and files have 644 w/recursion to all sub-directories...


there is no reason to run repair_settings.php if everything is working correctly. also if everything is working correctly, no reason to chmod before doing the upgrade.

Well that's why I suggested what I did, everything is NOT ok on his site if the one listed in his sig is the one in question, I get a blank page with 404 error...
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

Tonyvic

QuoteWell that's why I suggested what I did, everything is NOT ok on his site if the one listed in his sig is the one in question, I get a blank page with 404 error...
Looks like it's only the link in his signature is wrong, try...
https://www.diabetic.pub/index.php

skb

Thanks everyone. Very valuable inputs. Yup, signature hasn't been updated in a long time.

SMF 2.1.4 / TP 2.2.2

lurkalot

Quote from: skb on October 27, 2019, 11:58:34 PM
Thanks everyone. Very valuable inputs. Yup, signature hasn't been updated in a long time.

The link on your blogspot page also needs changing as well then I guess, the one linked in your profile.

So I take it the forum is working ok now, apart from all the missing images?

skb

Yup. Thanks Mick.

Yes, the forum is back on RC2. I will try upgrading when I have some spare time.

SMF 2.1.4 / TP 2.2.2

Advertisement: