# Comments and attachments not showing after XWiki upgrade

**URL:** <https://forum.xwiki.org/t/comments-and-attachments-not-showing-after-xwiki-upgrade/18581>\
**Category:** Help / Discuss\
**Created:** [June 9, 2026, 3:11pm UTC](https://forum.xwiki.org/t/comments-and-attachments-not-showing-after-xwiki-upgrade/18581 "2026-06-09T15:11:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zagnafeynt](https://forum.xwiki.org/user_avatar/forum.xwiki.org/zagnafeynt/32/9872_2.png) [@zagnafeynt](https://forum.xwiki.org/u/zagnafeynt)\
**Post date:** [June 9, 2026, 3:11pm UTC](https://forum.xwiki.org/t/comments-and-attachments-not-showing-after-xwiki-upgrade/18581/1 "2026-06-09T15:11:29Z")

</div>

Hi,

After upgrading XWiki from 13.x to 17.x, comments and attachments are not displayed in UI, but the data exists in the database.

What I checked:

- DB has data (~3000 docs, comments objects exist)

- XWiki starts fine (Tomcat 10, Java 21)

- Solr is installed and running

What I tried:

- Reindex from UI

- Deleting Solr index and rebuilding

- Enabling `solr.synchronizeAtStartup=true`

- Restarting multiple times

Current state:

- Solr indexing runs but logs show:  
`0 documents added, 0 updated`

2026-06-09 16:42:13,324 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@5c639ad7([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with identifier [[solr, indexer]]  
2026-06-09 16:42:15,168 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@5c639ad7([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - 0 documents added, 0 deleted and 0 updated during the synchronization of the Solr index.  
2026-06-09 16:42:16,209 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@5c639ad7([solr, indexer])] INFO o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with identifier [[solr, indexer]]

- UI still shows empty comments/attachments

Any idea why XWiki skips all documents during indexing?

 ![2026-06-09_17-43](https://forum.xwiki.org/uploads/default/original/2X/e/ee4efb69c4c25daf56f3a47005d5e0e5ab0e576a.png)

 ![2026-06-09_17-43_1](https://forum.xwiki.org/uploads/default/original/2X/a/ac9ce757d7888ea8e2f03c77c4ffe5a9fd6af1ba.png)

---

<div class="post-metadata">

**Author:** ![zagnafeynt](https://forum.xwiki.org/user_avatar/forum.xwiki.org/zagnafeynt/32/9872_2.png) [@zagnafeynt](https://forum.xwiki.org/u/zagnafeynt)\
**Post date:** [June 10, 2026, 12:21pm UTC](https://forum.xwiki.org/t/comments-and-attachments-not-showing-after-xwiki-upgrade/18581/2 "2026-06-10T12:21:07Z")

</div>

fiexed by disabling http2 in server.xml:
