Have Moved m2 from development to production domain, (moved webfiles and database etc.)
On trying to run the normal bin/magento commands I get this error: bash: bin/magento: /usr/bin/env: bad interpreter: No such file or directory
This is logged into the domain space as the user.
If I login as root user I can run the commands successfully, however think this causes some permission issues with files that are generated...
Store can see sql database, everything is mostly running as expected, just a few issues
What have I missed ?
Solved! Go to Solution.
Solved
Webspace ssh access was set to bin/bash (chrooted)
should just have been set to bin/bash