You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 Bug Report: "Utopia\\Migration\\Resources\\Auth\\User::__construct(): Argument #11 ($disabled) must be of type bool, null given, called in /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Firebase.php on line 217" ]
#7052
Closed
2 tasks done
cloudoftg0 opened this issue
Oct 31, 2023
· 4 comments
When I tried to migrate from firebase to appwrite cloud
There are step mentioned in migration process to upload json file to appwrite, but there is no way to upload json file service account, so i just pasted the json file text and I selected users and database to migrate then it failed and this is the error log
" "Utopia\Migration\Resources\Auth\User::__construct(): Argument #11 ($disabled) must be of type bool, null given, called in /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Firebase.php on line 217"
]"
Appwrite version
Version 1.4.7
👍 Expected behavior
It should migrated successfully but it failed
👎 Actual Behavior
It failed with this error
"Utopia\Migration\Resources\Auth\User::__construct(): Argument #11 ($disabled) must be of type bool, null given, called in /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Firebase.php on line 217"
]"
Hey There 👋, We have a PR for this issue here: utopia-php/migration#22 which will be merged soon, after that it should be rolled out in the next release of Appwrite
that PR solved the previous issue but now it is giving another error "Failed to transfer resource 'zyjCn2PQbYNg5VNfp85Bw47J17I2:user' with message 'Invalid passwordSalt param: Value must be a valid string and at least 1 chars and no longer than 128 chars'""
where "zyjCn2PQbYNg5VNfp85Bw47J17I2:user" is different for each user. Any workaround?
👟 Reproduction steps
When I tried to migrate from firebase to appwrite cloud
There are step mentioned in migration process to upload json file to appwrite, but there is no way to upload json file service account, so i just pasted the json file text and I selected users and database to migrate then it failed and this is the error log
" "Utopia\Migration\Resources\Auth\User::__construct(): Argument #11 ($disabled) must be of type bool, null given, called in /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Firebase.php on line 217"
]"
Appwrite version
Version 1.4.7
👍 Expected behavior
It should migrated successfully but it failed
👎 Actual Behavior
It failed with this error
"Utopia\Migration\Resources\Auth\User::__construct(): Argument #11 ($disabled) must be of type bool, null given, called in /usr/src/code/vendor/utopia-php/migration/src/Migration/Sources/Firebase.php on line 217"
]"
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Something else
🧱 Your Environment
Version 1.4.7
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: