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
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...