sudo apt-get install wget -y
Stop Sentinel service
systemctl stop sentinel.service
Remove old data in directory ~/.sentinelhub/data/
rm -rf ~/.sentinelhub/data/; \
mkdir -p ~/.sentinelhub/data/; \
cd ~/.sentinelhub/data/
Download snapshot
SNAP_NAME=$(curl -s https://snapshots.c29r3.xyz/sentinel/ | egrep -o ">sentinelhub-2.*tar" | tr -d ">"); \
wget -O - https://snapshots.c29r3.xyz/sentinel/${SNAP_NAME} | tar xf -
Start service and check logs
systemctl start sentinel.service; \
journalctl -u sentinel.service -f --no-hostname