Plugin installation by wp-cli

This topic contains 3 replies, has 4 voices, and was last updated by  Kiran 8 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #352998

    asbtech
    Expired Member
    Post count: 2

    I’m trying to automate the deployment of blogs inside my organization. I’m using wp-cli to install the plugins but have found an issue with Geodirectory and the installation of geodir plugins.

    Geodirectory install just fine:

    $ wp –activate plugin install geodirectory

    Installing GeoDirectory – Directory Plugin (1.6.15)
    Downloading install package from https://downloads.wordpress.org/plugin/geodirectory.1.6.15.zip
    Using cached file ‘/root/.wp-cli/cache/plugin/geodirectory-1.6.15.zip’…
    Unpacking the package…
    Installing the plugin…
    Plugin installed successfully.
    Activating ‘geodirectory’…
    Plugin ‘geodirectory’ activated.
    Success: Installed 1 of 1 plugins.

    but when trying to install a geodir_ plugin (for example, geodir_buddypress) which I already have on disk:

    $ wp –activate plugin install /opt/plugins/geodir_buddypress_1.1.5.zip

    Unpacking the package…
    Installing the plugin…
    Plugin installed successfully.
    Activating ‘geodir_buddypress’…
    Error: There was an issue determining where GeoDirectory Plugin is installed and activated. Please install or activate GeoDirectory Plugin.

    As an added “value”, when installing it that way, the Geodirectory -> General tabs are broken (it only shows the word “General” without any CSS applied) and the Chrome console shows a “Uncaught ReferenceError: geodir_all_js_msg is not defined”.

    If I install Geodirectory through the Admin interface, the plugins gets installed, and as soon as I click Activate, I’m redirected to Geodirectory -> General. And installing the geodir_buddypress.zip works fine.

    Any suggestion…?

    #353428

    Paolo
    Site Admin
    Post count: 31211

    Personally I never used wp-cli, I flagged this for the developers, I hope they used it and will be able to reply to your question.

    Thanks for your patience,

    #353434

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    I will try and recreate this tomorrow, i will keep you updated.

    Thanks,

    Stiofan

    #355839

    Kiran
    Moderator
    Post count: 7069

    Hi There,

    WP-CLI installation problem has been fixed and will be available in next release of GD + Addons.

    Thanks,
    Kiran

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount