Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Dame2 on October 31, 2011, 10:32:38 PM

Title: Install problems with 2.0.1 patch
Post by: Dame2 on October 31, 2011, 10:32:38 PM
I've been trying to update my forum software from 2.0 to 2.0.1 but the Admin>Package Manger>Browse Packages>2.0.1> Install yields this error message:

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

The problem is, all the folders and sub directories and files have their permissions correctly set.  The 2.0.1 patch has been downloaded,  I confirm an FTP connection ...I just can't install it. 

Can anyone direct me how to install this patch? 
Title: Re: Install problems with 2.0.1 patch
Post by: Ricky. on November 01, 2011, 04:06:55 AM
You can do manual installation , however before that in package manager, under file permission, try to make all files writable and then try .

For manual installation instructions :
http://wiki.simplemachines.org/smf/Manual_installation_of_mods
Title: Re: Install problems with 2.0.1 patch
Post by: Illori on November 01, 2011, 06:03:50 AM
also verify that you have a temp folder in your packages folder
Title: Re: Install problems with 2.0.1 patch
Post by: Dame2 on November 02, 2011, 04:17:35 PM
Ooo kay...I did not have a temp folder in the Packages folder so I created on.     smf_patch_2.0.1.tar.gz file was downloaded into the Packages folder.    All my file are writable...so writable my IT husband is fretting with how vulnerable we are.     Tried to install again...had a failure with the same previous message that the files are not writable.   So I dragged the smf-patch file into the temp file.  Tried again.    This time the Browse Packages says: This package is already installed, and no upgrade was found!   

Cool... I hit the "INSTALL NOW" button.   The next screen says, The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.

Problem is, on my admin dashboard, it still shows the version as 2.0 and tells me I need to upgrade.    I'm upgraded but not upgraded.  Clear caches and restart computer.  Still says the same thing. 

Soooo, what do I do now?

The files on my server for this upgrade are located thusly:

Packages>smf_patch_2.0.1.tar.gz
Packages > temp > $auto_0.txt
                               package-info.xml
                               smf_2-0-1_patch.xml


Title: Re: Install problems with 2.0.1 patch
Post by: Illori on November 02, 2011, 05:02:05 PM
sounds like you still have some files/folders that are not writable, double check all the files
Title: Re: Install problems with 2.0.1 patch
Post by: Dame2 on November 02, 2011, 11:09:19 PM
Quote from: Illori on November 02, 2011, 05:02:05 PM
sounds like you still have some files/folders that are not writable, double check all the files

No, I do not have some files or folders that are still not writable.  This shows everything is writable:

In the following, the owning user & group name has been replaced with '<owner>' for security:

Packages:
total 72
drwxrwxrwx  4 <owner>  <owner>   4096 Nov  2 21:02 ./
drwxrwxrwx 10 <owner>  <owner>   4096 Nov  2 21:47 ../
-rwxrwxrwx  1 <owner>  <owner>  24651 Jul  2 23:07 ad_mod_v3.0_SMF_v2-0.zip*
drwxrwxrwx  2 <owner>  <owner>   4096 Nov  2 21:02 backups/
-rw-rw-rw-  1 <owner>  <owner>     73 Jul  1 22:49 .htaccess
-rwxrwxrwx  1 <owner>  <owner>    324 Jul  1 22:49 index.php*
-rwxrwxrwx  1 <owner>  <owner>     10 Nov  2 21:02 installed.list*
-rwxrwxrwx  1 <owner>  <owner>    251 Jun 25  2005 server.list*
-rw-rw-rw-  1 <owner>  <owner>   1535 Nov  2 15:08 smf_patch_2.0.1_1.tar.gz
-rw-rw-rw-  1 nobody nobody  1535 Nov  2 21:02 smf_patch_2.0.1_2.tar.gz
-rw-rw-rw-  1 <owner>  <owner>   1535 Nov  2 14:45 smf_patch_2.0.1.tar.gz
drwxrwxrwx  2 <owner>  <owner>   4096 Nov  2 14:42 temp/

Packages/backups:
total 21852
drwxrwxrwx 2 <owner>  <owner>     4096 Nov  2 21:02 ./
drwxrwxrwx 4 <owner>  <owner>     4096 Nov  2 21:02 ../
-rwxrwxrwx 1 <owner>  <owner>  1157236 Dec 26  2006 2006-12-26_before_smf_1-1-1_patch.tar.gz*
-rwxrwxrwx 1 <owner>  <owner>  1160958 Mar  7  2007 2007-03-07_before_smf_1-1-2_patch_1.tar.gz*
-rwxrwxrwx 1 <owner>  <owner>  1184639 Jan 10  2008 2008-01-10_before_smf_patch_1.tar.gz*
-rw-rw-rw- 1 <owner>  <owner>  1218692 Jul 11  2009 2009-07-11_before_smf_patch_1_2.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1218343 Jul 11  2009 2009-07-11_before_smf_patch_1_3.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1218329 Jul 11  2009 2009-07-11_before_smf_patch_1_4.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1218811 Jul 11  2009 2009-07-11_before_smf_patch_1_5.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1217121 Jul 11  2009 2009-07-11_before_smf_patch_1.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1221115 Mar 29  2010 2010-03-29_before_smf_patch_1_2.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1220517 Mar 29  2010 2010-03-29_before_smf_patch_1.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1695551 Jul  8 07:43 2011-07-08_before_ad_mod_v3.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1706163 Nov  2 14:22 2011-11-02_before_smf_patch_2_2.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1706163 Nov  2 14:46 2011-11-02_before_smf_patch_2_3.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1706163 Nov  2 15:11 2011-11-02_before_smf_patch_2_4.tar.gz
-rw-rw-rw- 1 nobody nobody 1706144 Nov  2 21:02 2011-11-02_before_smf_patch_2_5.tar.gz
-rw-rw-rw- 1 <owner>  <owner>  1706163 Nov  2 14:21 2011-11-02_before_smf_patch_2.tar.gz
-rwxrwxrwx 1 <owner>  <owner>       73 Jul  1 22:49 .htaccess*
-rwxrwxrwx 1 <owner>  <owner>      218 Jul  1 22:49 index.php*

