Can't run: bin/grav install


I was developing a new site locally using getgrav, and when I deployed the site to cpanel through ssh, I get this message “Please run : bin/grav install”. I tried to run this command with the user who owns the site files, I tired with root user but both seem to have no permissions to run “bin/grav install”.
Error: “bash: bin/grav: Permission denied”

Any help?

Did you try :
find ./bin -type f | xargs chmod 775

1 Like

I had the same. I deleted all files on the host, uploaded the grav+admin zip file to the host server, extracted that file and made sure grav is running. Then I uploaded the contents of the /user directory to the host server.

1 Like

Worked for me. Thanks