Upgrade error when restarting pihole-FTL service (free disk space issue)

From ' Announcing a Beta test of Pi-hole 5.0!' and the template of a new topic.

apt-get update
apt-get dist-upgrade

echo "release/v5.0" | sudo tee /etc/pihole/ftlbranch
pihole checkout core release/v5.0
pihole checkout web release/v5.0

At the '...checkout core...' command the upgrade stops.