Erro na instalação do Discourse, me ajudem?

Em ./discourse-setup após:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && git fetch --depth 1 origin tests-passed falhou com retorno #<Process::Status: pid 157 exit 128>
Localização da falha: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec falhou com os parâmetros {\"cd\"=>\"$home\", \"hook\"=>\"code\", \"cmd\"=>[\"git reset --hard\", \"git clean -f\", \"git remote set-branches --add origin main\", \"git remote set-branches origin $version\", \"git fetch --depth 1 origin $version\", \"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\", \"find public/plugins/ -maxdepth 1 -xtype l -delete\"]}\n9cd623510fd924e9a9828bd96b7ccb4d9fba65d020ef8395f6825de6b9d1409c
** FALHA AO INICIALIZAR ** por favor, role para cima e procure por mensagens de erro anteriores, pode haver mais de uma.
./discourse-doctor pode ajudar a diagnosticar o problema.
root@iZwz93dgnb87rnpy6iwo0fZ:/var/discourse# 

Você pode compartilhar mais do log de instalação, como dito na mensagem

I, [2022-03-20T06:38:43.528620 #1]  INFO -- : 
I, [2022-03-20T06:38:43.529217 #1]  INFO -- : \u003e cd /var/www/discourse \u0026\u0026 git remote set-branches --add origin main
I, [2022-03-20T06:38:43.533776 #1]  INFO -- : 
I, [2022-03-20T06:38:43.534068 #1]  INFO -- : \u003e cd /var/www/discourse \u0026\u0026 git remote set-branches origin tests-passed
I, [2022-03-20T06:38:43.537973 #1]  INFO -- : 
I, [2022-03-20T06:38:43.538267 #1]  INFO -- : \u003e cd /var/www/discourse \u0026\u0026 git fetch --depth 1 origin tests-passed
fatal: unable to access 'https://github.com/discourse/discourse.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
I, [2022-03-20T06:40:43.943962 #1]  INFO -- : 
I, [2022-03-20T06:40:43.944561 #1]  INFO -- : Terminating async processes
I, [2022-03-20T06:40:43.944788 #1]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 42
I, [2022-03-20T06:40:43.945030 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103
2022-03-20 06:40:43.945 UTC [42] LOG:  received fast shutdown request
103:signal-handler (1647758443) Received SIGTERM scheduling shutdown...
2022-03-20 06:40:43.949 UTC [42] LOG:  aborting any active transactions
2022-03-20 06:40:43.954 UTC [42] LOG:  background worker \"logical replication launcher\" (PID 51) exited with exit code 1
2022-03-20 06:40:43.954 UTC [46] LOG:  shutting down
2022-03-20 06:40:43.996 UTC [42] LOG:  database system is shut down
103:M 20 Mar 2022 06:40:44.026 # User requested shutdown...
103:M 20 Mar 2022 06:40:44.027 * Saving the final RDB snapshot before exiting.
103:M 20 Mar 2022 06:40:44.032 * DB saved on disk
103:M 20 Mar 2022 06:40:44.032 # Redis is now ready to exit, bye bye...


FAILED
--------------------
Pups::ExecError: cd /var/www/discourse \u0026\u0026 git fetch --depth 1 origin tests-passed failed with return #\u003cProcess::Status: pid 140 exit 128\u003e
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {\"cd\"=\u003e\"$home\", \"hook\"=\u003e\"code\", \"cmd\"=\u003e[\"git reset --hard\", \"git clean -f\", \"git remote set-branches --add origin main\", \"git remote set-branches origin $version\", \"git fetch --depth 1 origin $version\", \"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\", \"find public/plugins/ -maxdepth 1 -xtype l -delete\"]}\n430c1ce31b576b592aa0447e40f5f6636e7f30f3b38ae28904dade87bacba080
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.

Sua VM, ou pelo menos os contêineres Docker dentro dela, não conseguem acessar o GitHub..
Você precisa diagnosticar a rede para seu host ou Docker.

1 curtida

Obrigado, substituí o servidor dos EUA para resolver o problema.

1 curtida

E está funcionando agora?

1 curtida