Hi there, so whenever I want to delete or edit something from my file, it says Reconnecting and no changes happen
Please help
Hi there, so whenever I want to delete or edit something from my file, it says Reconnecting and no changes happen
Please help
Hi @HeemPlayz, and sorry for the bother!
What does the app status for the project say? Click the App Status button at the bottom right in the Glitch editor to see. Are there any warnings there? Sometimes you’ll see this happen on projects that are low on disk space.
If your project is low on disk space, you can try this:
git prune
and hit entergit gc
and hit enterIf that doesn’t help, then something outside of your .git
folder is taking up space, so you can try typing rm -rf .cache
and pressingenter (in the terminal).
If that still doesn’t help, let us know what the project name is and we can investigate further!
Yes, The App Status is on Warn
and Yes, low disk space, how do I reduce it?
Thanks, everything is working fine now
And how do I reduce the disk space?
Okay, that helps narrow down the problem! Did you try the terminal commands I mentioned?
Yes, I did.
Now when I edit, everything is right, but the disk space is running on 95%, any ways to reduce it?
Sure, but it depends on what’s taking up space — I can have a look if you give me the project name!
Sure, It’s private by the way, it’s called z-botg
I’ll send an invitation link to you
Ah, okay — send it to [email protected] and we’ll have a look!
No problem, Ok, I’ll send
Done, please check it
Yup, someone on the team will have a look and get back to you!
So, what did you do?
I reloaded the page and saw that it is suspended, and then I reloaded again, and now App Status Ok
And I know that there a lot of unnecessary codes and lines, but I think that in one day, I’ll need them
I’ve given your project additional disk space for 24 hours. This should give you the room needed to:
.gitignore
.data
Once you have done this, run the following commands in the project console:
git prune
and hit enter
git gc
and hit enter.
refresh
and hit enter
This should free up the space you need. If you have any questions, let us know!
Ok, Thanks
I don’t know how to use .gitignore
nor .data
, I’ll try to learn how, if you have a link to docs for these, I would love to provide them for me
and for console commands, when I ran git gc
it wouldn’t work, But I think now should work
It should! When I tried it, git gc
failed because you were out of disk space. Let us know if it fixes things for you when you try it again!
It happened again, whenever I edit something, I get Reconnecting
Most json files got deleted
Hello? @glitch_support
This problem happened again, I tried to run the commands, but nothing happens
Please help, I can’t edit anything
Hey @HeemPlayz, may I use my admin account to see what’s going on with your project?
Sorry for being not active
Yes you can, it keeps telling me reconnecting
I removed a lot of files
I want to upgrade but there isn’t PayPal option
If there is any solution because a lot of people are using my discord bot
I was able to get the project size down to 14MB by running git prune
and then git gc
. It’s possible that part of the issue is that you’ve misspelled the .gitignore
filename, so if the files listed in there are especially large, they won’t be ignored. Also be sure that if you’re keeping logs, these can grow very large, so it’s probably also a good idea to add their filenames into .gitignore
too. If you’re using some kind of database, it’s ideally something you would keep in the .data
folder.
Hope this helps — if not, I think you might need a Discord expert to have a look at what’s going on.
I realized that I didn’t answer the second part of your question — right now we’re only able to accept credit card payment, but I’ll pass along your feedback for a PayPal option!
Hi - My project “bellevuebites” is loading very slowly even though I payed money for the boosted version (very disappointing). My account is @sophietaschenbags. Could you help me fix this as I have regular traffic to the site?
thanks!
Thanks
I see that it’s now 1GB and I assume this is for only 24 hours which I don’t have a problem at all
so now it should run 14MB or less or a little bit more?
I don’t have a lot of experience dealing with files like .gitignore
or .data
If you have a youtube video or any link to explain these, I hope you drop them here.
.gitignore
isn’t specific to Glitch, it’s a key component of git, a version control system. It’s basically just a listing of files to not keep track of with some special syntax to handle wildcards and pattern matching in filenames. A quick search will tell you more than you could ever need to know about it, and there’s also some online services that will generate one based on your specific project structure.
.data
is specific to Glitch, it’s a special directory in the root of your project that allows for persistent storage. It doesn’t show up in the editor because it’s a hidden directory, but you can use the console to see what’s inside. The nice thing about this directory is that if someone remixes your project it will not be copied into the remix, so it’s a safe place to store an app specific database.