TinyPortal

Development => Support => Topic started by: Ed on February 14, 2011, 12:05:04 AM

Title: Problems with upgrade
Post by: Ed on February 14, 2011, 12:05:04 AM

SMf 1.1.13
TinyPortal v0.9.8
English Language
Helios Multi
Opera
Mods installed: Avatars, Who Voted what
Related Error messages:7.   Execute Modification   ./index.php   Test failed
8.   Execute Modification   ./Sources/Load.php   Test failed
9.   Execute Modification   ./Themes/default/index.template.php   Test failed
10.   Execute Modification   ./Themes/babylon/index.template.php   Test failed
11.   Execute Modification   ./Sources/Subs.php   Test failed
12.   Execute Modification   ./Sources/ManagePermissions.php   Test successful
13.   Execute Modification   ./Sources/Security.php   Test successful
14.   Execute Modification   ./Sources/Errors.php   Test successful
15.   Execute Modification   ./Themes/default/Help.template.php   Test failed




I tried to upgrade to the latest version of TP after upgrading SMF to 1.1.13 after becoming aware of a vulnerability, having login problems and having a strange e-mail that suggested somebody had hacked my forum.

The upgrade through the package manager failed, so I went to my server and checked the permissions. Most were 755, I thought maybe they should be 777, so I changed them to 777. As soon as I changed to 777 the forum crashed. When I changed them back, the forum came back up.

Another strange thing -- I deleted my current TP install, using the package manager, prior to installing the new version. The new version didn't install. The old one no longer shows up on the installed packages list, but the portal is still working.

Any advice on how to proceed, please?
Title: Re: Problems with upgrade
Post by: lurkalot on February 14, 2011, 12:15:43 AM
ED, welcome to TP support.

Now you say you deleted your current TP install, but did you actually un-install it first?

If it was me, and with only a couple of mods installed it might pay to install a fresh set of SMF files first, and then install TP.

Wait and see what the other team members suggest first though
Title: Re: Problems with upgrade
Post by: IchBin on February 14, 2011, 12:15:44 AM
Did you actually uninstall or just delete TP? You need to uninstall before can upgrade. If you can't go back, I can only suggest you upload a fresh set of SMF files an then install your mods again.
Title: Re: Problems with upgrade
Post by: Ed on February 14, 2011, 07:39:26 AM
Thanks for the welcome and the replies.

There was no option in the package manager to uninstall, which would have been my preferred option, there was only [list files] and [delete]. I chose [delete], thinking it would be a simple fresh install that way.

When you say upload a fresh set of SMF files, do you mean the whole forum, or just a specific few, like the ones that won't install? I wouldn't mind starting afresh with TP, because there's nothing in the articles that I want to keep.

The CHMOD thing -- is that normal? I wouldn't have expected 777 to have made the forum crash like that.

Thanks.[/list]
Title: Re: Problems with upgrade
Post by: lurkalot on February 14, 2011, 09:46:33 AM
No uninstall visible.  Thats because your sites been upgraded a few times via the package manager, and the version of TP you installed wasn't packaged for the version you were last using.   If you had uninstalled those updates via the package manager, the uninstall would probably appear.

You need to download a fresh set of files from the SMF download page latest "Large upgrade package" for the version you are using in your case 1.1.13.  Unzip and upload them to your server overwriting the old files. then run the upgrade.

Please make a backup first of your database, settings.php and other stuff like themes attachments etc, just in case.
Title: Re: Problems with upgrade
Post by: Ed on February 15, 2011, 07:58:47 AM
Had a go at it last night, renaming files instead of deleting them, and I'm glad I did, because it all went pear shaped and I ended up restoring back to the old files. I think I'm going to have to manually edit the files, like last time.

Thanks for the help, guys  :)
Title: Re: Problems with upgrade
Post by: lurkalot on February 15, 2011, 08:18:41 AM
Quote from: Ed on February 15, 2011, 07:58:47 AM

Had a go at it last night, renaming files instead of deleting them,


Sorry, what files are you renaming ED?  The advice was to backup your files, and then overwrite them with a fresh set from the SMF upgrade package.
Title: Re: Problems with upgrade
Post by: Ed on February 15, 2011, 05:43:53 PM
I renamed Sources and Themes as Sources-old and Themes-old, then uploaded the fresh files from the SMF upgrade package to take their place on the server. It's just quicker and easier to turn the clock back if something goes wrong -- it shouldn't cause any problems, should it? It's much the same as opting to keep the old files in an upgrade with a tilda after them, I'd have thought.