# Issue installing Discourse on OVH VPS Ubuntu 22.04

**URL:** https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746
**Category:** Self-hosting
**Created:** [March 2, 2023, 12:03am UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746 "2023-03-02T00:03:33Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 12:03am UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/1 "2023-03-02T00:03:33Z")

</div>

Hello,  
I try to install Discourse on OVH VPS Ubuntu 22.04 by following this doc: [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md)

The 443 port seems to be open because when I run sudo ufw status I get:  
Status: active  
To Action From

* * *

22/tcp ALLOW Anywhere  
443/tcp ALLOW Anywhere  
80/tcp ALLOW Anywhere  
22/tcp (v6) ALLOW Anywhere (v6)  
443/tcp (v6) ALLOW Anywhere (v6)  
80/tcp (v6) ALLOW Anywhere (v6)

But When I run: ./discourse-setup

I’ve got the following message: Port 443 of computer does not appear to be accessible using hostname mydomain

When I modify manually the /containers/app.yml I succeed to install correctly discourse only with http but I doesn’t work when I try to open it with https  
I get the following message with https:  
This site is inaccessible  
mydomaine does not allow connection.

Does anyone know how to do proceed please ?

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 7:59am UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/2 "2023-03-02T07:59:44Z")

</div>

Hello,

I tried also this method : [https://youtu.be/EaUIsIYivE8](https://youtu.be/EaUIsIYivE8)  
Same result : it’s work with http but not with https

---

<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: [March 2, 2023, 8:31am UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/3 "2023-03-02T08:31:33Z")

</div>

If you’re using cloudflare make sure to use dns only mode.

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 8:51am UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/4 "2023-03-02T08:51:32Z")

</div>

Thanks Jay for your feedback. I use OVH and not cloudflare.

---

<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: [March 2, 2023, 8:55am UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/5 "2023-03-02T08:55:49Z")

</div>

Are you using a reverse proxy of some sort?

Discourse-setup does a rather crude test to see that it’s possible to connect to itself with curl and your hostname. It seems like something is keeping lets encrypt from connecting to the server. If you rebuild enough times time hit rate limits that will keep you from getting a certificate for a week

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 11:32am UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/6 "2023-03-02T11:32:18Z")

</div>

@pfaffman no reverse proxy. I have installed nothing I just followed tu user install.  
sudo systemctl status nginx  
Unit nginx.service could not be found.

---

<div class="post-metadata">

### Author: ![xiaokong23357](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiaokong23357/32/321957_2.png) [@xiaokong23357](https://meta.discourse.org/u/xiaokong23357)
#### Post date: [March 2, 2023, 12:48pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/7 "2023-03-02T12:48:40Z")

</div>

What connection do you need? Is it HTTP or HTTPS? I didn’t understand what you meant

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 12:51pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/8 "2023-03-02T12:51:09Z")

</div>

Hello @xiaokong23357 I need https but so far it’s works only with http.

---

<div class="post-metadata">

### Author: ![Timelord](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@Timelord](https://meta.discourse.org/u/Timelord)
#### Post date: [March 2, 2023, 2:02pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/9 "2023-03-02T14:02:02Z")

</div>

What are you using for DNS for your domain?

---

<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: [March 2, 2023, 2:49pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/10 "2023-03-02T14:49:48Z")

</div>

My only other guess is that your VM has port 443 blocked at the network level (before it gets to your VM). You can check with your VM provider to see if it’s blocked somehow. If it’s AWS then you need to muck with security levels, I think.

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 4:34pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/11 "2023-03-02T16:34:01Z")

</div>

@Timelord, I use the DNS provided by OVH  
You are currently using the recommended OVH DNS servers for your domain:

- [dnsxxx.ovh.net](http://dnsxxx.ovh.net)
- [nsxxx.ovh.net](http://nsxxx.ovh.net)

---

<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: [March 2, 2023, 9:16pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/12 "2023-03-02T21:16:26Z")

</div>

Hi @Titi 👋 🇫🇷

Can you provide us the exact configuration of your server, with the option you opted-in?  
I rent a a VPS at OVH and I know they propose a bunch of stuff to be checked in or out.

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 9:48pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/13 "2023-03-02T21:48:48Z")

</div>

@Canapin, you will find my configuration below:  
Model: VPS vps2020-value-1-2-40  
Vps with linux distribution  
Boot: LOCAL  
OS / Distribution: Ubuntu 22.04  
Zone: Region OpenStack: os-sbg8\*  
Memory 2GO SSD NVMe  
Storage 40GO

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/0/a/30ac8717540fbad36dee414a7b2810b726920fc3.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/6/1/3/6131cd0599d5c5857abe50f741e2c4fa8734ac3c.png)  
I don’t took the option cPanel & Plesk

---

<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: [March 2, 2023, 10:00pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/14 "2023-03-02T22:00:22Z")

</div>

Thank you!

> [@pfaffman](#):
>
> You can check with your VM provider to see if it’s blocked somehow.

Did you try this step? OVH is often a bit slow to reply, but that may be helpful.

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 10:04pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/15 "2023-03-02T22:04:46Z")

</div>

Yes @Canapin for sure. This is their feedback:  
Thank you for contacting OVHcloud support.

I have just checked the proper functioning of your service and I confirm that at our level no incident has been observed on our infrastructures.

Help with software configuration is not part of the scope of support, I invite you to contact our community in order to find the necessary help.

---

<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: [March 2, 2023, 10:08pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/16 "2023-03-02T22:08:13Z")

</div>

I might leave this topic to more experienced users (I’m just a random passerby 😄), but by chance do you have any other web software running on your VPS? 🤷

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 10:15pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/17 "2023-03-02T22:15:55Z")

</div>

I have lauched no other software on my VPS. I get a VPS especialy to set up my Discource. But I don’t know if OVH launch something on the VPS. How can I know ?

---

<div class="post-metadata">

### Author: ![xiaokong23357](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiaokong23357/32/321957_2.png) [@xiaokong23357](https://meta.discourse.org/u/xiaokong23357)
#### Post date: [March 2, 2023, 11:00pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/18 "2023-03-02T23:00:49Z")

</div>

Could it be your misconfiguration?  
Discourse programs can use HTTPS  
Check the templates item “templates/web.ssl.template.yml” in app.yml for the introduction of template files; Next, you have to check the expose entry - “443:443” # https  
Whether the template is enabled

---

<div class="post-metadata">

### Author: ![xiaokong23357](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiaokong23357/32/321957_2.png) [@xiaokong23357](https://meta.discourse.org/u/xiaokong23357)
#### Post date: [March 2, 2023, 11:02pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/19 "2023-03-02T23:02:31Z")

</div>

The default SSL certificate directory for discourse is under /var/discourse/shared/standalone/ssl/

---

<div class="post-metadata">

### Author: ![Titi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/titi/32/333006_2.png) [@Titi](https://meta.discourse.org/u/Titi)
#### Post date: [March 2, 2023, 11:14pm UTC](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746/20 "2023-03-02T23:14:49Z")

</div>

@xiaokong23357 yes I check your points :

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/9/7/c97c97609c5c46b7a36149de3790510039549e6e.png)

[Next page](https://meta.discourse.org/t/issue-installing-discourse-on-ovh-vps-ubuntu-22-04/256746.md?page=2)
