News:

Wondering if this will always be free?  See why free is better.

Main Menu

Upgrading from 2.0.13 to 2.0.14 broke our forum

Started by probeman, August 25, 2017, 03:01:02 PM

Previous topic - Next topic

probeman

Just as a reminder, I started this topic after I originally tried to update from 2.0.13 to 2.0.14, but I didn't notice that I needed to update my PHP server first.

After that attempted update, the forum was broken but I was able to get Network Solutions to update the PHP (and mySQL) severs (both to v. 5.6), so they should be OK now. 

I think at that time they also restored our website files from their backup, but it's not clear because although they said the restore occurred, the Network Solutions Account Manager doesn't display any restores in the list of run restores.  They said that was a display issue which they are working on.

Do I need to uninstall 2.0.13 first and then install it again?  How do I proceed?   Can anyone suggest an SMF consultant?

drewactual

the proper way to do this is to go through each of the 'failed' files and set them to the requested state.. SMF literally tells you "replace this with this" or "add this after this", which makes it simple, albeit often time consuming. 

now i'm going to get flamed for this, as it isn't the proper way to do what is in front of you... i notice your failed files are all in the Sources directory. 

"i am not you- but if i were you though not being you, what i'd do is" :I'd pull a copy of Sources from the last working back-up, and i'd compress it and place it at the root of your SMF install... then, i'd change the name of the Sources directory already there to "Sources~broke"... then i'd de-compress the Sources folder you just uploaded to the root directory, thus becoming the functional 'sources directory'. 

why would i do this if i were you? (but i'm not you, but if i was)... because the failures are all items in the Sources parent directory.  w/o seeing the failures, i'd wager they consist of SMF looking for script/lines the install of mods has already altered- not finding the original line, issued a failure, even though what's presently there is what it would be placing there anyway. 

if what i'm suggesting you do works as intended (you'd do it if you were me but you aren't me) there should be no more action required except to tell the db they're running... how do you do that?  you install them.


probeman

#42
DrewActual: I understand what you are saying I think.

Can I do the same thing you suggest but just use FTP to upload a backup Source folder (after renaming the old Sources folder)?   Will renaming the Sources folder prevent the forum from running?

What does the Sources folder do for the running of the SMF forum anyway?  Is it just there for documentation purposes?

Also, the last backup I have is when the forum was running an older PHP server version.  With the original attempt to update from 2.0.13 to 2.014, the forum page failed to load with an error in the Sources\load.php file (see the first post in this topic).  If I upload the Sources folder when the old PHP server was running will that cause a problem again?
john

Kindred

Tha many failures indicates something is very wrong...   usually you only see one or two errors that you have to edit manually.
Слaва
Украинi

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

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

probeman

Quote from: Kindred on September 02, 2017, 06:21:29 PM
Tha many failures indicates something is very wrong...   usually you only see one or two errors that you have to edit manually.

Yes, I think it was because of the previous attempt at updating from 2.0.13 to 2.0.14 which failed due to the old PHP server version apparently.

The forum seems to be running OK.  So what do I do at this point?   Would FTP'ing a previous 2.0.13 Sources folder up to the forum site work?

john

probeman

OK, my admin guy looked at the site and wrote "Update complete. Most of the errors were trivial and I edited them out by hand. Just keep an eye out for a while until there are no problems."

So I guess I am OK and up to date now!   Thanks for all your advice and suggestions.

But just curious, in my previous post I asked about restoring the 2.0.13 Sources folder using FTP.  Would that have been OK?
john

Kindred

If you had restored the sources folder, you would have had to also restore all the other files, isnce retoring sources would leave the templates and root files in conflict with the sources
Слaва
Украинi

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

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

probeman

Quote from: Kindred on September 03, 2017, 08:39:47 AM
If you had restored the sources folder, you would have had to also restore all the other files, isnce retoring sources would leave the templates and root files in conflict with the sources

I think you are correct because now that my admin guy has restored the Sources, Templates and Themes folders the Stop Forum Spam and Gallery Lite add-ins aren't working any more.

Last time they were listed with an "Install" link but now they say "Uninstall".  So can I uninstall the Gallery Lite and then re-install it and I won't lose my Gallery images?
john

probeman

OK, uninstalling and re-installing the Stop Forum Spam, ReCAPTCHA and Gallery Lite seemed to fix everything.

I do hope that this is the end of this very long nightmare!

Thanks for all your help and suggestions!
john

Advertisement: