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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!