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
- Having issues with login via CLI
``` ~/appwrite ξ° appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...