News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Install problems with 2.0.1 patch

Started by Dame2, October 31, 2011, 10:32:38 PM

Previous topic - Next topic

Dame2

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? 

Ricky.

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

Illori

also verify that you have a temp folder in your packages folder

Dame2

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



Illori

sounds like you still have some files/folders that are not writable, double check all the files

Dame2

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.

Dame2


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. 

Illori

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.

Celia N. Foster

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

Ricky.

#9
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?

Celia N. Foster

Followed every instruction at least 3 times. Still looks like this.

Celia N. Foster

Even installed your latest 2.0.1 pink theme. No change.

Illori

clear your browsers cache, and make sure the theme folders are readable to the server. i can see part of the default theme here.

Celia N. Foster

Still the very same problem. Followed instructions to the letter.

Illori

have you tried more then one browser?

Celia N. Foster


Celia N. Foster


Illori

well it worked somewhat ok in opera here, no idea what your issue is.

Celia N. Foster


Celia N. Foster

Issue solved! Huge thank you to Ricky!

Advertisement: