TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 18, 2024, 10:19:44 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 112
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 48
  • Total: 48

Upgrading to TP 2.1.0

Started by Anmer, August 15, 2021, 08:41:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Anmer

I was planning to upgrade from TP 2.0.0 to TP 2.1.0.

However, when I go to Package Manager there's no "Uninstall" option against TP 2.0.0.  And in "Installed Packages" it lists version 1.105.

I migrated to a new hosting provider at the end of last year and installed SMF and TP afresh.

Link to my site: www.radarspotting dot com
SMF version: 2.0.18
TP version: 2.0.0
Default Forum Language: English
Theme name and version: SMF Default Theme - Curve
Browser Name and Version: Chrome Version 92.0.4515.131 (Official Build) (64-bit)
Mods installed: TP, Contact Page, NChat, SMF Gallery Pro


Can I safely uninstall version 1.105 via "Installed Packages" and then install 2.1.0?

@rjen

No clue tbh . What TinyPortal packages did you leave in the forum?

Running Latest TP on SMF2.1 at: www.fjr-club.nl

Anmer

Quote from: @rjen on August 15, 2021, 08:56:22 AM
No clue tbh . What TinyPortal packages did you leave in the forum?

Sorry not sure what you mean?

I did a fresh install of TP 2.0.0 when I migrated the forum to the new hosting service.  And a fresh install of SMF 2.0.17.  Database was backed up.

@rjen

But apparently you left the old TinyPortal package on the server. Was that the only old package there?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Anmer

Understood.

Please see attached.

TP 1.105 is the only TP package left on the server.


lurkalot

Quote from: Anmer on August 15, 2021, 09:04:38 AM
Quote from: @rjen on August 15, 2021, 08:56:22 AM
No clue tbh . What TinyPortal packages did you leave in the forum?

Sorry not sure what you mean?

I did a fresh install of TP 2.0.0 when I migrated the forum to the new hosting service.  And a fresh install of SMF 2.0.17.  Database was backed up.

What packages have you got in your packages folder on your server. Do you have both TP 1.105. and TP 2.0.0 in there?

@rjen

I think it is SMF misinterpreting the version numbers: It assumes that 1.105 is newer than 2.0.0 ....

Cannot be sure, but I think that if you remove the old package from the folder using ftp SMF will then show the uninstall for the 2.0.0 package

UPDATE: NO that's not it, just tried it by uploading 1.105 (which is dated sept 2010 by the way) to a test forum, and it stays OK.

So maybe something funny happened with your forum move? If you are sure the 2.0.0 is installed I think you can best use the fix-packages utility from SMF: that will allow you to set 2.0.0 as installed and 1.105 as uninstalled...

Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

Quote from: @rjen on August 15, 2021, 12:03:44 PM

UPDATE: NO that's not it, just tried it by uploading 1.105 (which is dated sept 2010 by the way) to a test forum, and it stays OK.
.

You just beat me to it, just tried the same thing and same as you it showed the correct version installed.  I was also going to say about the fix_packages tool to correct this, https://download.simplemachines.org/index.php?tools

I would strongly recommend a backup is taken before using this though, just in case.

Anmer

Thanks to both of you for responding.

TP 2.0.0 definitely installed.

I'll try the fix_packages tool after tomorrow's full backup.


Anmer

Ran fix_packages.php

Unfortunately TP 1.105 appears as both Installed and Uninstalled and are the only instances shown for TP!

I'm guessing it's due to the database import (corruption?) following the hosting migration?