El antiguo droplet de Linux no soporta versiones más recientes

Tengo un servidor Linux muy, muy antiguo en Digital Ocean.

¿Cómo puedo solucionar esto?

Por cierto, ¡antes de intentar actualizar, sufrí la peor infestación de spam de la historia!

Primero probé el botón de actualización normal:

Tareas: TOP => assets:precompile:compress_js

(Ver rastreo completo ejecutando la tarea con --trace)

Docker Manager: FALLÓ LA ACTUALIZACIÓN

#<RuntimeError: RuntimeError>

/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:210:in `run’

/var/www/discourse/plugins/docker_manager/lib/docker_manager/upgrader.rb:111:in `upgrade’

/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:19:in `block in ’

/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `fork’

/var/www/discourse/plugins/docker_manager/scripts/docker_manager_upgrade.rb:6:in `’

Luego inicié sesión e intenté la forma antigua de reconstruir la aplicación.

root@forum:/var/discourse# ./launcher rebuild app
ERROR: Docker version 18.09.0 not supported, please upgrade to at least 20.10.0, or recommended 24.0.7
root@forum:/var/discourse# wget -qO- https://get.docker.com/ | sh
Executing docker install script, commit: 0d6f72e671ba87f7aa4c6991646a1a5b9f9dae84
Warning: the “docker” command appears to already exist on this system.

If you already have Docker installed, this script can cause trouble, which is
why we’re displaying this warning and provide the opportunity to cancel the
installation.

If you installed the current Docker package using this script and are using it
again to update Docker, you can safely ignore this message.

Y luego intenté instalar docker

root@forum:/var/discourse# wget -qO- https://get.docker.com/ | sh
Executing docker install script, commit: 0d6f72e671ba87f7aa4c6991646a1a5b9f9dae84
Warning: the “docker” command appears to already exist on this system.

If you already have Docker installed, this script can cause trouble, which is
why we’re displaying this warning and provide the opportunity to cancel the
installation.

If you installed the current Docker package using this script and are using it
again to update Docker, you can safely ignore this message.

You may press Ctrl+C now to abort this script.

  • sleep 20

DEPRECATION WARNING
This Linux distribution (ubuntu bionic) reached end-of-life and is no longer supported by this script.
No updates or security fixes will be released for this distribution, and users are recommended
to upgrade to a currently maintained version of ubuntu.

¡ChatGPT me guió en la actualización, incluido cómo recuperar espacio en disco!

1 me gusta

Tienes que actualizar a una versión compatible. La recomendación es actualizar Docker. Te recomiendo moverte a un nuevo droplet.

3 Me gusta

¡Pero esa es otra forma de hacerlo! ¡Bien hecho!

(Una cosa sobre tener una instancia muy antigua es que tu proveedor podría ofrecer tipos de instancia más nuevos y mejores al mismo precio. En mi caso, el doble de RAM, el doble de disco y el doble de CPU por el mismo precio).

3 Me gusta