Deploy maxima
Sample maxima-dev.elc.hs-hannover.de
# go to source directory
cd /srv/hsh-maxima
# stop service goemaxima
systemctl stop goemaxima.service
# update to new version
git pull
git checkout <new branch>
# build
./hsh-custom-build.sh
# copy goemaxima.service file with new version
cp /srv/hsh-maxima/goemaxima.service /etc/systemd/system/goemaxima.service
# reload and start goemaxima
systemctl daemon-reload
systemctl start goemaxima
systemctl status goemaxima
Troubleshooting no space left
If building image ./hsh-custom-build.sh
aborts cause by no space left you can try to fix this by the following hints.
# check space of order /var
df -h
# Delete packages in cache
apt-get clean
# remove unused images
docker image prune
# list images
docker image ls
# remove images
docker image rm <IMAGE>
# remove build cache
docker builder prune