# Any reason NOT to use Ubuntu 18.04 LTS Minimal image?

**URL:** https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544
**Category:** Self-hosting
**Created:** [12 augustus 2018 om 22:31 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544 "2018-08-12T22:31:23Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Cheeser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cheeser/32/96050_2.png) [@Cheeser](https://meta.discourse.org/u/Cheeser)
#### Post date: [12 augustus 2018 om 22:31 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/1 "2018-08-12T22:31:23Z")

</div>

I know the official docs recommend Ubuntu 16.04, but **are there any show-stoppers for Ubuntu 18.04 LTS Minimal** (as offered in Google Cloud Compute) with regard to Discourse?

EDITED with an extra question: 🙂 **How much storage space should I make available to Discourse?** I’m currently using an SSD 15GB allowance. Our forum, however, will have millions of posts imported. How much space should be realistically allocated for a forum of such size?

---

<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: [12 augustus 2018 om 23:02 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/2 "2018-08-12T23:02:38Z")

</div>

> [@Cheeser](#):
>
> I know the official docs recommend Ubuntu 16.04, but **are there any show-stoppers for Ubuntu 18.04 LTS Minimal** (as offered in Google Cloud Compute) with regard to Discourse?

It should work, though I’ve not tested it.

> [@Cheeser](#):
>
> EDITED with an extra question: 🙂 **How much storage space should I make available to Discourse?** I’m currently using an SSD 15GB allowance. Our forum, however, will have millions of posts imported. How much space should be realistically allocated for a forum of such size?

I’d recommend at least 50GB. Once you’ve got things up and running you can take stock of how much space you’re actually using.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [13 augustus 2018 om 00:33 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/3 "2018-08-13T00:33:01Z")

</div>

Try minimal and let us know how it works — I hope it does work!

---

<div class="post-metadata">

### Author: ![Gunnar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gunnar/32/119647_2.png) [@Gunnar](https://meta.discourse.org/u/Gunnar)
#### Post date: [13 augustus 2018 om 01:14 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/4 "2018-08-13T01:14:32Z")

</div>

> [@Cheeser](#):
>
> How much storage space should I make available to Discourse?

The answer depends in part on how many pictures etc. you expect your users to upload. We transitioned to Discourse from a homemade forum on top of a bunch of Majordomo mailing lists. On our old platform, uploads were a non-issue. Once we switched to Discourse and people discovered the joys of posting inline pictures, our uploads exploded.

We have about 100k registered users, of which 40k are active. We have 1.9 million messages (about 5 GB worth of text) and about 18 GB in uploads. Those 18 GBs all showed up in the last two years, since we switched.

You can elect to store uploads in S3 on AWS, that’ll save you on local disk space. Same with backups.

Even if you do use S3, if your forum is the same size or larger than ours, I’d go with 80-100 GB of disk. It’s good to have some elbow room, just in case.

Right now, with two backups stored locally, older backups in S3 and all uploads in S3, our server still weighs in at a hefty 54 GB.

Good luck!  
Gunnar

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [13 augustus 2018 om 01:44 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/5 "2018-08-13T01:44:19Z")

</div>

I can confirm it does works!

---

<div class="post-metadata">

### Author: ![RoldanLT](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@RoldanLT](https://meta.discourse.org/u/RoldanLT)
#### Post date: [13 augustus 2018 om 02:05 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/6 "2018-08-13T02:05:53Z")

</div>

I’m using 18.04.1 also and works fine.

---

<div class="post-metadata">

### Author: ![Cheeser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cheeser/32/96050_2.png) [@Cheeser](https://meta.discourse.org/u/Cheeser)
#### Post date: [13 augustus 2018 om 02:06 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/7 "2018-08-13T02:06:58Z")

</div>

Replying to my own post to confirm, yes 18.04 LTS **Minimal** works for me (so far)!

All I had to do was manually install Git first.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [13 augustus 2018 om 07:57 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/8 "2018-08-13T07:57:56Z")

</div>

18.04 is supposed to [bench faster than 16.04](https://www.phoronix.com/scan.php?page=article&item=ubuntu-1804-6systems&num=2), right? (Mileage for Discourse may vary, though, of course)

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [13 augustus 2018 om 10:46 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/9 "2018-08-13T10:46:08Z")

</div>

Performance mostly depends on the CPU and RAM (the newer the better) OS does have it’s impact but not much noticeable so far.

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [14 augustus 2018 om 14:31 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/10 "2018-08-14T14:31:41Z")

</div>

Can any of you guys running on 18.04 reproduce this problem?

[https://meta.discourse.org/t/no-image-preview-for-large-images/94521/3?u=tophee](https://meta.discourse.org/t/no-image-preview-for-large-images/94521/3)

---

<div class="post-metadata">

### Author: ![Cheeser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cheeser/32/96050_2.png) [@Cheeser](https://meta.discourse.org/u/Cheeser)
#### Post date: [14 augustus 2018 om 19:45 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/11 "2018-08-14T19:45:26Z")

</div>

Works for me… unless you’re referring to something else?

Here’s a huge image I posted to the Site Assets topic:

 ![Screenshot_11](https://global.discourse-cdn.com/meta/original/3X/3/2/32afd9658f20dc441a5aec7f1e3247d77180e0b3.png)

Clicked on it and got the bigger image that you see in this screenshot:

 ![Screenshot_10](https://global.discourse-cdn.com/meta/original/3X/3/2/3236879c6688575769dd913ef07125578a9e7827.png)

Clicked on the bigger image and got it ZOOMED IN (with browser scrollbars) like in this screenshot:

 ![Screenshot_12](https://global.discourse-cdn.com/meta/original/3X/a/f/af91070be5184a1dd57264bbdc43489fca13b6e5.png)

---

<div class="post-metadata">

### Author: ![JimmyBoy](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@JimmyBoy](https://meta.discourse.org/u/JimmyBoy)
#### Post date: [14 augustus 2018 om 20:05 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/12 "2018-08-14T20:05:47Z")

</div>

> [@tophee](#):
>
> Can any of you guys running on 18.04 reproduce this problem?

> [@Cheeser](#):
>
> Works for me… unless you’re referring to something else?
> 
> Here’s a huge image I posted to the Site Assets topic:

Hmmm, don’t know what to say. I Installed Ubuntu 18.04 LTS twice with discourse, both times I could not get large images to show a preview. I done the exact same process except this time using Ubuntu 16.04 LTS and image previews worked fine for me. The assumption was Ubuntu 18.04 LTS was the problem, if its not I would be happy to be pointed at any troubleshooting tips to identify the root cause of the issue.

---

<div class="post-metadata">

### Author: ![Cheeser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cheeser/32/96050_2.png) [@Cheeser](https://meta.discourse.org/u/Cheeser)
#### Post date: [14 augustus 2018 om 20:15 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/13 "2018-08-14T20:15:27Z")

</div>

I used the 18.04 LTS Minimal image provided on Google Cloud Compute. The only thing I had to do before installing Discourse was to manually install Git first.

---

<div class="post-metadata">

### Author: ![JimmyBoy](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@JimmyBoy](https://meta.discourse.org/u/JimmyBoy)
#### Post date: [14 augustus 2018 om 20:28 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/14 "2018-08-14T20:28:06Z")

</div>

I used the .iso directly from ubuntu site - `ubuntu-18.04-live-server-amd64.iso`

This may well be something my end, I’m no expert. All I can say is, using Ubuntu 18.04 LTS gave me no image previews, when I followed the exact same process but on Ubuntu 16.04 LTS, I didn’t have the issue. Maybe I inadvertently done something different on the Ubuntu 18.04 LTS OS Installation?

---

<div class="post-metadata">

### Author: ![ckshen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@ckshen](https://meta.discourse.org/u/ckshen)
#### Post date: [2 september 2018 om 07:23 UTC](https://meta.discourse.org/t/any-reason-not-to-use-ubuntu-18-04-lts-minimal-image/94544/15 "2018-09-02T07:23:55Z")

</div>

I used Digital Ocean and ran do-release-upgrade to 18.04.1. Upgrade went fine and Discourse runs fine.
