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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...