Skip to main content

Wordpress Toolkit Command Line Interface

Comments

11 comments

  • cPRex Jurassic Moderator
    Hey there! Can you be more specific by what you mean when you say you "get nothing" from the command? Is the command not present on the system, or does it not provide any output? Once I know that I can try and get you better details on the issue.
    0
  • dstana
    Hey there! Can you be more specific by what you mean when you say you "get nothing" from the command? Is the command not present on the system, or does it not provide any output? Once I know that I can try and get you better details on the issue.

    Correct, the command is not present. bash: wp-toolkit: command not found
    0
  • cPRex Jurassic Moderator
    Interesting - I would expect those to just be present once the main WordPress Toolkit package is installed. Can you try reinstalling the wp-toolkit-cpanel RPM to see if that gets things working?
    0
  • dstana
    Interesting - I would expect those to just be present once the main WordPress Toolkit package is installed. Can you try reinstalling the wp-toolkit-cpanel RPM to see if that gets things working?

    Removed and re-installed, no change. Also worth noting I have several servers in more or less the same configuration and it doesn't work on any of them.
    0
  • cPRex Jurassic Moderator
    Alright, let's start from the top and see what's missing. Can you send the output of this? # rpm -qa | grep wp-toolkit wp-toolkit-cpanel-5.6.2-2854.x86_64
    Can you also let me know the operating system you're using and cPanel version? Can you confirm you are performing this work as the root user and not a reseller of cPanel user?
    0
  • dstana
    # rpm -qa | grep wp-toolkit wp-toolkit-cpanel-5.6.2-2854.x86_64
    These servers are running Centos 7.9 with WHM v98.0.8
    0
  • cPRex Jurassic Moderator
    Alright, that's all good, and that is the lastest version. Do you see the command listed in /usr/local/bin/?
    0
  • dstana
    Alright, that's all good, and that is the lastest version. Do you see the command listed in /usr/local/bin/?

    Yeah it's there, I guess the link is just missing. I thought I had looked in there already.
    0
  • cPRex Jurassic Moderator
    Here is what I see for the root user on my personal server: # echo $PATH /usr/local/cpanel/3rdparty/lib/path-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/cpanel/composer/bin:/root/bin
    and the link should be the following: lrwxrwxrwx. 1 root root 52 Sep 15 02:52 wp-toolkit -> /usr/local/cpanel/3rdparty/wp-toolkit/bin/wpt-cli.sh
    Can you check those out and recreate the link if necessary to see if that gets things working normally?
    0
  • dstana
    Here is what I see for the root user on my personal server: # echo $PATH /usr/local/cpanel/3rdparty/lib/path-bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/cpanel/composer/bin:/root/bin
    and the link should be the following: lrwxrwxrwx. 1 root root 52 Sep 15 02:52 wp-toolkit -> /usr/local/cpanel/3rdparty/wp-toolkit/bin/wpt-cli.sh
    Can you check those out and recreate the link if necessary to see if that gets things working normally?

    The link is good, I'm missing some of that in my path # echo $PATH /usr/local/cpanel/3rdparty/lib/path-bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/cpanel/composer/bin
    0
  • cPRex Jurassic Moderator
    Great - I'm glad I could help get the issue narrowed down with you!
    0

Please sign in to leave a comment.