Discover Centmin Mod today
Register Now

Xenforo How To Install Elasticsearch 6.x for Xenforo

Discussion in 'Centmin Mod User Tutorials & Guides' started by Sunka, Nov 30, 2017.

  1. pamamolf

    pamamolf Well-Known Member

    3,117
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    6:58 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Is an elastic search restart needed after that setting?

    Also it will survive after upgrading or restarting the server?
     
  2. pamamolf

    pamamolf Well-Known Member

    3,117
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    6:58 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Did you adjust the default entries at the config file?

     
  3. Sunka

    Sunka Well-Known Member

    1,011
    280
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +458
    Local Time:
    5:58 PM
    Nginx 1.15.0
    MariaDB 10.2.15
    Still 5 shards

    Code:
    curl 'localhost:9200/_stats?human&pretty'
    {
      "_shards" : {
        "total" : 5,
        "successful" : 5,
        "failed" : 0
      },
    So how to fix that?
     
  4. pamamolf

    pamamolf Well-Known Member

    3,117
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    6:58 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Then maybe your index name is not content?
     
  5. Andy

    Andy Premium Member Premium Member

    420
    60
    28
    Aug 6, 2014
    Ratings:
    +84
    Local Time:
    11:58 AM
    6.3.1 is available via yum update.
     
    • Informative Informative x 2
  6. Jimmy

    Jimmy Premium Member Premium Member

    1,377
    287
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +713
    Local Time:
    11:58 AM
    1.13.x
    MariaDB 10.1.x
    Does anyone have an update for this. I'm getting an error on install. This worked the last time I tried to install elastic search. Now it's saying that the RPM isn't signed. I hesitate forcing the install.

    Code:
    ============================================================================================================================================
     Package                            Arch                        Version                        Repository                              Size
    ============================================================================================================================================
    Installing:
     elasticsearch                      noarch                      6.3.2-1                        elasticsearch-6.x                       87 M
    
    Transaction Summary
    ============================================================================================================================================
    Install  1 Package
    
    Total size: 87 M
    Installed size: 136 M
    Downloading packages:
    
    
    Package elasticsearch-6.3.2.rpm is not signed
    
     
  7. Sunka

    Sunka Well-Known Member

    1,011
    280
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +458
    Local Time:
    5:58 PM
    Nginx 1.15.0
    MariaDB 10.2.15
    Install guide not need an update.
    It was ES crew mistake!

     
    • Like Like x 1
  8. Sunka

    Sunka Well-Known Member

    1,011
    280
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +458
    Local Time:
    5:58 PM
    Nginx 1.15.0
    MariaDB 10.2.15
    Code (Text):
    # yum update
    Loaded plugins: fastestmirror, priorities, versionlock
    Determining fastest mirrors
    epel/x86_64/metalink                                                                    |  25 kB  00:00:00     
     * base: mirror.centos.org
     * epel: mirror.23media.de
     * extras: mirror.centos.org
     * rpmforge: mirror.de.leaseweb.net
     * updates: mirror.centos.org
    base                                                                                    | 3.6 kB  00:00:00     
    centos-sclo-rh                                                                          | 3.0 kB  00:00:00     
    centos-sclo-sclo                                                                        | 2.9 kB  00:00:00     
    elasticsearch-6.x                                                                       | 1.3 kB  00:00:00     
    epel                                                                                    | 3.2 kB  00:00:00     
    extras                                                                                  | 3.4 kB  00:00:00     
    mariadb                                                                                 | 2.9 kB  00:00:00     
    rpmforge                                                                                | 1.9 kB  00:00:00     
    updates                                                                                 | 3.4 kB  00:00:00     
    (1/11): base/7/x86_64/group_gz                                                          | 166 kB  00:00:00     
    (2/11): epel/x86_64/group_gz                                                            |  88 kB  00:00:00     
    (3/11): epel/x86_64/updateinfo                                                          | 928 kB  00:00:00     
    (4/11): base/7/x86_64/primary_db                                                        | 5.9 MB  00:00:00     
    (5/11): extras/7/x86_64/primary_db                                                      | 172 kB  00:00:00     
    (6/11): centos-sclo-sclo/x86_64/primary_db                                              | 289 kB  00:00:00     
    (7/11): updates/7/x86_64/primary_db                                                     | 4.2 MB  00:00:00     
    (8/11): epel/x86_64/primary                                                             | 3.5 MB  00:00:00     
    (9/11): mariadb/primary_db                                                              |  61 kB  00:00:00     
    (10/11): centos-sclo-rh/x86_64/primary_db                                               | 3.5 MB  00:00:00     
    (11/11): elasticsearch-6.x/primary                                                      |  92 kB  00:00:00     
    rpmforge/primary_db                                                                     | 125 kB  00:00:00     
    elasticsearch-6.x                                                                                      226/226
    epel                                                                                               12619/12619
    279 packages excluded due to repository priority protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package clamav-data.noarch 0:0.100.0-2.el7 will be updated
    ---> Package clamav-data.noarch 0:0.100.1-1.el7 will be an update
    ---> Package clamav-filesystem.noarch 0:0.100.0-2.el7 will be updated
    ---> Package clamav-filesystem.noarch 0:0.100.1-1.el7 will be an update
    ---> Package elasticsearch.noarch 0:6.3.1-1 will be updated
    ---> Package elasticsearch.noarch 0:6.3.2-1 will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===============================================================================================================
     Package                      Arch              Version                     Repository                    Size
    ===============================================================================================================
    Updating:
     clamav-data                  noarch            0.100.1-1.el7               epel                         159 M
     clamav-filesystem            noarch            0.100.1-1.el7               epel                          26 k
     elasticsearch                noarch            6.3.2-1                     elasticsearch-6.x             87 M
    
    Transaction Summary
    ===============================================================================================================
    Upgrade  3 Packages
    
    Total download size: 246 M
    Is this ok [y/d/N]: y
    Downloading packages:
    No Presto metadata available for elasticsearch-6.x
    epel/x86_64/prestodelta                                                                 | 1.0 kB  00:00:00     
    (1/3): clamav-data-0.100.1-1.el7.noarch.rpm                                             | 159 MB  00:00:03     
    (2/3): clamav-filesystem-0.100.1-1.el7.noarch.rpm                                       |  26 kB  00:00:00     
    (3/3): elasticsearch-6.3.2.rpm                                                          |  87 MB  00:00:04     
    ---------------------------------------------------------------------------------------------------------------
    Total                                                                           30 MB/s | 246 MB  00:00:08     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Updating   : clamav-filesystem-0.100.1-1.el7.noarch                                                      1/6
      Updating   : clamav-data-0.100.1-1.el7.noarch                                                            2/6
      Updating   : elasticsearch-6.3.2-1.noarch                                                                3/6
    warning: /etc/elasticsearch/jvm.options created as /etc/elasticsearch/jvm.options.rpmnew
      Cleanup    : clamav-data-0.100.0-2.el7.noarch                                                            4/6
      Cleanup    : clamav-filesystem-0.100.0-2.el7.noarch                                                      5/6
      Cleanup    : elasticsearch-6.3.1-1.noarch                                                                6/6
    Created elasticsearch keystore in /etc/elasticsearch
      Verifying  : elasticsearch-6.3.2-1.noarch                                                                1/6
      Verifying  : clamav-data-0.100.1-1.el7.noarch                                                            2/6
      Verifying  : clamav-filesystem-0.100.1-1.el7.noarch                                                      3/6
      Verifying  : clamav-data-0.100.0-2.el7.noarch                                                            4/6
      Verifying  : elasticsearch-6.3.1-1.noarch                                                                5/6
      Verifying  : clamav-filesystem-0.100.0-2.el7.noarch                                                      6/6
    
    Updated:
      clamav-data.noarch 0:0.100.1-1.el7  clamav-filesystem.noarch 0:0.100.1-1.el7  elasticsearch.noarch 0:6.3.2-1
    
    Complete!
     
    • Like Like x 1
    • Informative Informative x 1
  9. Andy

    Andy Premium Member Premium Member

    420
    60
    28
    Aug 6, 2014
    Ratings:
    +84
    Local Time:
    11:58 AM
    6.4.1 is now available.
     
    • Agree Agree x 1
    • Informative Informative x 1
  10. Sunka

    Sunka Well-Known Member

    1,011
    280
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +458
    Local Time:
    5:58 PM
    Nginx 1.15.0
    MariaDB 10.2.15
    Installed last night and everything seems fine
     
    • Like Like x 1
..