Does it matter if I put unrelated items at the same level as the funtions directory? Even if there is no operation deploy
Maybe I should clean up the directory and wait for a while to see if the problem happens again
shouldn't be an issue
Was there any more to the error?
There is no more information, only these errors
Can you please share a screenshot?
Thanks for the full message
So the reason why this might be happening is the container gets removed (usually due to inactivity) but the removal fails so it's in this inconsistent state. Make sure to 👍 this related issue https://github.com/appwrite/appwrite/issues/3776
There are some things you can do to mitigate this and they all involve preventing the runtime container from being removed.
One option is to increase the inactivity threshold (there's an environment variable for it) to a value where the runtime container won't be removed.
Another option is to have your function execute regularly (but don't do anything) so that it doesn't get considered as inactive.
You can do both of these too
Thanks for the suggestion, I'll give it a try
btw, i didn't see any wrong on " */25 * * * * "
*/25 * * * *
Something seems to have broken with the cron syntax validation. See https://github.com/appwrite/appwrite/issues/5719
This is Schrödinger's cat, you set up the json file, deploy function, and then do not enter the setting page of this function, other pages can be viewed (such as logs), the timing will not be canceled, but as long as you enter the setting page, the timing will expire
even more Strange
so i set _APP_FUNCTIONS_INACTIVE_THRESHOLD=3610 , This will prevent it from being cleaned up, right?
Depends on how often it executed successfully
But the good news is that the video was shot at 10:19, although all the icons have disappeared But after 10:20, the methods were all executed! And the icons came back automatically
This is more like a display bug
Currently it is executed almost every few minutes during the day, with no execution for more than an hour in the early morning
Recommended threads
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...
- Setup custom domain on selfhosted behind...
Hello everyone, can anyone help me to setup a custom domain on a selfhosted appwrite instance thats running behind cloudflare tunnels? Current setup: Appwrite r...
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...