# VPS Installation Failures: Navigating Through Discourse Setup Hurdles

**URL:** https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620
**Category:** Self-hosting
**Created:** [March 1, 2024, 8:47pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620 "2024-03-01T20:47:13Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![groove6j](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/groove6j/32/367325_2.png) [@groove6j](https://meta.discourse.org/u/groove6j)
#### Post date: [March 1, 2024, 8:47pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/1 "2024-03-01T20:47:13Z")

</div>

Hello!  
I now have the same exact issue when installing on a fresh VPS. Tried Debian 12, AlmaLinux, no dice.

---

<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: [March 1, 2024, 8:50pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/2 "2024-03-01T20:50:34Z")

</div>

Use Ubuntu for VPS

---

<div class="post-metadata">

### Author: ![groove6j](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/groove6j/32/367325_2.png) [@groove6j](https://meta.discourse.org/u/groove6j)
#### Post date: [March 1, 2024, 9:32pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/3 "2024-03-01T21:32:23Z")

</div>

Okay, will try that! Thanks for the recommendation!

---

<div class="post-metadata">

### Author: ![groove6j](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/groove6j/32/367325_2.png) [@groove6j](https://meta.discourse.org/u/groove6j)
#### Post date: [March 1, 2024, 10:24pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/4 "2024-03-01T22:24:58Z")

</div>

Nope, three different systems and can’t install it. 🤦‍♂️ Also with Ubuntu

```plaintext
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 3311 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.

```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [March 1, 2024, 11:52pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/5 "2024-03-01T23:52:25Z")

</div>

> [@groove6j](#):
>
> ` **FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.`

Can you paste the whole rebuild log here?

---

<div class="post-metadata">

### Author: ![groove6j](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/groove6j/32/367325_2.png) [@groove6j](https://meta.discourse.org/u/groove6j)
#### Post date: [March 2, 2024, 5:03pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/6 "2024-03-02T17:03:28Z")

</div>

Yeah…  
I uploaded the whole log to pastebin here:

> <https://pastebin.com/VywePxbb>

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [March 2, 2024, 5:13pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/7 "2024-03-02T17:13:03Z")

</div>

> [@groove6j](#):
>
> I now have the same exact issue when installing on a fresh VPS.

It’s not the same exact issue as that topic was about ARM64 and you are running in a classic x64 CPU.

> URI::InvalidURIError: URI must be ascii only “[https://au](https://au)\u0123iks.lv/images/discourse-logo-sketch.png” (URI::InvalidURIError)

What did you enter for your forum URL? URLs can only be ASCII and it looks like you entered a Unicode character? Do you have a punycode domain?

---

<div class="post-metadata">

### Author: ![groove6j](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/groove6j/32/367325_2.png) [@groove6j](https://meta.discourse.org/u/groove6j)
#### Post date: [March 2, 2024, 5:28pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/8 "2024-03-02T17:28:42Z")

</div>

Yes, this was a Punnycode domain. I didn’t think about that, my mistake.  
Thanks for help, won’t bother again! 🤦‍♂️

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [March 2, 2024, 9:21pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/9 "2024-03-02T21:21:06Z")

</div>

Using the encoded punycode values should work out of the box. Let me know if that works for you.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 1, 2024, 9:21pm UTC](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620/10 "2024-04-01T21:21:18Z")

</div>

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