• Resolved danjcarrington

    (@danjcarrington)


    Hello,

    I’m trying to verify plugins from the command line. When I run most wp commands, the system just hangs and provides no output and I have to cancel to get back to a command prompt.

    ‘wp –info’ works:

    OS: Linux ip-10-103-38-4 4.14.171-105.231.amzn1.x86_64 #1 SMP Thu Feb 27 23:49:15 UTC 2020 x86_64
    Shell: /bin/bash
    PHP binary: /usr/bin/php-5.6
    PHP version: 5.6.40
    php.ini used: /etc/php.ini
    WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
    WP-CLI vendor dir: phar://wp-cli.phar/vendor
    WP_CLI phar path: /apps/discounttirefamily
    WP-CLI packages dir: /home/ec2-user/.wp-cli/packages/
    WP-CLI global config:
    WP-CLI project config:
    WP-CLI version: 2.4.0

    ‘wp –version’
    WP-CLI 2.4.0

    ‘wp –help’ hangs.
    ‘wp <any subcommand>’ hangs
    ‘wp’ hangs

    With no output to go on, I have no way to know what could be wrong.
    Anyone got any ideas? This is similar, but not the same, as other posts about no output that I’ve seen in this forum.

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter danjcarrington

    (@danjcarrington)

    I was able to determine, using ‘wp –debug <subcommand>’ that the issue seemed to be that I wasn’t able to connect to the database. This is running in AWS’s Elastic Beanstalk and somehow a security group was changed and no loner allowed tcp 3306 to the database from where I was running the commands.

Viewing 1 replies (of 1 total)
  • The topic ‘WP CLI not outputting anything’ is closed to new replies.