Skip to content

zoovu/zoovu-magento2-extension

Repository files navigation

SiteSearch360 Magento 2.x Module

This is the SiteSearch360 module for Magento 2.x

  1. Installation
  2. Update Installation
  3. Troubleshooting & Magento 2 CLI

Installation via composer

  1. log in to your server via a command line and navigate to your magento 2 root folder

  2. add/update semknox-extension repository in your composer.json:

    1. as LOCAL composer repository:

      1. download the latest versions from SiteSearch360 Magento2 and SiteSearch360 PHP-Core
      2. unpack both project archives in "extensions" folder (create if not exists) in your magento 2 root folder
      3. add repository to composer json
        composer config repositories.semknox path "extensions/semknox/*"
    2. as REMOTE composer repository:

      composer config repositories.semknox-api-core vcs "https://bitbucket.org/SEMKNOX/semknox-php-extension-core.git"
      composer config repositories.semknox-magento2 vcs "https://bitbucket.org/SEMKNOX/semknox-magento2-extension.git"
  3. requires semknox-extension and all of its dependencies in your magento 2 Installation

    composer require semknox/semknox-magento2
  4. enable semknox-extension:

    bin/magento module:enable Semknox_Productsearch

    disable would be:

    bin/magento module:disable Semknox_Productsearch
  5. upgrade

    bin/magento setup:upgrade
  6. compile frontend and empty cache:

    bin/magento setup:di:compile
    bin/magento cache:clean

Update via composer

  1. update composer package

    composer update semknox/semknox-magento2
  2. prepare system

    bin/magento setup:upgrade --keep-generated
    bin/magento setup:static-content:deploy
    bin/magento cache:clean

Troubleshooting and usefull Magento 2.x cli commands

  • run semknox cronjob only:

    php bin/magento cron:run --group=semknox_productsearch
  • compile without memory limit:

    php bin/magento -dmemory_limit=-1 setup:di:compile
  • empty cache:

    php bin/magento c:c
  • disable cache

    php bin/magento cache:disable
  • Fix for elasticsearch low Diskspace error:

    source: https://stackoverflow.com/questions/50609417/elasticsearch-error-cluster-block-exception-forbidden-12-index-read-only-all

    curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_cluster/settings -d '{ "transient": { "cluster.routing.allocation.disk.threshold_enabled": false } }'
    curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'