Ho letto del tuo supporto sperimentale per ARM.
Tuttavia, non sono sicuro di aver prestato attenzione a tutto ciò che bisogna considerare per ARM.
Alla fine, l’installazione si è interrotta. Il messaggio di errore mi sembra poco utile.
Cosa ne pensi?
# Install Discourse on a Cloud Server
> To install and self-host Discourse, follow the steps below. But if you'd rather skip the setup, maintenance, and server management, our official Discourse hosting takes care of everything for you.
>
> 👉 [Learn more about Discourse hosting](https://discourse.org/pricing)
> If you prefer to self-host but need help setting it up we have partners who can help.
> [Click here to explore self-hosting set-up options](https://discourse.org/partners).
**Set up Discourse in the cloud in under 30 minutes** with zero knowledge of Rails or Linux shell. One example
is [DigitalOcean][do], but these steps will work on any **Docker-compatible** cloud provider or local server. This
walkthrough will go through these in detail:
**[Before you start](#before-you-start)**
1. [Preparing your domain name](#1-preparing-your-domain-name)
2. [Setting up email](#2-setting-up-email)
**[Installation](#installation)**
This file has been truncated. show original
FALLITO
--------------------
Pups::ExecError: cd /var/www/discourse & git fetch --depth 1 origin tests-passed fallito con ritorno #<Process::Status: pid 141 exit 128>
Posizione del fallimento: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec fallito con i parametri {"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"]} bootstrap fallito con codice di uscita 128
** FALLITO IL BOOTSTRAP ** si prega di scorrere verso l'alto e cercare messaggi di errore precedenti, potrebbero essercene più di uno.
./discourse-doctor potrebbe aiutare a diagnosticare il problema.
Falco
(Falco)
27 Settembre 2022, 6:22pm
2
Forse un errore di rete? Hai riprovato? L’errore è coerente tra più tentativi?
Sì, succede più volte.
Grazie per questo suggerimento. Suppongo che le restrizioni predefinite del firewall siano la ragione di ciò. Ho trovato l’indizio chiave nel log…
fatal: unable to access ‘GitHub - discourse/discourse: A platform for community discussion. Free, open, simple. ’: Could not resolve host: github.com
Falco
(Falco)
27 Settembre 2022, 6:43pm
4
Sì, se l’installatore non riesce ad accedere a Internet, sarà un brutto momento.
Molto strano, soprattutto perché Discourse sembra essere stato scaricato con successo.
Questa deve essere una cosa speciale.
Falco
(Falco)
28 Settembre 2022, 5:12pm
6
Hai scaricato con successo l’“installer” di Discourse, ma scaricare Discourse è ciò che accadrebbe nel passaggio fallito.
Stai usando la strana distro di Oracle? A meno che non mi sbagli, ha alcuni problemi con il DNS all’interno del container che richiedono un passaggio aggiuntivo nella configurazione del servizio Docker.
Forse prova a eseguire una distro più comune compatibile con ARM come Debian?
Ampere Altra 80C, 6 GB Ram
Canonical Ubuntu 22.04, Image-Build:2022.08.10-0
In realtà, avrebbe dovuto funzionare. Ho persino disabilitato completamente il firewall Oracle Cloud e Ubuntu completamente come test. Tuttavia, senza successo.
Il progetto è morto nel frattempo.
Forse ci riproverò un’altra volta con il Raspberry Pi.