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. Sunka

    Sunka Well-Known Member

    1,142
    313
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +510
    Local Time:
    3:31 AM
    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:
    3:31 AM
    Any news?
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,858
    379
    83
    May 31, 2014
    Ratings:
    +731
    Local Time:
    4:31 AM
    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

    170
    61
    28
    Nov 16, 2015
    Ratings:
    +223
    Local Time:
    10:31 AM
    1.15.x
    MariaDB 10.3.x
    Install ElasticSearch v7 :p
     
  5. pdinh97qng

    pdinh97qng Member

    93
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    7:31 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,858
    379
    83
    May 31, 2014
    Ratings:
    +731
    Local Time:
    4:31 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Just use different names :)

    For example:

    content
    content2
     
  7. pdinh97qng

    pdinh97qng Member

    93
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    7:31 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,858
    379
    83
    May 31, 2014
    Ratings:
    +731
    Local Time:
    4:31 AM
    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

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

    pamamolf Premium Member Premium Member

    3,858
    379
    83
    May 31, 2014
    Ratings:
    +731
    Local Time:
    4:31 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Yes you have to wait for Invision to add support for it....
     
  11. pdinh97qng

    pdinh97qng Member

    93
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    7:31 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

    4,988
    1,186
    113
    May 25, 2014
    Ratings:
    +1,808
    Local Time:
    10:31 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,858
    379
    83
    May 31, 2014
    Ratings:
    +731
    Local Time:
    4:31 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    What optimizations do you recommend after the default installation?
     
  14. pdinh97qng

    pdinh97qng Member

    93
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    7:31 PM
  15. rdan

    rdan Well-Known Member

    4,988
    1,186
    113
    May 25, 2014
    Ratings:
    +1,808
    Local Time:
    10:31 AM
    Mainline
    10.2
    I experienced that error too yesterday.
    Even 6.8 latest has errors :/.
     
  16. eva2000

    eva2000 Administrator Staff Member

    45,434
    10,311
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,991
    Local Time:
    12:31 PM
    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

    93
    10
    8
    Jan 24, 2016
    Ratings:
    +27
    Local Time:
    7:31 PM
    Could you provide a details of how to resolve this issue?
     
  18. rdan

    rdan Well-Known Member

    4,988
    1,186
    113
    May 25, 2014
    Ratings:
    +1,808
    Local Time:
    10:31 AM
    Mainline
    10.2
    What I did was, install the last version that works for me.
     
  19. rdan

    rdan Well-Known Member

    4,988
    1,186
    113
    May 25, 2014
    Ratings:
    +1,808
    Local Time:
    10:31 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

    4,988
    1,186
    113
    May 25, 2014
    Ratings:
    +1,808
    Local Time:
    10:31 AM
    Mainline
    10.2
    Works fine
    upload_2019-10-6_5-4-25.png