Packages/temp:
total 24
drwxrwxrwx 2 <owner> <owner> 4096 Nov  2 14:42 ./
drwxrwxrwx 4 <owner> <owner> 4096 Nov  2 21:02 ../
-rw-rw-rw- 1 <owner> <owner>   73 Nov  2 21:02 $auto_0.txt
-rw-rw-rw- 1 <owner> <owner> 1257 Nov  2 14:42 package-info.xml
-rw-rw-rw- 1 <owner> <owner> 6050 Nov  2 14:42 smf_2-0-1_patch.xml


Can a mod bump this thread into the "Bugs" folder since it appears there is a bug in the 2.0.1 patch or 2.0 itself?  It's installed, says it's installed, File Permissions are all writable, yet the version still says 2.0.
Title: Re: Install problems with 2.0.1 patch
Post by: Dame2 on November 03, 2011, 12:19:12 AM

Looked in the forum error log.   The file public_html/smf/Sources/Subs-Package.php was not writable.   We decided to change the permissions for ALL the smf files and directories in one fell swoop.  This worked.

Now, can someone tell me how to whittle down the number of 2.0.1 patch mods in Browse Packages> Modification Packages?  I have five copies in there and it won't let me delete them. 
Title: Re: Install problems with 2.0.1 patch
Post by: Illori on November 03, 2011, 05:24:22 AM
it does not really matter how many copies you have, and if you cant delete them from the main packages page then you can always delete them from ftp.

and if you read what i said above i said all your files need to writable, i did not say just the files/folders in the packages folder.
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 04, 2011, 10:17:05 PM
I'm having a similar problem. I created a backup when installing.

The upgrade worked fine until I cleared all my cache, cookies and reloaded.

My forum looks like the attached below.

Platform Type:
Debian
MySQL Version:
5.0.83
Perl Version:
5.8.8
PHP Version:
5.2.12

Any help would be appreciated!

http://www.judithevabarsi.com/forum/

SMF 2.0.1
Title: Re: Install problems with 2.0.1 patch
Post by: Ricky. on November 05, 2011, 12:49:52 AM
You first follow this link and make your forum working again, ie. to default theme and then check your theme, if its in proper shape or not, after that install a 2.0.1 theme..

What is repair_settings.php? (http://wiki.simplemachines.org/smf/Repair_settings.php)
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 05, 2011, 03:11:58 PM
Followed every instruction at least 3 times. Still looks like this.
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 05, 2011, 03:14:21 PM
Even installed your latest 2.0.1 pink theme. No change.
Title: Re: Install problems with 2.0.1 patch
Post by: Illori on November 05, 2011, 04:37:48 PM
clear your browsers cache, and make sure the theme folders are readable to the server. i can see part of the default theme here.
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 05, 2011, 05:01:12 PM
Still the very same problem. Followed instructions to the letter.
Title: Re: Install problems with 2.0.1 patch
Post by: Illori on November 05, 2011, 07:12:57 PM
have you tried more then one browser?
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 05, 2011, 09:05:04 PM
Chrome, firefox, safari. So, yes.
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 05, 2011, 09:20:54 PM
See attachments below.
Title: Re: Install problems with 2.0.1 patch
Post by: Illori on November 05, 2011, 09:49:12 PM
well it worked somewhat ok in opera here, no idea what your issue is.
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 05, 2011, 09:54:22 PM
Great... ???
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 06, 2011, 01:31:03 PM
Issue solved! Huge thank you to Ricky!
Title: Re: Install problems with 2.0.1 patch
Post by: Illori on November 06, 2011, 01:45:54 PM
and what was the solution? knowing what it is may help others if they come across this thread in their searching.
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 06, 2011, 01:56:35 PM
Ask Ricky for specifics. He told me it was faulty corrupt files and it took him about 1 hour to solve.  :-\
Title: Re: Install problems with 2.0.1 patch
Post by: Ricky. on November 06, 2011, 02:24:01 PM
PLUS some themes files missing too with incorrect path settings.
Title: Re: Install problems with 2.0.1 patch
Post by: Celia N. Foster on November 06, 2011, 05:11:23 PM
I must add that the tool did not tell me which paths were incorrect...or I am way more dyslexic than I previously thought I was...not a comforting thought.
Title: Re: Install problems with 2.0.1 patch
Post by: Ricky. on November 07, 2011, 05:17:20 AM
Quote from: Celia N. Foster on November 06, 2011, 05:11:23 PM
I must add that the tool did not tell me which paths were incorrect...or I am way more dyslexic than I previously thought I was...not a comforting thought.
Just give it more time.. you will get hold of things :)