I can't edit my project - it just refreshes and doesn't save any changes
This typically happens when your project is running out of disk space. On Glitch, projects are limited to 200MB of disk space.
If you can access the Project Editor, you can free up disk space by:
Removing any unused or unnecessary files from your project.
Adding any database files to the .data folder to save space and keep them secure.
Adding other files that are taking up too much space to
.gitignore. Project files that take up alot of space are usually ones that your project rewrites often.
Once you have added larger files to
.gitignorerun the following commands in the project terminal:
git pruneand hit enter
git gcand hit enter.
refreshand hit enter
Here's more info about those commands and how they work:
git prune identifies orphaned git objects to be removed.
git gc is the parent command of
git prune with the "gc" standing for "garbage collection". Running this command will delete orphaned git objects and other unused project elements that are taking up your valuable disk space!
If your project has been suspended for using too much disk space or you can no longer access the editor, please send a message to email@example.com so we can help you out. Be sure to include the project name.