Welcome to Centmin Mod Community
Become a Member

Wordpress Using WP-CLI to do Envato and WooCommerce Updates

Discussion in 'Blogs & CMS usage' started by josh, Oct 18, 2014.

  1. josh

    josh Premium Member Premium Member

    29
    2
    3
    May 27, 2014
    Ratings:
    +2
    Local Time:
    1:54 PM
    I have a WP install that I set up using eva2000's WP-CLI guide for CentMinMod.
    I need to do some updates to it and I'm finding that a lot of the automated functionality of WP has been limited by the more secure WP install that eva2000 recommended.
    I've updated all plugins via the CLI but I still get this message from WooCommerce:
    When I click to "Run the updater" I'm taken to a confirmation page but the message persists.

    Additionally, I am using a ThemeForest.net theme that was created by GetBowtied. They use an automated theme updater via the Envato Toolkit. When I click to update the theme I am taken to a blank ACP page with only warning messages pinned to the top.


    Any help on how I can successfully update these two packages would be greatly appreciated!

    Thanks in advance!
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    7:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    never used WooCommerce or Envato Toolkit myself.
    1. do they have specific file user/group permissions on your server that differ from required user/group nginx/nginx used by Centmin Mod Nginx/PHP-FPM
    2. how did you initially install the wordpress plugins ? via wordpress admin add plugin interface or via old school sftp upload to plugin directory ? or via wp-cli plugin install ? if done using later 2 options need to run command within plugin directory to give proper nginx user/group permissions as outlined in step 5 at WordPress + Super Cache plugin for Centmin Mod Nginx | wp1.centmincache.com
    Code:
    chown -R nginx:nginx /home/nginx/domains/yourdomain.com/public/wp-content/plugins/
     
  3. josh

    josh Premium Member Premium Member

    29
    2
    3
    May 27, 2014
    Ratings:
    +2
    Local Time:
    1:54 PM
    Thanks for the prompt reply!
    Just now getting back to this. As far as I know, the user/group is the same for these resources as everything else on the server.
    If I remember correctly, what happened is I had this site up and running as-is then I moved it over to a CentMinMod install when I changed servers. I tried running the chown command you posted for both plugins and themes but nothing has changed :-/
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    7:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    If WooCommerce or Envato Toolkit has their own config files of file paths could be they're still pointing to your non-Centmin Mod structured paths ?