XF 2.1 XenForo 2.1.0 to 2.1.1

"The following issue was found when determining if a one-click upgrade is possible: The files are not writable. "


Which files is it referring to?
Its folders and its content. Check who the owner of the php is and ensure that it is the same folder/file owner. Use chown not chmod to change
 
Ok , so I saw this when I had
nginx as the php owner. IE the user the was running the php ( the site code if you like )
uploader was the owner of the folder /src etc etc.

nginx cant get to do the update as it doesnt "own" the folder so hasnt the permission. I had to change the owner of the folder /src from uploader to nginx.

I found out what "user" was running the php with some simple php code and ran it via my webserver address

I created a file on my site called whoami.php
I put in the below text
Code:
<?php
  passthru("whoami");
?>

Saved it

went to chrome and opened up turborenault.co.uk/whoami.php - you put in your own domain

It told me that nginx was running the php so I used chown via putty to change the owner.

any better?
 
Top Bottom