I'm working with functions on the new 1.4.2 update, I've connected to github and I noticed that just randomly all the environment variables in my function changed to false, and if I try to open the editor it doesn't open and I get an error in the console. A long with this, no more buttons work on the console and I have to refresh. Refreshing does not fix the environment variable editor though. I can't seem to change these anymore, my only thought to do now is to delete and recreate the function, which I'd prefer not to do.
I think your last error is because the vars are set to false. Did you tried recreating it all?
Yea it is, I was able to delete them and recreate. I guess more than anything I'm wonder why this happened and if it was something I had done.
did you upgrade to 1.4.2? how did you upgrade?
I upgraded following the docs but this function is brand new created in 1.4.2 using the new git integration.
It worked just fine for a few executions and then just broke due to the environment variables being cleared.
Nothing was changed between these executions
Seems to happen when I create a new function
i just tried it but im not getting an error after deploying a new function
wait i think i found the problem
please try adding the _APP_OPENSSL_KEY_V1 var to the appwrite-schedules container's environment list in your docker-compose.yml file
Added
and you deployed the change with docker compose up -d right? how is it now?
Yes, not noticing anything being overwritten as of yet
Functions running just fine
FYI, PR for this: https://github.com/appwrite/appwrite/pull/6199
Do we need to add this var with fresh installation too?
yes π
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- Error trying to deploy functions from CL...
β Error β’ on-auth-create (6a00b2ab000c9ce2949b) β’ Server Error β Error: No functions were pushed. Prject ID: 69ffe0270033a4ac420a
- Intermittent Deploy and Execution Errors...
Project: project-fra-658e2f5f4ba30df91177 Function ID: 69bde006001c56757f49 **Several execution errors with:** Timed out waiting for runtime.\nError Code: 400...