We cannot reset admin portal password, and see an unusual error message. What is the cause?
Hi Ramzi – is the app deployed? That’s the most common reason you wouldn’t be able to change an admin password. (We’ll update that error message so it’s more informative.)
IOS and Android shows failed
Same issue here on truthit-16504 and I see Success on status page.
Team is investigating. Stand by.
@ramzi This is a result of customizations you made to your app, which is why you get an uninformative error message.
In your app, looks like you are updating Firebase with user info on save. The error is because of the
display_name field on firebase. You are passing the
full_name of the user to that field, which is required and doesn’t accept empty string, whereas for your superuser, the
full_name field is empty. If you update the superuser name, then it will work fine.
thanks @saurav I asked my engineering team to fix it and then we will redeploy and try to generate again the admin panel password.
@saurav is that field available in Authentication ? I didn’t find it any where.
The display_name error has been fixed but unfortunately we are unable to reset the password.
- I still cannot reset password of the admin panel, it give same error and the client is blocked due to that as he needs to test the admin panel.
- status still shows android and ios failed. maybe can you help the engineer telling them how to check the error and where so they know what to fix.
- if android and ios has error, why i cannot reset admin panel password, as we need to login to admin panel.
@ramzi user can test it in the local as well. Basically, ask them to run this command,
python3 manage.py createsuperuserauto --username <username> --password <password> --email <email> . This one creat a superuser with the provided, username, password and email. Then reset password with this command
python3 manage.py customchangepassword --username <username> --password <password>. This one is for changing the password the provided username with password. Make sure these two don’t fail.
@saurav can we check the error in android and IOS build why deployment is failed ?
@mughal.amir You can see ios/android build failure log in the activity log on dashboard.
@mughal.amir can you try deploying again, we have recently updated to show build failure log on the dashboard. You should be able to figure out what’s goin on then.