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
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...