Discord Bot Disk Full

Hello, I have Discord Bot and hosting on glitch but I have a problem. My bot’s disk is full so what can I do? Can Help Me?
Project Name: windpanel

Thanks

Hello there,

Open the app ‘Console’ in advance options and follow these steps:

  • Check disk space using df
  • Execute git gc and git prune, this will help cleanup files and remove unreachable objects.
  • If you’re not worried about git history, remove the .git folder using rm -rf .git
  • Remove unused dependencies from your package.json
  • Review your dependencies in the node_modules folder.
  • Recheck with df , the partition that is limited is the one under /app.
  • Additionally, add files that are being changed regularly to a gitignore file.

Helpful links:

Hope this helps and happy glitching!

1 Like