Hi @Damion Barrett ,
Thank you for reaching out. I'm sorry to hear you're experiencing issues with SSH/Kudu during startup. Due to access restrictions, we aren't able to run the createsuperuser command for you, but you can use the Azure App Service Console, which is more reliable than SSH, to set up your Django superuser for the production database.
Steps to Create a Superuser
- Open your App Service in the Azure portal and go to Development Tools > Console.
- Use cd
/home/site/wwwrootto navigate to your app directory. - Run
python manage.py migrateto update your database. - Then, run
python manage.py createsuperuserand enter the required details.
Afterward, log into your Django admin at using your new credentials. The Console is stable and remains available even after restarts.
Reference:
https://learn.microsoft.com/en-us/azure/app-service/resources-kudu
Kindly let us know if the above helps or you need further assistance on this issue.
Please "upvote" if the information helped you. This will help us and others in the community as well.