Nikeev / sesdashboard

Analytics and activity tracking dashboard for AWS Simple Email Service
https://sesdashboard.com/
MIT License
86 stars 27 forks source link

Unable to create a new user. #49

Closed PedroSilveiraMalaquias closed 1 year ago

PedroSilveiraMalaquias commented 1 year ago

I am trying to run the create user command ./bin/console app:create-user --admin in sesdashboard directory, and I am getting a "/usr/bin/env: ‘php’: No such file or directory" error. I installed the dashboard from the AWS Marketplace. Does anyone know how to fix it?

Nikeev commented 1 year ago

Hello!

AWS Marketplace app is running with Docker, so no local php installed. You should run commands with docker exec -it sesdashboard-php-fpm prefix. So in your case it will be:

docker exec -it sesdashboard-php-fpm ./bin/console app:create-user --admin

PedroSilveiraMalaquias commented 1 year ago

Thank you so much @Nikeev, it worked! I am closing this issue.