# Discourse dev install script may need upgrade

**URL:** https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031
**Category:** Development
**Tags:** pr-welcome, dev-install
**Created:** [January 21, 2023, 11:20pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031 "2023-01-21T23:20:28Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![GameDungeon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gamedungeon/32/290180_2.png) [@GameDungeon](https://meta.discourse.org/u/GameDungeon)
#### Post date: [January 21, 2023, 11:20pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/1 "2023-01-21T23:20:28Z")

</div>

In the [install guide](https://meta.discourse.org/t/install-discourse-on-ubuntu-for-development/14727) It tells you to run:

```plaintext
bash <(wget -qO- https://raw.githubusercontent.com/discourse/install-rails/master/linux)

```

On Ubuntu 22.04.1 the install fails with:

> E: Unable to locate package libwebp6

The solution is to change it to libwebp7 in the script, but it is annoying to download and edit the two scripts. Could Ubuntu 22.04.1 be supported in the script?

---

<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 21, 2023, 11:39pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/2 "2023-01-21T23:39:48Z")

</div>

I think it will be updated, thanks for mentioning that.

I encountered a similar issue a few months ago and [fixed the script](https://github.com/Canapin/install-rails/commit/dfe984a24fac6e5abe072c7bf55c291c568b7034) for my own purpose.

The installation script was later fixed by Discourse.

---

<div class="post-metadata">

### Author: ![GameDungeon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gamedungeon/32/290180_2.png) [@GameDungeon](https://meta.discourse.org/u/GameDungeon)
#### Post date: [January 21, 2023, 11:50pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/3 "2023-01-21T23:50:20Z")

</div>

Also as far as I can tell, it’s installing an unsupported version of ruby? It says it discourse needs a ruby version of 3.1 or higher.

---

<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 26, 2023, 8:41pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/4 "2023-01-26T20:41:30Z")

</div>

I moved this from [Install Discourse on Ubuntu or Debian for Development - #582](https://meta.discourse.org/t/install-discourse-on-ubuntu-for-development/14727/582) so the replies won’t automatically disappear after a month.

---

<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 26, 2023, 10:56pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/5 "2023-01-26T22:56:14Z")

</div>

If you’re willing to, you can still do a pull request. They’ll review it before merging to see if that doesn’t break anything.

---

<div class="post-metadata">

### Author: ![GameDungeon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gamedungeon/32/290180_2.png) [@GameDungeon](https://meta.discourse.org/u/GameDungeon)
#### Post date: [January 26, 2023, 11:10pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/6 "2023-01-26T23:10:41Z")

</div>

Ok, I might take a little time and do that. Hmm, there seems to be some requests already open, just not merged.

---

<div class="post-metadata">

### Author: ![GameDungeon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gamedungeon/32/290180_2.png) [@GameDungeon](https://meta.discourse.org/u/GameDungeon)
#### Post date: [January 26, 2023, 11:17pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/7 "2023-01-26T23:17:06Z")

</div>

Some of those pull requests have been open for nearly a year and would fix my problems. Is there anything that can be done to call attention to them?

---

<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 26, 2023, 11:24pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/8 "2023-01-26T23:24:34Z")

</div>

I’ll ask the dev team tomorrow ✌, time to go to bed for me 🇫🇷 🙂

---

<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 27, 2023, 5:04pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/10 "2023-01-27T17:04:51Z")

</div>

Hi @GameDungeon, sorry for the delay.  
I sent the information to the related team and it will be taken care of 🙂

---

<div class="post-metadata">

### Author: ![GameDungeon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gamedungeon/32/290180_2.png) [@GameDungeon](https://meta.discourse.org/u/GameDungeon)
#### Post date: [January 28, 2023, 12:02am UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/11 "2023-01-28T00:02:35Z")

</div>

One important one got merged. One of these two also would need to be merged and it would be working in my pov. These both do the exact same thing:  
[https://github.com/discourse/install-rails/pull/31/files](https://github.com/discourse/install-rails/pull/31/files)  
[https://github.com/discourse/install-rails/pull/34/files](https://github.com/discourse/install-rails/pull/34/files)

---

<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 28, 2023, 3:19pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/12 "2023-01-28T15:19:08Z")

</div>

Can confirm this as I tried it myself. I informed the developers 👍

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 28, 2023, 9:29pm UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/14 "2023-02-28T21:29:28Z")

</div>

I put a #pr-welcome here on improving our documentation, help from the community is welcome.

---

<div class="post-metadata">

### Author: ![GameDungeon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gamedungeon/32/290180_2.png) [@GameDungeon](https://meta.discourse.org/u/GameDungeon)
#### Post date: [March 1, 2023, 3:21am UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/15 "2023-03-01T03:21:45Z")

</div>

I will note, that in this case, the PRs exist, they just are not being merged.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 1, 2023, 4:37am UTC](https://meta.discourse.org/t/discourse-dev-install-script-may-need-upgrade/253031/16 "2023-03-01T04:37:29Z")

</div>

Thanks … merged both of the PRs, anything else left here?
