News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Patch to 2.0.9 Installed Successfully?

Started by NeedIt, June 05, 2017, 09:14:31 AM

Previous topic - Next topic

NeedIt

I don't know if this is the appropriate thread to put this in, but I am trying to upgrade my forum from 2.0.8 (on Windows) to 2.0.14.  Last night, I uploaded the 2.0.9 package from here: http://custom.simplemachines.org/upgrades/ .  Then I did the install and it left a message "installed successfully" and I got no errors or warnings. 

This morning I checked and found the following:

a) When I logged into the Admin menu item, it still says:

Forum version: 2.0.8
Current SMF Version:  2.0.14

b) However, when I go into package manager under installed versions, it does show 2.0.9 installed.

So I think I am okay but a) and b) seem to contradict each other.  Can I continue on and install 2.0.9, 2.0.10, etc.?

Dzonny

Hey there.

Do you have 2.0.9 in your copyright as a version?

NeedIt

Quote from: Dzonny on June 05, 2017, 10:45:17 AM
Hey there.

Do you have 2.0.9 in your copyright as a version?

I am sorry, but I have no idea.  I am using the default SMF template and the only package I have installed is Ad Manager besides patches of course.  The 2.0.8 thing shows up under "Support Information" when I click on the admin page.

vbgamer45

A quick way to test is try to uninstall 2.0.9 if you get errors then it didn't install correctly the first time and needs to be reinstalled.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

NeedIt

Quote from: vbgamer45 on June 05, 2017, 02:43:43 PM
A quick way to test is try to uninstall 2.0.9 if you get errors then it didn't install correctly the first time and needs to be reinstalled.

How do I uninstall?  By clicking Delete in the Package Manager?

vbgamer45

There should be an uninstall link? If not emulate version 2.0.8 in the package manager then try again.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

NeedIt

Quote from: vbgamer45 on June 05, 2017, 04:18:41 PM
There should be an uninstall link? If not emulate version 2.0.8 in the package manager then try again.

There is no uninstall link.  What do you mean emulate version 2.0.8.  Remember that I am on Windows.

vbgamer45

There is a link in the bottom of the package manager that allows you change your SMF version to pretend it is a different version.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

NeedIt

#8
Quote from: NeedIt on June 05, 2017, 04:24:58 PM
Quote from: vbgamer45 on June 05, 2017, 04:18:41 PM
There should be an uninstall link? If not emulate version 2.0.8 in the package manager then try again.

There is no uninstall link.  What do you mean emulate version 2.0.8.  Remember that I am on Windows.

Okay, I did the emulation and tried to uninstall 2.0.9.  Every test failed except for 3 and the ftp at the bottom failed (which is no surprise).  If I give the correct ftp credentials, should I try again?

Here is what the Package Manager complained about:

"Uninstallation Readme
This will uninstall the stability fixes of your SMF 2.0.9 forum. This is generally NOT a good idea.
Available Readme Languages: 

Uninstall Actions "SMF 1.1.20 / 2.0.9 Update"
Installing this package will perform the following actions:
Type   Action   Description
*   1.   Execute Modification   ./index.php   Test failed
   1.   Replace   ./index.php   Test failed
   2.   Replace   ./index.php   Test failed
*   2.   Execute Modification   ./Sources/PackageGet.php   Test failed
   1.   Replace   ./Sources/PackageGet.php   Test failed
   2.   Replace   ./Sources/PackageGet.php   Test successful
*   3.   Execute Modification   ./Sources/Subs-Package.php   Test failed
   1.   Replace   ./Sources/Subs-Package.php   Test failed
   2.   Replace   ./Sources/Subs-Package.php   Test failed
   3.   Replace   ./Sources/Subs-Package.php   Test failed
*   4.   Execute Modification   ./Sources/Packages.php   Test failed
   1.   Replace   ./Sources/Packages.php   Test failed
   2.   Replace   ./Sources/Packages.php   Test failed
   3.   Replace   ./Sources/Packages.php   Test failed
   4.   Replace   ./Sources/Packages.php   Test failed
   5.   Replace   ./Sources/Packages.php   Test failed
