# How to solve error duplicate extension "wasm"

**URL:** https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411
**Category:** Self-hosting
**Created:** [January 9, 2025, 10:41pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411 "2025-01-09T22:41:54Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Taste-OF-IT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/taste-of-it/32/303842_2.png) [@Taste-OF-IT](https://meta.discourse.org/u/Taste-OF-IT)
#### Post date: [January 9, 2025, 10:41pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/1 "2025-01-09T22:41:55Z")

</div>

Hi,  
i changed Build to stable and run rebuild app and now the website shows oops and the nginx log:

```plaintext
nginx: [warn] duplicate extension "wasm", content type: "application/wasm", previous content type: "application/wasm" in /etc/nginx/conf.d/discourse.conf:4
supervisor pid: 53 unicorn pid: 85

```

Any idea to solve this?  
Thanks

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 9, 2025, 11:08pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/2 "2025-01-09T23:08:55Z")

</div>

> [@Taste-OF-IT](#):
>
> changed Build to stable

Unless you were on a version older than the current stable, you can’t do that.

---

<div class="post-metadata">

### Author: ![Taste-OF-IT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/taste-of-it/32/303842_2.png) [@Taste-OF-IT](https://meta.discourse.org/u/Taste-OF-IT)
#### Post date: [January 9, 2025, 11:51pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/3 "2025-01-09T23:51:24Z")

</div>

Hi Jay,  
ok i switch back and rerun rebuild and discourse worked again. I read in the forum and it seems that i understand the explanation wrong. So thanks now its clear.

---

<div class="post-metadata">

### Author: ![Taste-OF-IT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/taste-of-it/32/303842_2.png) [@Taste-OF-IT](https://meta.discourse.org/u/Taste-OF-IT)
#### Post date: [January 10, 2025, 12:15am UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/4 "2025-01-10T00:15:20Z")

</div>

Hi Jay,  
i now switch back, have successfull updated to latest dev Version, reconfigure to stable and run rebuild and now i got the same error message. Any Idea?  
Thx

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [January 10, 2025, 12:40am UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/5 "2025-01-10T00:40:10Z")

</div>

Out of curiosity, why do you want to use the `stable` branch?

> [@Taste-OF-IT](#):
>
> have successfull updated to latest dev Version, reconfigure to stable

> [@pfaffman](#):
>
> Unless you were on a version older than the current stable, you can’t do that.

As I’m understanding Jay, the `beta` branch will always be more recent than `stable`, and you can’t go back to an older version of Discourse. Which may (or not) be the underlying cause of the error you have 🤔

---

<div class="post-metadata">

### Author: ![Taste-OF-IT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/taste-of-it/32/303842_2.png) [@Taste-OF-IT](https://meta.discourse.org/u/Taste-OF-IT)
#### Post date: [January 10, 2025, 1:15pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/6 "2025-01-10T13:15:23Z")

</div>

Hi,  
i understand it in a different way. Look: [Switch from beta to stable releases](https://meta.discourse.org/t/switch-from-beta-to-stable-releases/127735). So it should possible, right?

---

<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: [January 10, 2025, 1:49pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/8 "2025-01-10T13:49:44Z")

</div>

It is, but you have to wait for the release of 3.4.0

> [@Switch from beta to stable releases](https://meta.discourse.org/t/switch-from-beta-to-stable-releases/127735/5):
>
> Wait until 2.4.0 is out and then find the line `#version: tests-passed` in your app.yml , change it to `version: stable` , and rebuild.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 10, 2025, 1:49pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/9 "2025-01-10T13:49:51Z")

</div>

> [@Taste-OF-IT](#):
>
> reconfigure to stable and run rebuild and now i got the same error message. Any Idea?

You cannot switch to stable until the next stable release.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [January 10, 2025, 1:52pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/10 "2025-01-10T13:52:37Z")

</div>

> [@Taste-OF-IT](#):
>
> latest dev Version

Just to be sure, you meant `beta`, nod `dev`?

---

<div class="post-metadata">

### Author: ![Taste-OF-IT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/taste-of-it/32/303842_2.png) [@Taste-OF-IT](https://meta.discourse.org/u/Taste-OF-IT)
#### Post date: [January 10, 2025, 2:52pm UTC](https://meta.discourse.org/t/how-to-solve-error-duplicate-extension-wasm/346411/11 "2025-01-10T14:52:25Z")

</div>

On another test installation, the Installation of Discourse is with no Version configured. The UI shows Version 3.4.0.beta3-dev is running, the Updater shows now 3.4.0.beta3, which i understand is the stable version. I find this [Is Discourse always in "beta"? - #23 by kwinz](https://meta.discourse.org/t/is-discourse-always-in-beta/198215/23) and i now understand that this is the normal behavior with dev and beta3. So if you have no other information, i am fine with this.
