Back

Function build fails

  • 0
  • Functions
  • Cloud
Chandan Gowda
16 Jan, 2024, 06:26

Same function with no change in code is failing build since a few days

TL;DR
Support thread summary: The developer is experiencing issues with the function build. They tried various solutions and even checked related issues on GitHub but haven't found a resolution. Another developer suggests following the official guide for self-hosting functions. Possible solution: Follow the official guide for self-hosting functions (link provided).
Chandan Gowda
16 Jan, 2024, 06:27

LOGS

Disk_MTH
16 Jan, 2024, 10:01
Disk_MTH
16 Jan, 2024, 10:01

and when you commit, if you have enable the auto-deploy feature with the webhook callback, 2 new lines are added

ideclon
16 Jan, 2024, 11:22

OP is not using Github deployment - they're deploying manually.

ideclon
16 Jan, 2024, 11:23

And you're on Cloud, not Self-hosted, right?

Disk_MTH
16 Jan, 2024, 11:23

Oh my bad, I've not see the "manual" logo

ideclon
16 Jan, 2024, 11:42

Are you targeting a specific pandas or numpy version?

Chandan Gowda
16 Jan, 2024, 12:57

No

Chandan Gowda
16 Jan, 2024, 12:57

I've just added pandas to the requirements.py file

Chandan Gowda
16 Jan, 2024, 12:57

Cloud, yes

ideclon
16 Jan, 2024, 13:16

Huh. So it seems this is a known issue for Alpine containers. However, I don't seem to be able to reproduce it myself - I've added pandas to the requirements.txt of a blank new Python Function (in Cloud), and it seems to be working?

ideclon
16 Jan, 2024, 13:17

I assume you've tried redeploying already (not just hitting the rebuild button in the Console)?

Chandan Gowda
16 Jan, 2024, 13:17

Yes. Tried that too

ideclon
16 Jan, 2024, 13:17

And have you tried deploying as a new Function?

Chandan Gowda
16 Jan, 2024, 13:18

For that I’ll have to make changes to my app to modify the function id etc. that is not an option for me now.

ideclon
16 Jan, 2024, 13:19

Understood

ideclon
16 Jan, 2024, 13:20
ideclon
16 Jan, 2024, 13:21
ideclon
16 Jan, 2024, 13:23

There don't seem to any recent updates to the image

ideclon
16 Jan, 2024, 13:23

At this point, I don't think there's anything else I can suggests - we'll have to wait for someone in Core

Chandan Gowda
16 Jan, 2024, 13:42

Oh okayy. Thanks

Zionnite
16 Jan, 2024, 18:02

have you be able to resolved the issues?

Chandan Gowda
17 Jan, 2024, 07:46

Noo

D5
17 Jan, 2024, 12:00

What's the function code? And what's your appwrite SDK version?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more