Join the community today
Become a Member

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,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    10:53 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:
    10:53 AM
    Any news?
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:53 AM
    Nginx-1.25.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:
    +229
    Local Time:
    5:53 PM
    1.15.x
    MariaDB 10.3.x
    Install ElasticSearch v7 :p
     
  5. pdinh97qng

    pdinh97qng Member

    121
    15
    18
    Jan 24, 2016
    Ratings:
    +39
    Local Time:
    1:53 AM
    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

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:53 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Just use different names :)

    For example:

    content
    content2
     
  7. pdinh97qng

    pdinh97qng Member

    121
    15
    18
    Jan 24, 2016
    Ratings:
    +39
    Local Time:
    1:53 AM
    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

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:53 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Same cluster name should be fine :)

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

    steph40 Member

    84
    17
    8
    Jan 28, 2019
    Ratings:
    +34
    Local Time:
    4:53 AM
    1.1.5
    mariadb 10
    Can’t use elasticsearch 7 on ips yet not compatible
     
  10. pamamolf

    pamamolf Premium Member Premium Member

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:53 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    Yes you have to wait for Invision to add support for it....
     
  11. pdinh97qng

    pdinh97qng Member

    121
    15
    18
    Jan 24, 2016
    Ratings:
    +39
    Local Time:
    1:53 AM
    :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,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    5:53 PM
    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

    4,084
    428
    83
    May 31, 2014
    Ratings:
    +834
    Local Time:
    11:53 AM
    Nginx-1.25.x
    MariaDB 10.3.x
    What optimizations do you recommend after the default installation?
     
  14. pdinh97qng

    pdinh97qng Member

    121
    15
    18
    Jan 24, 2016
    Ratings:
    +39
    Local Time:
    1:53 AM
  15. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    5:53 PM
    Mainline
    10.2
    I experienced that error too yesterday.
    Even 6.8 latest has errors :/.
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,529
    12,212
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,781
    Local Time:
    7:53 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    121
    15
    18
    Jan 24, 2016
    Ratings:
    +39
    Local Time:
    1:53 AM
    Could you provide a details of how to resolve this issue?
     
  18. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    5:53 PM
    Mainline
    10.2
    What I did was, install the last version that works for me.
     
  19. rdan

    rdan Well-Known Member

    5,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    5:53 PM
    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,446
    1,408
    113
    May 25, 2014
    Ratings:
    +2,201
    Local Time:
    5:53 PM
    Mainline
    10.2
    Works fine
    upload_2019-10-6_5-4-25.png