Admin
[Error] Message: Utopia\Database\Document::__construct(): Argument #1 ($input) must be of type array, string given, called in /usr/src/code/app/controllers/api/teams.php on line 228
This isn't good...it's like the migrate didn't run 🧐
Votes
0
Replies
24
Participants
Unknown
Messages
25
Admin
[Error] Message: Utopia\Database\Document::__construct(): Argument #1 ($input) must be of type array, string given, called in /usr/src/code/app/controllers/api/teams.php on line 228
This isn't good...it's like the migrate didn't run 🧐
Rank 1: Thread
thats odd, I did do it. Should I try it again?
Admin
what's the parent folder above this?
Admin
can you try the Console in an incognito window?
Rank 1: Thread
/root/appwrite
Admin
you don't have /root/appwrite/appwrite do you?
Rank 1: Thread
no no
Rank 1: Thread
just 1 appwrite
Rank 1: Thread
Tried that, same thing. I did notice something. When executing the doctor command docker exec appwrite doctor I see at the bottom it says A new version (1.3.3) is available!
Admin
what's docker ps show?
Rank 1: Thread
Admin
what's docker inspect appwrite | grep _APP_VERSION show?
Rank 1: Thread
_APP_VERSION=1
Admin
that's weird...
Admin
ok i found hte problem with the _APP_VERSION
Admin
how did you restore back to 1.2.1?
Rank 1: Thread
Its a VM, so i have an image of the entire disk at 1.2.1
Rank 1: Thread
I do that before upgrades
Rank 1: Thread
Easier to restore the entire vm or roll it back with snapshots
Admin
ya that should work...
Admin
I won't be able to today, but I'll try to reproduce the problem tomorrow
Admin
so i tried to reproduce this by spinning up a 1.2.1, creating a collection, upgrading to 1.3.1, migrating, and deleting the collection and it all seemed to work fine for me
Admin
Rank 1: Thread
Oddly enough, it is for me too now. Thank you.
Admin
[SOLVED] Unable to delete Databases/Collections from GUI