Glitch full disk error

hello in my discord project I’ve been getting the disk filled error, even though it was again please correct it my project name : azzureta4

Hey @ediciust, welcome to the forum! I’m going to take a look at the project.

1 Like

Are you able to open the console and run ‘git prune; git gc’ (without the quotes)?

1 Like

I took this error as the day goes by the space itself did not understand went

error: couldn’t write .git/logs/HEAD: No space left on device
error: couldn’t write .git/logs/refs/heads/master: No space left on device
error: failed to run reflog

I’ve freed up some space in your project for you. Though this will only temporarily stop the project from becoming full again. This is because you have frequently changing data files in your project, like the .json files, that will quickly fill up the git folder in your project. We recommend you put such files in a directory called .data , which is automatically .gitignored and thus they don’t get committed and fill up your project space. Or, if you need them in those locations, you can add them manually to a .gitignore file to do this yourself.

1 Like

please help me, I also experienced the same thing.

Hi @ArataNagis, welcome to the Glitch forum!

Can you provide your project name so that we can take a look?


The project name is kuuhaku

Pada tanggal Min, 10 Mar 2019 9:57 PM cori schlegel via Glitch Support < menulis:

Hey @ArataNagis it looks like your project is changing some files regularly and those changes are taking up a bunch of space in your project’s git repository. To resolve this:

  1. add whatever files are being changed regularly to a gitignore file
    1. Database or sqlite files are pretty common culprits here, or you can use your project’s console and run git log --stat and scroll through the results, looking for files that show up numerous times; pressing q will allow you to exit the git log process. You can also use git log --name-only --format="" | cat | sort | uniq -c | sort -nbr to get a sorted list of which files have been committed the most times in your project’s history, although that list may include files you’ve already gitignored
  2. open your project’s console
  3. type git prune and <enter>
  4. type git gc and <enter>
  5. type refresh and <enter>

After you’ve done that you’ll have cleaned up any excess space in your project’s repo and hopefully it won’t just fill back up again. I’ve expanded your project’s disk space for 24 hours to allow you time to resolve this.