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
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...