Clearing Appliance Logs (Appliance Disk Full)

Problem

The appliance is down, The reason is the disk is full on the appliance.

Reproduction/Solution

From the appliance, Run the df command to to initially check space on appliance disk looking for usage at or close to 100%

# This check the file system usage (-h just means use 1024 as the divisor for space i.e. 1K = 2024 bytes, 1Mb = 1024K etc.). df -h

Usage of 100% is blocking appliance stack starting

# Check if the stack can start sudo /opt/docker/start-appliance-stack.sh

The appliance stack cannot start.

To establish the largest directories to identify the are where all disk is consumed, run the following:

# This check the /opt directory. sudo du -a /opt/ 2>/dev/null | sort -n -r | head -n 20

This main cause seems to be at a root level so identify the main targets of use

remember to check other locations as well

Clearing the Syslog will resolve the issue.