Just had a boosted project suspended. I’ve emailed support to get it reinstated.
Have seen quite a few posts on the forum with this error - but does anyone know what the underlying problem is?
Just had a boosted project suspended. I’ve emailed support to get it reinstated.
Have seen quite a few posts on the forum with this error - but does anyone know what the underlying problem is?
Hey @derekahmedzai there are a wide variety of reasons this can happen, all related to some sort of failure while starting a project up. Sometimes it’s an error in the project, or with a dependency; often it’s because Glitch ran into some sort of issue while installing dependencies.
This impact boosted projects as well because there are a number of reasons a boosted project will restart, including a platform-managed twice-a-day restart.
Sorry for the bother; I’ll see if i can dig up your support ticket.
cori
Thanks, the app is running again now
Hi is it possible that the app is running twice?
It’s set up to post to Bluesky but is double posting at the minute.
I edited the app to disable posting, but it continued to post.
Projects cannot run twice, no. There are some under the hood complexities for static content projects, but your project isn’t one of those.
Remember that you can see log output for your project (e.g. console.log
/console.error
as well as direct stdout/strerr output) by opening the “Logs” tab, at the bottom of the editor. That should allow you to debug what your project is doing.
Now when you disabled posting did it double post or just post once?
@MilesWK it still posted once
@Pomax @cori the app is suspended again. would be great if it could be restored. thanks.
even though it says it is suspended, and not boosted at the moment, it is still posting
Could be that you have the code running elsewhere. Do you have another project with the same code?
For example, I have a discord bot, and if I set it to run the program on autostart and on crontab, it will post twice because two of the programs are running at the same time (does that make any sense whatsoever?)
No, this is the only version of this one (unless there is a rogue one that I can’t see in my dashboard)
Archived maybe?
will have a look. but an archived project shouldn’t be running
This might be something weirder than expected, I’ll see if we can take a look at why it’s auto-resuspending.
After investigating, it turns out your project is over a hundred megabytes over your allowed 200MB, so the system will try to restore your project, sees that you’re a hundred+ mb over, and goes “yeah, no” and automatically resuspends it.
So if you want to resolve that, please contact [email protected] so we can discuss options there, and then refer to this thread as part of your problem description
Thanks for checking. It’s a tiny app so not sure why it should be out of disk space. I’ll contact support.
Even a tiny project can have lots of MagaBytes. I have made multiple “tiny” apps and its had 200MB+ It could be due to files be copied multiple times that was already made and it is taking up your 200MB
but why would a tiny app get copied multiple times
idk the server could have smth in it making that happen.
truly the most fearsome thing is the unknown; I must inquire about this. for I have many such tiny apps, and this smth would be a dire threat to them
That’s what the support ticket will be necessary for: there are hints that it might be git related, but in order to dig further it needs to become a “real” issue in the tracker so someone can be properly assigned to do that digging.
Hi I sent an email to support about this 24 hours ago but haven’t heard anything back
Meanwhile the app is still suspended, still says “Oops this project isn’t running”, but is still posting to bluesky
You have several bluesky-related projects. Some are boosted, and those are working fine, and some are not, of which only a single one (which is a static site, so it can’t “do” anything, it’s just a bunch of static files on the CDN) is suspended because it’s over the storage limit.
If you’re still seeing things getting posted, have a look at all your other bluesky projects, because that’s probably just one of them doing exactly what you told them to do. And I’d start with the two boosted projects.
As for support: weekends and holidays typically mean there are far fewer folks around to run through the queue, so this weekend in particular might take longer (given that it’s Easter weekend).
Understand about support times.
I unboosted my other bots temporarily and they now have the same problem (suspended and I can’t edit them).
Can someone please restore them when possible?
I’ve unsuspended them, but if they get auto-resuspended then we won’t be able to dig into “why” until next week.
Thanks, much appreciated
Any help on these would be appreciated. The one you refer to as static should actually be a node app, which was happily working until last week. Has Glitch deleted some files or corrupted some settings on these apps?
I have been very intentionally not using project names because you also haven’t, and only you can tell folks what you need help with, so please actually talk about which specific projects you need folks to look at, and if that’s private information, go through support, not the forum.
Hi, I’ve emailed support a few times over the past week without much joy. Here are the apps I’m having trouble with:
bluesky-radio1
- was suspended and now working, but don’t want to edit as I’m sure it’ll get suspended again
bluesky-6music
- suspended, not running, showing as static site
bluesky-radio3
- suspended, not running, showing as static site
2 projects are now showing as “static site”. They aren’t static sites, they are supposed to be server-side nodejs apps. Are they corrupted and will I have lost any settings or code?
This all happened when I unboosted and tried to reboost them. Now they are suspended and I can’t get in to troubleshoot or edit them.
Thanks in advance for any help!
Digging into those three projects:
bluesky-radio1
is 36MB and I see no reason for it getting suspended. Of all your bluesky projects, this one has been running fine the entire time I’ve been looking at it as part of this thread.
bluesky-6music
is 386MB, 367MB of which is your .git
dir, so what may be happening here is you’ve dropped data in (manually or automatically generated/uploads?), the version control system takes a snapshot which now includes that data, you delete it again (manually or automated), but then that data is still in your version history. Then you add new data, the version control system takes a snapshot, you delete it, but it’s still in the version history. Repeat until you’ve run out of space… So one thing that’s super important to do, if you’re running a server on Glitch, is to add any transient data directories/filename patterns to a .gitignore
file, so you don’t run into this.
bluesky-radio3
looks like it’s the same story: it’s 314MB, 314MB of which is your .git
dir (the “real” content is a rounding error in that figure, coming in at a few hundred kb).
So in terms of solutions, I can unsuspend those two projects and then you can first mark them as boosted, which raises their storage limit from 200MB to 400MB, which is more than either of those projects currently take up. After that, you should be able to follow along with GlitchHelpCenter (and perhaps https://help.glitch.com/s/article/Project-Changes-Aren-t-Savin) to issue the git
commands that will let you clean up your git history. Just remember to also create a .gitignore
file if you don’t have one yet and add any dirname/filename that you know are just temp things that should never get version controlled.
Shoot me a DM if that sounds good, and I can let you know when I’ve unsuspended them so you can go boost and edit them.
Thanks that would be great.
bluesky-radio1
was also at ~300mb but I already cleared out the git directory which is why it’s smaller. Have added the data file I rewrite to gitignore so hopefully that won;t increase in the future.