After my new production server installation, I discovered I couldn’t run migrations:

$ ./yii migrate/up
bash: ./yii: Permission denied

Adding execution permissions to ./yii resolved the problem:

$ chmod +x ./yii
deploy@apps:/var/www/mp$ ./yii migrate/up
Yii Migration Tool (based on Yii v2.0.8)

No new migrations found. Your system is up-to-date.

Found via this comment.

Support this site, share this page:Share on twitter

Twitter

Share on reddit

Reddit

Share on linkedin

Linkedin

Share on facebook

Facebook

Share on email

Email