The standard AppCheck hub requires 60GB of storage. The hub may work temporarily with less space, but this will lead to problems such as failed upgrades, and eventually failed scans or missed vulnerabilities.
If a hub has been provisioned with less that 60GB of storage the easiest solution is often simply to delete the VM and build a replacement with the correct allocation. However, if it is easier for you to update an existing hub you can do so using the below process:
- Increase the allocated storage in your hypervisor to 60GB (this can be dynamic). This is also a good time to ensure your VM meets the other recommended specifications - 4 cores and 16GB RAM.
- Log in to the hub's command line (use the credentials listed in the setup guide, available from https://appcheck-ng.com/get-help/documentation/).
- Switch to the root use:
sudo su -
- Run the following command
echo ', +' | sfdisk --force --no-reread -N1 /dev/sda ; pvresize /dev/sda1 && lvresize -l +100%FREE /dev/appcheck-vg/root && resize2fs /dev/appcheck-vg/root
- Reboot the VM (either through your hypervisor, or using the "reboot" command).
You can use "df" to confirm that no filesystem is 100% full now. If one of them still is, contact AppCheck at https://appcheck-ng.com/get-help/contact-support/.
After completing this process you may wish to leave the hub for an hour or so before running scans to give it time to install any pending updates that could not be installed before due to insufficient storage.
Comments
0 comments
Please sign in to leave a comment.