Ana_d
(Ana)
Julho 18, 2021, 6:34pm
1
Olá,
Estou tentando atualizar meu fórum Discourse através do console do droplet da DigitalOcean. Não me sinto confortável com Docker.
Tentei o seguinte:
This guide provides step-by-step instructions for manually updating Discourse, the Docker container, and the Ubuntu operating system on a self-hosted setup.
Required user level: System Administrator
SSH access to the server.
If you self-host Discourse, you occasionally need to run a manual update via the command line to get the latest security releases and newest libraries.
These updates are not picked up in admin/upgrade, which is why you’ll occa…
Mas obtive a seguinte mensagem de erro:
too many arguments
Depois disso, acessei o link no final da mensagem de erro:
I just ran:
cd /var/discourse
git pull
./launcher rebuild app
And am getting:
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
What do I do?
First things first … scroll up.
The error will usually contain multiple lines, the last line just points you here, previous lines point at the actual issue.
Second thing … can you run a trivial container… try.
docker run -it --rm hello-world
If this is not working…
E tentei executar o seguinte:
docker run -it --rm hello-world
Tentei fazer a limpeza, mas fiquei com medo de perder algo no meu trabalho.
Alguém poderia me ajudar?
Obrigado por ler minha mensagem.
Benjamin_D
(Benjamin Decotte)
Julho 18, 2021, 7:31pm
2
Oi,
Considerando que seu fórum está no ar (você ainda pode baixar um backup, só por segurança) e assumindo que seu servidor não está muito desatualizado e que isso já funcionou antes, pode ser apenas um problema transitório de rede. Você poderia tentar reconstruir novamente?
Falco
(Falco)
Julho 18, 2021, 8:09pm
3
Você pode executar ./launcher start app para iniciar sua instância novamente sem a atualização.
Em relação ao erro durante a atualização, parece ser um problema no serviço hub.docker.com . Tente novamente mais tarde; eles podem estar enfrentando alguns problemas técnicos.
Ana_d
(Ana)
Julho 19, 2021, 5:56pm
4
Funcionou!
Parece que, ao copiar/colar o comando:
cd /var/discourse
git pull
./launcher rebuild app
Havia muitos espaços, e foi por isso que obtive o erro “too many arguments” (muitos argumentos):
Então, apenas copiei e colei cada linha separadamente e funcionou perfeitamente. Obrigado a todos pelo tempo de vocês!