• Hi all,

    I don’t know if this issue has been posted before in the feedback, I could not find it so I am posting it again. ??

    Anyway, it seems that for some reason WP in a Mac Server environment will not allow for the proper completion of plugin and theme upgrade/installation from the GUI. Core upgrades and image uploads seem to work just fine, but when WP tries moving items from the /wp-content/upgrade/somefile.tmp the system breaks down. Old files are deleted from the plugin directory and the temp files are created, but not moved.

    Here is one of the threads discussing the problem.

    https://tinyurl.com/25c3s7q

    Thanks for taking a look, I know it has been challenging to anyone running a Mac Server-Wordpress setup.

    -C

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter coreyb

    (@coreyb)

    Okay, so I thought I would update and see if anyone has a workaround that I have not thought of.

    I found that if one adds the define('FS_METHOD', 'ftpsockets'); instead of define('FS_METHOD','direct'); and the FTP_USER is set to “root” the system works. However I don’t like using my root user to do things like this.

    Is there a way to get wordpress to use the vhost directory user’s user to move the files into place? They get downloaded okay it is just in the transfer to the plugins directory that the problem arises.

    -C

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I think that rather depends on your Apache/PHP implementation. It would highly depend on the permissions of PHP calling FTP, and the folder permissions. I’ve seen non Mac Server cases where this acts up, and it’s usually FTP/Permissions issues.

    Thread Starter coreyb

    (@coreyb)

    Thank you ipstenu!

    After some research I found that if one sets up the “sharing points” properly with users and group permissions in the Workgroup Manager, Mac Server puts the ftp user in the “staff” group without any indication.

    So, where one keeps their vhosts or the wordpress directory the ownership will be set to either root:_www, _www:_www or username:_www it needs to be changed to _www:staff

    eg. # chown -R _www:staff wordpress

    Thanks for everyone’s help

    -C

    Thank you coreyb! I was having the exact same issue, works like a charm now. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin and theme upgrades on Mac Server’ is closed to new replies.