Server Maintenance
System Updates
- Log in to the server:
ssh root@URL - Install available updates:
apt-get update && apt-get upgrade -y - Check logs for `containerd.io:
- If present, all containers will restart after the update, causing downtime.
- If absent, containers are likely to remain running.
- Check logs for The following packages have been kept back:
- If present, these packages require manual installation due to new dependencies:
apt install PACKAGE_LIST
- Remove unused packages:
apt autoremove -y - Reboot if necessary:
- If a restart is required:
reboot - After rebooting, log back in:
ssh root@<URL>
- Verify container status:
docker ps
DeployParty Updates
- Log in to the server:
ssh root@URL - Navigate to DeployParty configuration:
cd /var/opt/deploy-party/ - View past update commands:
history | grep COMMAND - Run the update command:
sh update.sh URL_OF_DEPLOY_PARTY GITLAB_TOKEN - Check if DeployParty containers are running:
docker ps
Cleaning Up Disk Space
- Clean up unused Docker resources:
docker system prune
Monitoring System Health
- Memory usage:
free -m - Disk partitions and usage:
df -h - CPU usage:
top - Check active ports:
lsof -i -P -n | grep LISTEN