Skip to Content
DocumentationKnown IssuesProd Server - Limited Space

Prod Server - Limited Space

In the production server, the root partition is limited in space and builds may fail to complete, if it does, follow the steps bellow to free some spaces temporarily.

  1. Login in the server’s WebMin panel (or via SSH)
  2. Using the staging user run:
pm2 flush
  1. In the releases folder, you may delete all releases other than the current, to check what is the current you may check where the current symlink is pointing, eg:
ls -la ... lrwxrwxrwx 1 staging staging 51 Jun 23 06:55 current -> /home/staging/cms5/releases/20260623-065153_b561004 ...

so 20260623-065153_b561004 is the current staging release.

If you still need space, you can do the above steps again but for the production user, you need to be really cautious to not delete the current release and also to keep at least one more older release so we can rollback in case of an issue.

Last updated on