Update or reinstall the server
Update
New versions are published on GitHub. Without registration they don't install themselves: with Notify me of new versions (in Settings, under Version and updates), the console tells you at the top of the page when there is a newer one. With your free registration you can turn on automatic updates under Settings → Free registration: the node then installs each signed version by itself.
To update by hand, from your clone of the repository:
git pull
sudo rm -f despliegue/nodo/imagenes.env
sudo despliegue/nodo/imagenes-firmadas.sh || sudo despliegue/nodo/construir-imagenes-local.sh
sudo despliegue/nodo/instalar.sh /opt/sugardaddy <id> "<your company>" <address>
Reinstalling keeps your secrets and your data; it only swaps the images for those of the new version. The version only moves forward: the installer won't let you install an older one.
Reinstall or start from scratch
Running the installer again on an already-installed node updates it and
keeps its secrets and its data (/opt/sugardaddy/.env). Reinstalling the same
build, or a newer one, just works; the installer only stops you if you try to
put an older version over a newer one.
If you installed an earlier version of the edition and the installer complains that the node "already has a newer version", delete the node's version record once and install again (it doesn't touch your data):
sudo rm /opt/sugardaddy/versiones.env
If you want to start from scratch, uninstall the node (this deletes it and ALL its data, with no way back) and install again as in step 4:
sudo despliegue/nodo/desinstalar.sh