Advertisement:

Author Topic: Unzip failed  (Read 7116 times)

Aficionado

  • Guest
Re: Unzip failed
« Reply #15 on: October 20, 2015, 04:19:52 am »

Indeed they are 644 for files and 755 for folders. And yet Osclass is not able to access it the way it should. I changes all the directories and folders to 644 and 755, but there still seems to be something not right. The "update OsClass" shows this message -

"Your Osclass installation can't be auto-upgraded. Files and folders need to be writable. You can apply write permissions via SSH with the command "chmod -R a+w *" (without quotes) or via an FTP client, it depends on the program so we can not provide more information. You can also upgrade Osclass by downloading the upgrade package, unzipping it and replacing the files on your server with the ones in the package."

Osclass works very well with the above permissions. They are the EXACT permissions Wordpress script also needs.

It is not "Osclass not able to access it the way it should " as you say. You are doing something wrong or you miss something.


SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Unzip failed
« Reply #16 on: October 20, 2015, 02:27:00 pm »
What is your VPS setup?

Hi,

Your 'FTP' user is able to write to these folders but your installation is unable to write to the same folders.
Like Aficionado mentioned, this means that the 'user' used by your installation (your webserver user) is unable to write to these folders somehow and thus something for your Hoster to help you with since you will not be able to change this yourself unless you are on a VPS or dedicated server.


Regards,
Eric

Hello, yes i am using a VPS (DigitalOcean), and i have tried to change the permissions using chmod too (i have the root access). I'm not sure why is this happening..

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: Unzip failed
« Reply #17 on: October 20, 2015, 06:52:04 pm »

Indeed they are 644 for files and 755 for folders. And yet Osclass is not able to access it the way it should. I changes all the directories and folders to 644 and 755, but there still seems to be something not right. The "update OsClass" shows this message -

"Your Osclass installation can't be auto-upgraded. Files and folders need to be writable. You can apply write permissions via SSH with the command "chmod -R a+w *" (without quotes) or via an FTP client, it depends on the program so we can not provide more information. You can also upgrade Osclass by downloading the upgrade package, unzipping it and replacing the files on your server with the ones in the package."


Osclass works very well with the above permissions. They are the EXACT permissions Wordpress script also needs.

It is not "Osclass not able to access it the way it should " as you say. You are doing something wrong or you miss something.

Dude, relax your bloodpressure man, jees

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: Unzip failed
« Reply #18 on: October 20, 2015, 06:56:04 pm »
What is your VPS setup?

Hi,

Your 'FTP' user is able to write to these folders but your installation is unable to write to the same folders.
Like Aficionado mentioned, this means that the 'user' used by your installation (your webserver user) is unable to write to these folders somehow and thus something for your Hoster to help you with since you will not be able to change this yourself unless you are on a VPS or dedicated server.


Regards,
Eric

Hello, yes i am using a VPS (DigitalOcean), and i have tried to change the permissions using chmod too (i have the root access). I'm not sure why is this happening..

Hello, it's just that standard setup, the clean baby ;) But it appears the problem was something else. The upload_max_filesize in the php.ini was 2MB, but the stuff i was trying to upload was over that limit, and hence the error.
lol

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Unzip failed
« Reply #19 on: October 20, 2015, 10:51:50 pm »
LOL.... interesting issue ;D
Glad you got it solved, can you put the same in the subject by editing the 1st msg?

Regards,
Eric

What is your VPS setup?

Hi,

Your 'FTP' user is able to write to these folders but your installation is unable to write to the same folders.
Like Aficionado mentioned, this means that the 'user' used by your installation (your webserver user) is unable to write to these folders somehow and thus something for your Hoster to help you with since you will not be able to change this yourself unless you are on a VPS or dedicated server.


Regards,
Eric

Hello, yes i am using a VPS (DigitalOcean), and i have tried to change the permissions using chmod too (i have the root access). I'm not sure why is this happening..

Hello, it's just that standard setup, the clean baby ;) But it appears the problem was something else. The upload_max_filesize in the php.ini was 2MB, but the stuff i was trying to upload was over that limit, and hence the error.
lol

SteveJohnson

  • Sr. Member
  • ****
  • Posts: 328
  • Golden tip - Clear your cache :|
Re: Unzip failed
« Reply #20 on: October 21, 2015, 12:22:18 am »
LOL.... interesting issue ;D
Glad you got it solved, can you put the same in the subject by editing the 1st msg?

Regards,
Eric

Hi there... yes funny thing. Umm do you mean to change the subject line? This thread was not started by me, so i'm afraid i won't be able to do that...

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: Unzip failed
« Reply #21 on: October 21, 2015, 02:52:28 pm »
ummm yes well never mind....my wrong because I was assuming...;)

LOL.... interesting issue ;D
Glad you got it solved, can you put the same in the subject by editing the 1st msg?

Regards,
Eric

Hi there... yes funny thing. Umm do you mean to change the subject line? This thread was not started by me, so i'm afraid i won't be able to do that...