Hello, I would like the new logging system to better understand what happens in my appwrite functions. I have upgrade from iteratively from 1.3.4 to 1.3.8. Now, I am upgrading my appwrite server from 1.3.8 to 1.4.0 and it works quite well but when I go to the function page, I see the side menu and an error 500 instead of my function list. I don't know what to do. I did find any information about this kind of issue. According the console, I don't have the right: {fake@mail.com} (role: owner) missing scope (none). The response of the API call is "general_unauthorized_scope".
I tried to skip this issue by upgrading from 1.40 to 1.4.1, but during the upgrade a lot of yellow message highlighting missing or already existing attributes is prompted.
btw, you don't need to upgrade to every patch. it's always best to go from latest patch to latest patch. so for your example:
1.3.4 > 1.3.8 > 1.4.1
you typically only need to run migrations between minor versions so in your case:
1.3.8 > 1.4.1 would require migration. however, you should read the release notes on github to see if a migration is required between patch versions
also, the warning about attribute already exists should be okay if they were already created because of a previous migration.
im pretty sure these were fixed in 1.4.1 🧐
OK I give it a try.
So I finally updated appwrite to 1.4.1. It seems to work however, I am not able to create a new function through CLI with 'appwrite init function'. If I check logs in appwrite container, I see 'invalid document structure: unknown attribute: schedule'
BTW the 500 error is fixed in 1.4.1
That will be fixed in 1.4.2 😕 sorry
thank you , I will wait until then. Meanwhile, I will put aside features based on functions.
Recommended threads
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- Synchronous function execution timeout w...
I am calling server functions with xasync = true and I still get this error message. Synchronous function execution timed out. Use asynchronous execution inste...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?