# Errors rebuilding the indexes after upgrading to elasticsearch 8

**URL:** <https://community.zammad.org/t/errors-rebuilding-the-indexes-after-upgrading-to-elasticsearch-8/21383>\
**Category:** Technical assistance\
**Created:** [October 13, 2026, 7:15am UTC](https://community.zammad.org/t/errors-rebuilding-the-indexes-after-upgrading-to-elasticsearch-8/21383 "2026-10-13T07:15:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![skip](https://community.zammad.org/user_avatar/community.zammad.org/skip/32/8559_2.png) [@skip](https://community.zammad.org/u/skip)\
**Post date:** [October 13, 2026, 8:41am UTC](https://community.zammad.org/t/errors-rebuilding-the-indexes-after-upgrading-to-elasticsearch-8/21383/2 "2026-10-13T08:41:15Z")

</div>

Hello,

the error tells you the issue:

missing authentication credentials for REST request

Did you setup the credentials in ES and Zammad according to the documentation?

This is how I upgraded from 7 to 9

> [@Issues with elasticsearch after upgrading from 7 to 9](https://community.zammad.org/t/issues-with-elasticsearch-after-upgrading-from-7-to-9/20019/5):
>
> These are my personal notes while planning to upgrade from 7 to 9, i tested it on my staging system DISCLAIMER: NO WARRANTY [Overview](https://www.elastic.co/docs/deploy-manage/upgrade/deployment-or-cluster/upgrade-717#overview) Upgrading from 7.17 to 9.3.1 requires two major upgrades. Each major upgrade must be prepared and executed independently, although the planning phase can be shared. 7.17.x → 8.19.xThis brings the cluster onto the latest supported 8.x release, which is the required intermediate version before upgrading to 9.3.1.Before running this upgrade, all ingest components …

---

_[View the full topic](https://community.zammad.org/t/errors-rebuilding-the-indexes-after-upgrading-to-elasticsearch-8/21383)._
