Deployment Error After Migrating from 1.6.0 to 1.6.2: Utopia\Database\Helpers\Role::team() Argument
- 0
- Self Hosted
- Functions
Hi Everyone,
After recently migrating my self-hosted Appwrite instance from version 1.6.0 to 1.6.2, I’m encountering an issue while deploying a function. The deployment logs present the following error:
Utopia\Database\Helpers\Role::team(): Argument #1 ($identifier) must be of type string, null given, called in /usr/src/code/src/Appwrite/Messaging/Adapter/Realtime.php on line 330
Environment Details: • Self-hosted Appwrite Version: 1.6.2 • Appwrite CLI Version: 6.2.3
Steps Taken: • Verified that all environment variables are correctly set. • Ensured that the function’s permissions and roles are appropriately configured.
Despite these checks, the error persists during deployment. It seems that a null value is being passed where a string is expected, possibly related to team roles in the Realtime adapter.
Could you please provide guidance on how to resolve this issue? Any insights into what might be causing this error would be greatly appreciated.
Thank you for your support!
Did you run migrations after the upgrade?
Yes
Recommended threads
- 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...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?