changeweb / Unifiedtransform

A school management Software
https://changeweb.github.io/Unifiedtransform/
GNU General Public License v3.0
2.83k stars 1.23k forks source link

Bash command not found #225

Open mustafamasvi opened 4 years ago

mustafamasvi commented 4 years ago

Trying to get into the Nginx container using sudo docker exec -it <container id> bash Error: Bash not found. Googled and /bin/sh seem to work, but then it could not find the composer

I tried getting into the digitalOcean.php container and there I could find composer and continued with the rest of the steps.

When I open the website it throws the following error No application encryption key has been specified.

changeweb commented 4 years ago

Before composer install try run php artisan key:generate

mustafamasvi commented 4 years ago

Inside the nginx container it says php not found. Just confirming, I should give the container id of webserver right?

fazee6 commented 4 years ago

I am in the same boat waiting for someone to post the solution. Thanks

artimob commented 4 years ago

I am in the same boat waiting for someone to post the solution. Thanks

make sure you use "sudo docker exec -it ./bin/sh". If its Windows, make sure you run console (CMD or PowerShell) session using Admin.

ozch commented 4 years ago

okay bash into digitalocean/php container instead of Nginx container @changeweb please update the README