Can't run: bin/grav install

#1

Hello,

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?

#2

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

https://learn.getgrav.org/troubleshooting/permissions#different-accounts-fix-permissions-manually

1 Like
#3

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
#4

Worked for me. Thanks