Back

[SOLVED] Error in fuctions after migrating to v1.4

  • 0
  • Self Hosted
  • Functions
corax
2 Sep, 2023, 14:17

Migrated from 1.3.8 to 1.4.1 got issues with functions

when uploading already created function i get error ✗ Error Param "runtime" is not optional.

and if function is not uploaded or creating new function

It only says Server Error

response: [Object: null prototype] { message: 'Server Error', code: 500, type: 'general_unknown', version: '1.4.1' }

TL;DR
User migrated from version 1.3.8 to 1.4.1 and is encountering issues with functions. When uploading an already created function, they are getting an error "Param 'runtime' is not optional." When creating a new function or not uploading one, they are getting a "Server Error." They attempted to migrate back to 1.3.8 but encountered a 500 error when clicking on functions. They are seeking urgent help and have 200+ users waiting. No solution has been found yet. A suggestion was made to restore a backup, but the user did not take one. The user is using CLI
corax
2 Sep, 2023, 16:05

Urgent help needed here!

corax
2 Sep, 2023, 16:18

/v1/functions Unknown attribute "schedule"

David
2 Sep, 2023, 16:47

I am troubleshooting such similar issues in my self-hosted instances

corax
2 Sep, 2023, 16:50

Did you happen to find any solution, After upgrading from 1.3.8 to 1.4.1 I am getting these issues and then I tried to install 1.3.8 again but I get 500 when I click on functions on console.

Urgent help is needed. I am back on 1.4.1 and getting this error

corax
2 Sep, 2023, 16:51

Also I notice this in appwrite-worker-databases

No worker started message

corax
2 Sep, 2023, 17:07

@David Did you find any solution, I am really stuck with 200+ users waiting.

corax
2 Sep, 2023, 17:15

URGENT: Function issues

corax
2 Sep, 2023, 17:42
corax
2 Sep, 2023, 17:44
corax
2 Sep, 2023, 19:12

While migrating back to 1.3.8

David
2 Sep, 2023, 20:14

No, I haven't foundation solution yet

Drake
2 Sep, 2023, 20:16

Migrate back? You would need to restore a backup

corax
2 Sep, 2023, 20:18

I no longer need that I have migrated totally to 1.4.1, but the functions are not working

Drake
2 Sep, 2023, 20:20

It might be best to restore.

Otherwise, we're working on a patch release but it might be a couple days

corax
2 Sep, 2023, 20:22

I have also used your PR to add the 'schedule' back but it gives more other error and updating the function gives the 'runtime' parameter error. I can not restore I have not taken backup

Drake
2 Sep, 2023, 20:24

Always take a backup if you care about your data

Drake
2 Sep, 2023, 20:25

What error are you facing now?

corax
2 Sep, 2023, 20:25

✗ Error Param "runtime" is not optional.

Drake
2 Sep, 2023, 20:26

You're using the CLI?

corax
2 Sep, 2023, 20:26

Yes

Drake
2 Sep, 2023, 20:27

Version 2.0.2?

corax
2 Sep, 2023, 20:27

1.2.1

corax
2 Sep, 2023, 20:36

Same with using 2.0.2

corax
2 Sep, 2023, 20:38

Anyways is there any quick fix for schedule thing?

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