Welcome to Centmin Mod Community
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. Sunka

    Sunka Well-Known Member

    1,145
    315
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +512
    Local Time:
    10:28 PM
    Nginx 1.17.9
    MariaDB 10.3.22
    I did not yet updated to ES 7
     
  2. xenbiarritz

    xenbiarritz Member

    44
    3
    8
    May 7, 2017
    Ratings:
    +4
    Local Time:
    10:28 PM
    Any news?
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,915
    391
    83
    May 31, 2014
    Ratings:
    +760
    Local Time:
    11:28 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    It will be great if anyone can post a safe way to upgrade from v6 to v7 :)

    Thanks
     
  4. Xon

    Xon Active Member

    173
    61
    28
    Nov 16, 2015
    Ratings:
    +228
    Local Time:
    5:28 AM
    1.15.x
    MariaDB 10.3.x
    Install ElasticSearch v7 :p
     
  5. pdinh97qng

    pdinh97qng Member

    102
    12
    18
    Jan 24, 2016
    Ratings:
    +33
    Local Time:
    1:28 PM
    A quick question, as of now I have 2 different XenForo forums on separate VPSs. Now I want to merge them into one dedicated server but I don't know how to create 2 elasticsearch indexes for them :confused:
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    3,915
    391
    83
    May 31, 2014
    Ratings:
    +760
    Local Time:
    11:28 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Just use different names :)

    For example:

    content
    content2
     
  7. pdinh97qng

    pdinh97qng Member

    102
    12
    18
    Jan 24, 2016
    Ratings:
    +33
    Local Time:
    1:28 PM
    Code:
    cluster.name: CUSTOM NAME OF YOUR CLUSTER (same name should be inserted into your XenForo field in Admin Control Panel in field Elasticsearch Index Name)
    network.host: localhost
    http.port: 9200
    Another cluster.name?
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    3,915
    391
    83
    May 31, 2014
    Ratings:
    +760
    Local Time:
    11:28 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Same cluster name should be fine :)

    It just needs to have different index name...
     
  9. steph40

    steph40 Member

    80
    15
    8
    Jan 28, 2019
    Ratings:
    +32
    Local Time:
    4:28 PM
    1.1.5
    mariadb 10
    Can’t use elasticsearch 7 on ips yet not compatible
     
  10. pamamolf

    pamamolf Premium Member Premium Member

    3,915
    391
    83
    May 31, 2014
    Ratings:
    +760
    Local Time:
    11:28 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Yes you have to wait for Invision to add support for it....
     
  11. pdinh97qng

    pdinh97qng Member

    102
    12
    18
    Jan 24, 2016
    Ratings:
    +33
    Local Time:
    1:28 PM
    :p On my small forum, I just backup everything and install a new vps with ES7 and merge them over. My large is still on ES6 :p
     
  12. rdan

    rdan Well-Known Member

    5,020
    1,229
    113
    May 25, 2014
    Ratings:
    +1,857
    Local Time:
    5:28 AM
    Mainline
    10.2
    Set up Elasticsearch | Elasticsearch Reference [7.3] | Elastic


    Java install isn't needed anymore I think.
     
  13. pamamolf

    pamamolf Premium Member Premium Member

    3,915
    391
    83
    May 31, 2014
    Ratings:
    +760
    Local Time:
    11:28 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    What optimizations do you recommend after the default installation?
     
  14. pdinh97qng

    pdinh97qng Member

    102
    12
    18
    Jan 24, 2016
    Ratings:
    +33
    Local Time:
    1:28 PM
  15. rdan

    rdan Well-Known Member

    5,020
    1,229
    113
    May 25, 2014
    Ratings:
    +1,857
    Local Time:
    5:28 AM
    Mainline
    10.2
    I experienced that error too yesterday.
    Even 6.8 latest has errors :/.
     
  16. eva2000

    eva2000 Administrator Staff Member

    46,238
    10,510
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,293
    Local Time:
    7:28 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Centmin Mod does for security mount /tmp as noexec so need to follow instructions for setting custom tmp in linked JNA url
     
  17. pdinh97qng

    pdinh97qng Member

    102
    12
    18
    Jan 24, 2016
    Ratings:
    +33
    Local Time:
    1:28 PM
    Could you provide a details of how to resolve this issue?
     
  18. rdan

    rdan Well-Known Member

    5,020
    1,229
    113
    May 25, 2014
    Ratings:
    +1,857
    Local Time:
    5:28 AM
    Mainline
    10.2
    What I did was, install the last version that works for me.
     
  19. rdan

    rdan Well-Known Member

    5,020
    1,229
    113
    May 25, 2014
    Ratings:
    +1,857
    Local Time:
    5:28 AM
    Mainline
    10.2
    I updated to 7.4.x, and fix this way:

    On /etc/elasticsearch/jvm.options
    Modify the path to:
     
  20. rdan

    rdan Well-Known Member

    5,020
    1,229
    113
    May 25, 2014
    Ratings:
    +1,857
    Local Time:
    5:28 AM
    Mainline
    10.2
    Works fine
    upload_2019-10-6_5-4-25.png