cd / var / discourse
git pull
./launcher rebuild app
Obtuve un mensaje de advertencia como el siguiente:
Tienes menos de 5 GB de espacio libre en el disco donde se encuentra / var / lib / docker.
Sistema de archivos Tamaño Usado Disponible Uso% Montado en
/ dev / vda 1 25 G 20 G 4.4 G 82% /
(Y / N) y (y / N) y ¿Te gustaría intentar recuperar espacio limpiando imágenes y contenedores de Docker en el sistema?
¡ADVERTENCIA! Esto eliminará:
- todos los contenedores detenidos
- todas las redes no utilizadas por al menos un contenedor
- todas las imágenes huérfanas
- toda la memoria caché de compilación
¿Estás seguro de que deseas continuar? [Y / N] N
Si la limpieza fue exitosa, puedes intentarlo ahora
Basado en los siguientes temas:
Escribí el siguiente comando:
sudo ./launcher rebuild app --skip-prereqs
Tengo problemas para mantener el sitio fuera de línea.
¡Por favor, dime cómo manejarlo!
He realizado una copia de seguridad de mi sitio antes de ejecutar sudo ./launcher rebuild app --skip-prereqs.
With the commands above the site is now to stand up, Thank you very much.
How can I update the site after all?
I’m sorry for the novice question.
After launching, I typed the following command again, but this time the warning message was not displayed and started rebuilt, and the site did not open again.
cd / var / discourse
git pull
./launcher rebuild app
Currently the site is standing up with the following command again.
We can’t even begin to advise you on this without some information to go on. It may well be outside the scope of the support we provide here, but without some data it’s impossible to even say that definitively.
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 10681 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
150075aac134b18e5415078c15bcb72aa29e947e42310acc34e0b9b9e89ff95e
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
When I did “git pull”, it showed “Already up-to-date”. Is it relevant to this problem?