Advertisement:

Author Topic: zip file of mod is not accepted by the Package Manager  (Read 278 times)

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,614
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk
zip file of mod is not accepted by the Package Manager
« on: February 21, 2020, 05:50:30 AM »
Hi,

I have just created a zip file on CentOS Linux to reflect some mod changes but after I WINSCP it to my downloads directory and attempt to "upload" it, the Package Manager loader responds:

Package upload failed due to the following error:
"Although the package was downloaded to the server it appears to be empty ...

but it isn't empty at all.

any ideas ?

The configuration of my Linux VPS (SMF 2.0 with 145 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline Dzonny

  • Localizer
  • SMF Super Hero
  • *
  • Posts: 12,101
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: zip file of mod is not accepted by the Package Manager
« Reply #1 on: February 21, 2020, 06:32:47 AM »
Hello there.

Are you sure that your Packages directory is chmoded like it should (777 or 755) and if that's correct maybe try to create temp directory inside Packages?
Which SMF version are you using?

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,614
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk
Re: zip file of mod is not accepted by the Package Manager
« Reply #2 on: February 21, 2020, 06:39:37 AM »
Thanks. I have had this problem before and at that time it turned out to be an attribute wrong in the discreet files in the zip file.

I am on 2.0.15 ... i am sure that the attributes are ok but will double check them later.
The configuration of my Linux VPS (SMF 2.0 with 145 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,614
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk
Re: zip file of mod is not accepted by the Package Manager
« Reply #3 on: February 21, 2020, 01:06:56 PM »
I found the reason and fixed it.

On Windows, I had to unzip the downloaded SMF-incompatible Host OS Linux files using 7zip and then rezip them back and that changes the Host OS to FAT.

SMF now happy !
« Last Edit: February 21, 2020, 01:37:51 PM by aegersz »
The configuration of my Linux VPS (SMF 2.0 with 145 mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here