# Instalação e compatibilidade com VPS apenas IPv6

**URL:** <https://meta.discourse.org/t/installation-and-compatibility-with-ipv6-only-vps/254064>\
**Category:** Self-hosting\
**Created:** [Fevereiro 4, 2023, 5:42pm UTC](https://meta.discourse.org/t/installation-and-compatibility-with-ipv6-only-vps/254064 "2023-02-04T17:42:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mstm](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@mstm](https://meta.discourse.org/u/mstm)\
**Post date:** [Fevereiro 4, 2023, 5:42pm UTC](https://meta.discourse.org/t/installation-and-compatibility-with-ipv6-only-vps/254064/1 "2023-02-04T17:42:25Z")

</div>

Olá a todos,

Estou tentando instalar o Discourse em um VPS (ubuntu server 22.04 LTS) apenas com IPv6, mas recebo este erro

```plaintext
103:M 04 Feb 2023 17:27:33.313 # Redis is now ready to exit, bye bye...

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse &amp;&amp; sudo -H -E -u discourse git fetch --depth 1 origin tests-passed failed with return #&lt;Process::Status: pid 145 exit 128&gt;
Location of failure: /usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["sudo -H -E -u discourse git reset --hard", "sudo -H -E -u discourse git clean -f", "sudo -H -E -u discourse git remote set-branches --add origin main", "sudo -H -E -u discourse git remote set-branches origin $version", "sudo -H -E -u discourse git fetch --depth 1 origin $version", "sudo -H -E -u discourse git checkout $version", "mkdir -p tmp", "chown discourse:www-data tmp", "mkdir -p tmp/pids", "mkdir -p tmp/sockets", "touch tmp/.gitkeep", "mkdir -p /shared/log/rails", "bash -c \"touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log\"", "bash -c \"ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log $home/log\"", "bash -c \"mkdir -p /shared/{uploads,backups}\"", "bash -c \"ln -s /shared/{uploads,backups} $home/public\"", "bash -c \"mkdir -p /shared/tmp/{backups,restores}\"", "bash -c \"ln -s /shared/tmp/{backups,restores} $home/tmp\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp\"", "[! -d public/plugins] || find public/plugins/ -maxdepth 1 -xtype l -delete"]}}
bootstrap failed with exit code 128
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
364d2e22530738ab198f829e14d7d8f4d7513ec7da82e30b774381aaa28f2f63

```

Seguindo estes guias, corrigi os problemas com o DNS IPv4, mas ainda não consigo completar o `./launcher rebuild app`  
[https://gist.github.com/unixfox/bb299ce4f862fad66ee2e6d9024bef98/](https://gist.github.com/unixfox/bb299ce4f862fad66ee2e6d9024bef98/)  
[https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/](https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/)

O Discourse não é compatível?  
Se sim, então não tentarei novamente.

---

_[View the full topic](https://meta.discourse.org/t/installation-and-compatibility-with-ipv6-only-vps/254064)._
