Advertisement:

Author Topic: Why is this?  (Read 2192 times)

ojaiclassifieds

  • Newbie
  • *
  • Posts: 6
Why is this?
« on: December 13, 2011, 01:34:32 pm »
Your OSClass installation can not be auto-upgraded. Files and folders need to be writable. You could apply 644 permissions via SSH with the command "chmod -R 644 *" (without quotes) or via a FTP client, it depends on the program so we can not provide more information. You could also upgrade OSClass downloading the upgrade package, unzip it and replace the files on your server with the ones on the package.

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Why is this?
« Reply #1 on: December 13, 2011, 03:11:57 pm »
It seems that you cannot auto-update your installation. However, that message is wrong because the required permissions to update automatically the version are 777.

ojaiclassifieds

  • Newbie
  • *
  • Posts: 6
Re: Why is this?
« Reply #2 on: December 14, 2011, 10:53:13 am »
What files and folders need to be writable?

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Why is this?
« Reply #3 on: December 14, 2011, 01:44:00 pm »
All the files and folders.

Jesse

  • Hero Member
  • *****
  • Posts: 631
  • Out of my mind, back in 5 minutes
Re: Why is this?
« Reply #4 on: December 15, 2011, 02:02:50 pm »
I've had issues with this as well, where the auto-update no longer works after a manual update has been done. I took a look at another OSClass installation which I did auto-upgrade. I checked the file permissions for those.... all folders were 775 and files were 644.

So, I figured if I applied to same CHMOD changes to my "manual" installation of 2.3.1, the auto-upgrade would once again work. Nope. Then I took your advice Juan and changed every single file and folder to 0777. Still does not work, and that does not make any sense to me.

It is worth noting that I'm using both a Windows 7 and Windows XP computer, neither of which preserve file permission settings during manual site updates, hence why I believe this problem occurs in the first place.
« Last Edit: December 15, 2011, 03:02:57 pm by Jesse »