添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
  • Used Zammad installation source: Ubuntu
  • Operating system: W10
  • Browser + version: Firefox + Chrome latest
  • Expected behavior:

    Search somethign and get an result

    Actual behavior:

    Search something and don’t get an result

    Steps to reproduce the behavior:

    Search Something Customer or Ticket

    First i checked elastic searched, it stopped working, i restartet it and it shows now status running but i still cant search for tickets or customer.

    It seems that elastic search crashed again

       xx@xx:/var/log$ systemctl status elasticsearch
    ● elasticsearch.service - Elasticsearch
       Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
       Active: active (running) since Tue 2019-02-26 09:11:31 CET; 2s ago
         Docs: http://www.elastic.co
      Process: 2449 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
     Main PID: 2452 (java)
        Tasks: 17
       Memory: 1.2G
          CPU: 3.130s
       CGroup: /system.slice/elasticsearch.service
               ‣ 2452 [java]
    xx@xx:/var/log$ systemctl status elasticsearch
    ● elasticsearch.service - Elasticsearch
       Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Tue 2019-02-26 09:11:33 CET; 4s ago
         Docs: http://www.elastic.co
      Process: 2452 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR} (code=e
      Process: 2449 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
     Main PID: 2452 (code=exited, status=1/FAILURE)

    Latest ES.log

       [2019-02-26T08:52:39,614][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main]
    org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: plugin [ingest-attachment] is incompatible with version [5.6.15]; was designed for version [5.6.14]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:123) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.6.15.jar:5.6.15]
    Caused by: java.lang.IllegalArgumentException: plugin [ingest-attachment] is incompatible with version [5.6.15]; was designed for version [5.6.14]
        at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:146) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Spawner.spawnNativePluginControllers(Spawner.java:80) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:168) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:342) ~[elasticsearch-5.6.15.jar:5.6.15]
        at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:132) ~[elasticsearch-5.6.15.jar:5.6.15]
        ... 6 more

    Could you please clarify the system you installed Zammad on?
    If this is really a Windows base below (no matter if they support some Ubuntu-ish stuff as integration), we are not able to support that.

    We will never as well, this has too many aspects that can ruin your fun and I suggest you don’t take that productive.

    For user who also encaounters this error after an update of elastic search via apt-get.

  • sudo /usr/share/elasticsearch/bin/elasticsearch-plugin remove ingest-attachment
  • sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install ingest-attachment
  • This will update the plugin an everything will work again.

    If you want to download and install by hand use this as source:
    https://jar-download.com/?search_box=ingest-attachment