# Endless spinner on some posts

**URL:** https://meta.discourse.org/t/endless-spinner-on-some-posts/323031
**Category:** Bug
**Tags:** fixed
**Created:** [August 23, 2024, 8:21am UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031 "2024-08-23T08:21:52Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![stefanv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefanv/32/338564_2.png) [@stefanv](https://meta.discourse.org/u/stefanv)
#### Post date: [August 23, 2024, 8:21am UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/1 "2024-08-23T08:21:52Z")

</div>

I have a strange thing on the latest version on Discourse (3.4.0.beta1-dev).

Some posts aren’t shown and give the following error in the console.  
The spinner keeps turning and turning!

Strange thing is that some posts hang when i’m logged in and will load when i sign-out. But some never load.

This is what i get in the console:

```plaintext
Could not view topic TypeError: Cannot read properties of undefined (reading 'name_key')
    at post.js:32:29
    at Array.map (<anonymous>)
    at T.munge (post.js:28:51)
    at T.create (rest.js:19:29)
    at d.create (index.js:385:1)
    at _._build (store.js:301:25)
    at _._hydrate (store.js:423:17)
    at _.createRecord (store.js:225:14)
    at post-stream.js:1048:31
    at Array.forEach (<anonymous>)
    at k.updateFromJson (post-stream.js:1047:28)
    at post-stream.js:353:14
    at _ (rsvp.js:434:1)
    at y (rsvp.js:420:1)
    at invoke (backburner.js.js:282:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B._boundAutorunEnd (backburner.js.js:523:1)

```

**What i have done so far:**

- Checked in safe-mode. Same problem
- Turned off plugins 1-by-1. Same problem
- laucher rebuild app

I see this in the rebuild btw:

```plaintext
I, [2024-08-23T08:26:25.919351 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0"
warning " > @discourse/lint-configs@1.3.9" has incorrect peer dependency "ember-template-lint@6.0.0".
warning " > @glint/environment-ember-loose@1.4.0" has unmet peer dependency "@glimmer/component@^1.1.2".
warning " > discourse-markdown-it@1.0.0" has unmet peer dependency "xss@*".
warning "workspace-aggregator-655d3348-fa9a-483d-b7d4-d3f77ee964e6 > discourse > @uppy/aws-s3@3.0.6" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-655d3348-fa9a-483d-b7d4-d3f77ee964e6 > discourse > @uppy/aws-s3-multipart@3.1.3" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-655d3348-fa9a-483d-b7d4-d3f77ee964e6 > discourse > @uppy/xhr-upload@3.1.1" has incorrect peer dependency "@uppy/core@^3.1.2".
warning "workspace-aggregator-655d3348-fa9a-483d-b7d4-d3f77ee964e6 > discourse-plugins > ember-this-fallback@0.4.0" has unmet peer dependency "ember-source@^3.28.11 || ^4.0.0".
warning "workspace-aggregator-655d3348-fa9a-483d-b7d4-d3f77ee964e6 > admin > ember-source > router_js@8.0.3" has unmet peer dependency "rsvp@^4.8.5".
warning "workspace-aggregator-655d3348-fa9a-483d-b7d4-d3f77ee964e6 > discourse > @uppy/aws-s3 > @uppy/xhr-upload@3.3.0" has incorrect peer dependency "@uppy/core@^3.2.1".

```

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [August 23, 2024, 11:33am UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/3 "2024-08-23T11:33:37Z")

</div>

Are you able to share a public topic where it’s happening please?

---

<div class="post-metadata">

### Author: ![stefanv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefanv/32/338564_2.png) [@stefanv](https://meta.discourse.org/u/stefanv)
#### Post date: [August 23, 2024, 12:30pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/5 "2024-08-23T12:30:47Z")

</div>

Sure it’s happening here (when i’m logged in and logged ouy!)

> **[Verbetering: BI omgeving uitgebreid](https://praatmee.planaday.nl/t/verbetering-bi-omgeving-uitgebreid/215)**
>
> Release 202407.1.4, Artikel aangepast op 1/8 Zojuist hebben we een update gedaan aan de BI omgeving! We synchroniseren nu nog meer informatie, zodat je nog betere dashboards en rapportages kan maken! Het datamodel wat nu beschikbaar is, is het...

And here it’s never happening:

> **[Problemen met Praatmee!](https://praatmee.planaday.nl/t/problemen-met-praatmee/220)**
>
> Momenteel zijn er wat problemen met Praatmee. Sommige artikelen lijken niet altijd weer gegeven te worden. We zijn bezig om te kijken wat het issue is, maar het lijkt een bug in de software van discourse wat we gebruiken. Het lijkt te helpen...

And this one has it when i’m logged in:

> **[Op bedrijfsniveau afwijkende regels](https://praatmee.planaday.nl/t/op-bedrijfsniveau-afwijkende-regels/217/1)**
>
> Ik wil het idee wat ik heb, graag met jullie delen om te kijken wat jullie hiervan vinden en misschien ook wel kunnen aanvullen. Planaday is opgebouwd dat je bij de cursussjablonen en instellingen kunt inregelen hoe je alles wilt laten verlopen....

but not when i’m logged out!

And other things i just tested is:

- wiping my cookies
- using an private browser.  
Same results ☹

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [August 23, 2024, 3:28pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/6 "2024-08-23T15:28:58Z")

</div>

I can’t repro sadly, can you make me a video of what you see please?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [August 23, 2024, 3:34pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/7 "2024-08-23T15:34:03Z")

</div>

I was able to reproduce when the links were posted, but it works fine now.

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [August 23, 2024, 3:34pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/8 "2024-08-23T15:34:13Z")

</div>

I tried the first link and it didn’t work for me. Forum itself yes, but that topic showed just spinner.

---

<div class="post-metadata">

### Author: ![stefanv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefanv/32/338564_2.png) [@stefanv](https://meta.discourse.org/u/stefanv)
#### Post date: [August 23, 2024, 3:39pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/9 "2024-08-23T15:39:58Z")

</div>

No upgrade or change done today.. only a new post.

But it looks like the problem is gone. 💥

I had this for more than 2 days!  
I’m almost bold from pulling my hair out 🙉

@j.jaffeux could it be a db upgrade or something like that in background?

> And thanks for looking into it!! ❤

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [August 23, 2024, 3:57pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/12 "2024-08-23T15:57:21Z")

</div>

I don’t know ATM, but I have had other reports, we will try to gather more info.

---

<div class="post-metadata">

### Author: ![stefanv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefanv/32/338564_2.png) [@stefanv](https://meta.discourse.org/u/stefanv)
#### Post date: [August 23, 2024, 4:01pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/13 "2024-08-23T16:01:11Z")

</div>

I’ll keep an eye on this.. When it happens again i’ll make a video!  
Including what i see in the consolelog + networktabs 👍

---

<div class="post-metadata">

### Author: ![hrayner](https://avatars.discourse-cdn.com/v4/letter/h/5f9b8f/32.png) [@hrayner](https://meta.discourse.org/u/hrayner)
#### Post date: [September 2, 2024, 11:14pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/16 "2024-09-02T23:14:23Z")

</div>

We’re having this issue now too on 3.4.0.beta2-dev. Same logs

---

<div class="post-metadata">

### Author: ![Simon\_Bangs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_bangs/32/445952_2.png) [@Simon\_Bangs](https://meta.discourse.org/u/Simon_Bangs)
#### Post date: [September 3, 2024, 8:46am UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/18 "2024-09-03T08:46:14Z")

</div>

Unfortunately, we are also getting the issue on one of our forums on 3.4.0.beta2-dev. Same logs

---

<div class="post-metadata">

### Author: ![stefanv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefanv/32/338564_2.png) [@stefanv](https://meta.discourse.org/u/stefanv)
#### Post date: [September 3, 2024, 9:00am UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/19 "2024-09-03T09:00:56Z")

</div>

Then i hold my horses.. Still on 3.4.0.beta1-dev.  
Problem is solved in my forum but i still don’t know how..

---

<div class="post-metadata">

### Author: ![Simon\_Bangs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_bangs/32/445952_2.png) [@Simon\_Bangs](https://meta.discourse.org/u/Simon_Bangs)
#### Post date: [September 3, 2024, 3:28pm UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/20 "2024-09-03T15:28:17Z")

</div>

Just to update after a period of say 24H the issue has now gone away which suggests it is forcing some sort of reindexing as others have suggested.

---

<div class="post-metadata">

### Author: ![kris.kotlarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kris.kotlarek/32/176919_2.png) [@kris.kotlarek](https://meta.discourse.org/u/kris.kotlarek)
#### Post date: [September 9, 2024, 3:42am UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/21 "2024-09-09T03:42:16Z")

</div>

Thank you for reporting this bug. It should be fixed with this PR

[https://github.com/discourse/discourse/pull/28801](https://github.com/discourse/discourse/pull/28801)

We moved the `like` post-action type to the database. However, for performance reasons, we cache post action types (for 24 hours) - that’s why everything is automatically fixed for you after ~24 hours.

When Discourse is updated, we should reset this cache just to be sure that the front-end has access to all post-action types.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [September 12, 2024, 3:43am UTC](https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/22 "2024-09-12T03:43:08Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
