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?
No clue tbh . What TinyPortal packages did you leave in the forum?
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.
But apparently you left the old TinyPortal package on the server. Was that the only old package there?
Understood.
Please see attached.
TP 1.105 is the only TP package left on the server.
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?
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...
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.
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.
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?
Hmm, in your image, uninstall date for TP is a bit strange January 01, 1970?
Quote from: lurkalot on August 16, 2021, 08:39:35 AM
Hmm, in your image, uninstall date for TP is a bit strange January 01, 1970?
Agreed but have no explanation.
No clue...
What I would suggest is this:
1: Mark Tp 1.105 uninstalled
2: Remove 1.105 from the server
3: Run Fix packages again
4: Set Tp 2.0.0 as installed
Quote from: @rjen on August 16, 2021, 05:18:09 PM
What I would suggest is this:
1: Mark Tp 1.105 uninstalled
2: Remove 1.105 from the server
3: Run Fix packages again
4: Set Tp 2.0.0 as installed
Thanks. Can I check I understand correctly?
1: Mark Tp 1.105 uninstalled (The one showing in the Uninstalled list dated January 01, 1970?)
2: Remove 1.105 from the server (Under Packages on the server, I only see TP-2.0.0 zip. Should I be looking elsewhere?)
3: Run Fix packages again
4: Set Tp 2.0.0 as installed (The one currently showing in the Installed Packages as 1.105 dated January 23, 2012?)
I seriously do not know: you will need to try yourself, and be prepared to restore a backup if it goes wrong...
It makes no sense to me...
I'm assuming you're using the default theme Curve (unmodified)? I would probably be thinking about uploading a fresh set of files from the large upgrade package (for the version you are using). This will leave you with no mods installed, so they will all need to be installed again.
There's instructions for doing this on smf simplemachines.org, but you'll need to wait for that site to come back up, it's being worked on atm.