#Functions not deploying - status "processing"

11 messages · Page 1 of 1 (latest)

twilit mantle
#

I am trying to deploy a new function on Cloud

The function is not deploying and the status is stuck at "processing"

Project ID: 65dcad981d0f86cc7f7f
Function ID: 661ea5249fee0afb2ee3

burnt vigil
twilit mantle
#

Hi @burnt vigil , thanks for your reply, but you haven't given very much information about my problem or how to resolve it. More info would be useful.

I have looked again and the functions are still in "processing". I have tried a redeployment just now, but that is also stuck in "processing".

Can you give more information about the errors you mentioned, and let me know if you have any suggestions on how to unblock this?

For info, I tried to deploy a function with my required functionality at first, but when this didn't work I reverted to the boilerplate one created after doing appwrite init function, so there shouldn't be anything unusual happening in the function code causing any errors.

#

This is the config in appwrite.json for the function:

        {
            "$id": "661ea5249fee0afb2ee3",
            "name": "get-grade-options",
            "runtime": "node-16.0",
            "execute": ["any"],
            "events": [],
            "schedule": "",
            "timeout": 15,
            "enabled": true,
            "logging": true,
            "entrypoint": "src/main.js",
            "commands": "npm install",
            "ignore": ["node_modules", ".npm"],
            "path": "functions/get-grade-options"
        }
gilded mountain
#

I don't know if it had anything to do with me not returning anything from the function, once I did it started working fine again

gilded mountain
#

Dart runtime, by the way

#

Actually looks like it was maintenance, based on the other support posts

twilit mantle
#

Thanks @gilded mountain - yeah I don't think my issue was related to the function contents. I'm using the boilerplate code from initialising the function, which returns a "Hello world" response.

I can't get on my cloud console right now so can't verify if the functions are still in "pending"

tame vortex