Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 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
Assignees
Labels
bug Something isn't working product / migrations Fixes and upgrades for the Appwrite Migrations.

Comments

@cloudoftg0
Copy link

👟 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@cloudoftg0 cloudoftg0 added the bug Something isn't working label Oct 31, 2023
@Haimantika
Copy link
Contributor

Haimantika commented Oct 31, 2023

Thanks @cloudoftg0 for the bug report. Tagging @PineappleIOnic for help

@Haimantika Haimantika added the product / migrations Fixes and upgrades for the Appwrite Migrations. label Oct 31, 2023
@PineappleIOnic
Copy link
Member

PineappleIOnic commented Oct 31, 2023

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

@cloudoftg0
Copy link
Author

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?

@stnguyen90
Copy link
Contributor

@cloudoftg0 feel free to comment in #8376 about your new error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / migrations Fixes and upgrades for the Appwrite Migrations.
Projects
None yet
Development

No branches or pull requests

4 participants