*   5.   Execute Modification   ./Sources/Load.php   Test failed
   1.   Replace   ./Sources/Load.php   Test failed
   2.   Replace   ./Sources/Load.php   Test failed
*   6.   Execute Modification   ./Sources/ManageServer.php   Test failed
   1.   Replace   ./Sources/ManageServer.php   Test failed
   2.   Replace   ./Sources/ManageServer.php   Test failed
*   7.   Execute Modification   ./Sources/Subs-Auth.php   Test failed
   1.   Replace   ./Sources/Subs-Auth.php   Test failed
   2.   Replace   ./Sources/Subs-Auth.php   Test failed
   3.   Replace   ./Sources/Subs-Auth.php   Test failed
*   8.   Execute Modification   ./Sources/Subs-Db-mysql.php   Test failed
   1.   Replace   ./Sources/Subs-Db-mysql.php   Test failed
   2.   Replace   ./Sources/Subs-Db-mysql.php   Test failed
*   9.   Execute Modification   ./Sources/Display.php   Test failed
   1.   Replace   ./Sources/Display.php   Test failed
   2.   Replace   ./Sources/Display.php   Test failed
*   10.   Execute Modification   ./Sources/QueryString.php   Test failed
   1.   Replace   ./Sources/QueryString.php   Test failed
   2.   Replace   ./Sources/QueryString.php   Test failed
*   11.   Execute Modification   ./Sources/Search.php   Test failed
   1.   Replace   ./Sources/Search.php   Test failed
   2.   Replace   ./Sources/Search.php   Test failed
*   12.   Execute Modification   ./Sources/ScheduledTasks.php   Test failed
   1.   Replace   ./Sources/ScheduledTasks.php   Test failed
   2.   Replace   ./Sources/ScheduledTasks.php   Test failed
   3.   Replace   ./Sources/ScheduledTasks.php   Test failed
*   13.   Execute Modification   ./Sources/Post.php   Test failed
   1.   Replace   ./Sources/Post.php   Test failed
   2.   Replace   ./Sources/Post.php   Test failed
*   14.   Execute Modification   ./Sources/Subs-Graphics.php   Test failed
   1.   Replace   ./Sources/Subs-Graphics.php   Test failed
   2.   Replace   ./Sources/Subs-Graphics.php   Test failed
*   15.   Execute Modification   C:\inetpub\vhosts\domainname.com\httpdocs\forum/Themes/default/ManagePermissions.template.php   Test failed
   1.   Replace   C:\inetpub\vhosts\domainname.com\httpdocs\forum/Themes/default/ManagePermissions.template.php   Test failed
   2.   Replace   C:\inetpub\vhosts\domainname.com\httpdocs\forum/Themes/default/ManagePermissions.template.php   Test failed (Ignore Errors)
*   16.   Execute Modification   ./Sources/Memberlist.php   Test successful
*   17.   Execute Modification   ./Sources/Subs-Post.php   Test failed
   1.   Replace   ./Sources/Subs-Post.php   Test failed (Ignore Errors)
   2.   Replace   ./Sources/Subs-Post.php   Test failed
*   18.   Execute Modification   ./SSI.php   Test successful
FTP Information Required
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager. Note you can also do this manually using an FTP client - to view a list of the affected files please click here.

FTP Server:
localhost
Port: 
21
Username:
Password:"

Dzonny

Can you provide a link to your forum? When I asked for copyright version I ment for the text at the very bottom of forum page "SMF 2.0.14 | SMF © 2017, Simple Machines" - you should see your forum version there.

As most of your tests failed, I assume that the patch wasn't applied correctly and you're still on the 2.0.8 version.

Please read documentation for how to properly configure FTP in order for package manager to be able to change files properly:
How do I use FTP? / What is FTP?

NeedIt

Quote from: Dzonny on June 05, 2017, 06:02:40 PM
Can you provide a link to your forum? When I asked for copyright version I ment for the text at the very bottom of forum page "SMF 2.0.14 | SMF © 2017, Simple Machines" - you should see your forum version there.

As most of your tests failed, I assume that the patch wasn't applied correctly and you're still on the 2.0.8 version.

Please read documentation for how to properly configure FTP in order for package manager to be able to change files properly:
How do I use FTP? / What is FTP?

I PM'd it to you, as I'd like to stay anonymous.

And I ftp to my site and the forum quite often, so I know how to do that quite well.  Furthermore, when I put in the test connection it does fine.  But the problem is that the package manager asks for my ftp credentials AFTER it tries to do all the tests.  So I don't understandhow that is supposed to work.

Kindred

The tests are just tests... confirming that the package manager can FIND the code points to perform the inserts and changes.
After the tests, when you click proceed, it actually attempts to edit those files in the way that it was detailed in the tests...   that's when it needs ftp to properly chmod the files so that they can be edited.

Note: if you have your files with the correct chmod settings to begin with, there is not need for the system to try using ftp
Сл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."

Dzonny

No actually, on the page where FTP credentials is asked for - you only have listed all the changes that should be made, and after you add login details and proceed - the changes will be made. From what I can see, your forum is still on 2.0.8 and changes on files wasn't performed.

NeedIt

Quote from: Dzonny on June 05, 2017, 07:08:27 PM
No actually, on the page where FTP credentials is asked for - you only have listed all the changes that should be made, and after you add login details and proceed - the changes will be made. From what I can see, your forum is still on 2.0.8 and changes on files wasn't performed.

Yeah, that's what I remember.  I thought I did proceed but maybe not.  I am going to look to see if I can understand the changes that were made and actually check for them.  I don't know any php, so we'll see how that goes!

NeedIt

Okay, so is the any way that I can check to see if the install happened.  For example, can I got into file X and check to see if a certain change happened for example?

The reason I am asking is that the package manager is thoroughly convinced this installed successfully, so it would seem kind of odd to me if none of the install actually worked. 

If that's not easy, I will just reemulate back and then run the uninstall with the ftp information.  HOpefully that won't do any damage...



Kindred

So, here's the deal...  if things like the copyright version have not changed, then the issue is likely on your server side, with ththe chown configuration.

So, each file has a chmod setting and a chown setting.
Chmod is supposed to allow the files to be editted....   and that is why it asks for the ftp information (see explanation above)

However, in some server configurations, the configuration of chown is set up such that the system THINKS that it successfully applied the code changes, but those changes were silently rejected, without error message and the files were never actually changed.
Сл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."

NeedIt

Quote from: Kindred on June 05, 2017, 10:05:53 PM
So, here's the deal...  if things like the copyright version have not changed, then the issue is likely on your server side, with ththe chown configuration.

So, each file has a chmod setting and a chown setting.
Chmod is supposed to allow the files to be editted....   and that is why it asks for the ftp information (see explanation above)

However, in some server configurations, the configuration of chown is set up such that the system THINKS that it successfully applied the code changes, but those changes were silently rejected, without error message and the files were never actually changed.

Okay, I will ask about that.  Understood.

NeedIt

Guys,

I am sorry to come back to this, but I am stuck again.  I took Arantor's advice and called my hosting company and asked about getting proper permission.  Basically, there is a user that this uses and, as expected, it did not have proper permissions.  So we gave it full control - this is windows - over the folder and all subfolders.  So then I did the following:

a) Emulated 2.0.9.
b) Then the uninstall link showed up as expected in the Package Mgr.
c) I clicked on the uninstall link.

Unfortunately, every test failed.  This is second time that the uninstall completely fails all the tests.  This is a big problem because:

1) The installer actually passed all the tests even before I changed the permissions to full control.
2) The uninstaller does not have an ftp option. 

Without that ftp option, how am I supposed to correct this issue and do the uninstall?  It's like the uninstall does not have all the functionality of the install?

Illori


NeedIt

Quote from: Illori on June 10, 2017, 11:57:46 AM
might be easier to start over with fresh files and install your mods again.
https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files

Well, I am using the default template, and I have only installed the Ad Manager and that's about it.  So I could just do a brand new install, but it kind of scares me to do so cuzz what if I load that backup and something fails?  I'm hosed then. 

I'm seriously thinking of trying to port everything to Linux.

Hey, if any of the admins/moderators on here are really good with SMF on BOTH Windows and Linux, I'd love to hear from one of them via SMF.  Might have a project. 

Advertisement: