Package Is Empty Error

Started by NeedIt, September 22, 2017, 11:44:00 AM

Previous topic - Next topic

NeedIt

I did the following (on Windows) with a test forum:

a) Upgraded my server from PHP 5.3.29 to PHP 5.6
b) Installed (via Plesk) SMF 2.0.9
c) Downloaded the upgrade zip from here: https://download.simplemachines.org/
d) "Downloaded" this zip into Package Manager and hit install.

I got this error:

"Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp" sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF.""

The directions seem pretty clear with regard to #1 through #3.  Bizarre but clear.  But my question has to do with #4:

What does it mean by "go back to the package manager and browse page?"  Browse what page?  I don't get what I am supposed to do with Package Manager after I reload the unzipped files into a Packages subfolder on my server?

And one more question:

The zip file off of the server was smf_2-0-14_upgrade (2).zip.  So I have to name the folder smf_2-0-14_upgrade (2)?

vbgamer45

For upgrade packages you do not install via the package manager.


In your case you should install each minor update version though the package major. There should be a link to download.
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 September 22, 2017, 12:35:30 PM
For upgrade packages you do not install via the package manager.


In your case you should install each minor update version though the package major. There should be a link to download.

But I can't do that, i.e. I can't just do one patch at a time.  That's the problem as described below.  Well, to be clear:  yes, I can do what you said with this test forum.  However, I cannot do that with my live "production" forum, because of the issue here:

https://www.simplemachines.org/community/index.php?topic=554407.msg3930869#msg3930869

So then I tried the Fresh Files approach, but it hosed my forum and I had to restore from backup:

https://www.simplemachines.org/community/index.php?topic=555886.msg3940011#msg3940011

On that thread, Arantor explained that I had used the wrong download to do it and, if I understood right, should have used the Upgrade file.  So that's why I am trying that out on a test forum first.  Here is what he wrote:

   Arantor: "You're not supposed to upload the install package, but the upgrade package, as the upgrade package doesn't override
   your Settings.php file.Restore what you backed up, then upload the upgrade package."
   "OK, there are three types of packages you can get. There is the install package, the large upgrade package and the mod package.
   You grabbed the install package, which assumes you're doing a fresh install. Except you already had an install and didn't need
   to install a new one.
   That leaves the mod packages which are just installed as mods to get you from version to version, e.g. 2.0.8 to 2.0.9, you
   get these from https://custom.simplemachines.org/upgrades/ - but
   this isn't the full set of fresh files."
   That leaves the large upgrade - which you get from https://download.simplemachines.org/ - and
   going to 2.0.14 from 2.0.8 is perfectly fine."

So here is my goal:

Get my stuck live production forum - stuck at 2.0.8 apparently - to 2.0.14 or maybe 2.0.13 and I also want to add the Responsive Curve theme.  The only mod I have installed on the live production forum is the Ad Management module.

vbgamer45

Unzip the upgrade packagethen upload all the contents of that unzipped folder to your forum via ftp
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 September 22, 2017, 02:13:11 PM
Unzip the upgrade packagethen upload all the contents of that unzipped folder to your forum via ftp

That's what I was wondering!  Thx - will try it.

NeedIt

For posterity: 

I tested it and it worked.

Advertisement: