My 1.0.4-GRAV-installation says after uploading it on to the server:
/bin/composer.phar is not executable
/bin/gpm is not executable
/bin/grav is not executable
/bin/plugin is not executable
what should I do?
My 1.0.4-GRAV-installation says after uploading it on to the server:
/bin/composer.phar is not executable
/bin/gpm is not executable
/bin/grav is not executable
/bin/plugin is not executable
what should I do?
Two options:
Option #1 - Recommended
The problems plugins is telling you things are not as they should be. In order to use these commands from the CLI they should be executable. If you upload from windows for example (that has no concept of executable), you might of lost these permissions. To fix simply type this from your Grav root:
> chmod +x bin/*
This will add executable (x
) option to each file. You can compare before and after with:
> ls -la bin
And look at the rwxrwxr-x
stuff. If you see x
s for each group of three you are good to go. Here’s mine on a raspberry pi installation:
pi@raspberrypi ~/www/grav $ ls -la bin
total 1140
drwxrwxr-x 2 pi pi 4096 Nov 13 13:49 .
drwxrwxr-x 11 pi pi 4096 Nov 13 13:49 ..
-rwxrwxr-x 1 pi pi 1147592 Oct 30 04:12 composer.phar
-rwxrwxr-x 1 pi pi 1691 Oct 30 04:12 gpm
-rwxrwxr-x 1 pi pi 1434 Oct 30 04:12 grav
Option #2 - Not recommended
This error is coming from the problems plugin. And if you don’t care about these problems that are being reported, you can simply remove the plugin (either by GPM, or by deleting the user/plugins/problems
folder.
sorry, but i don’t know what a CLI is and also don’t know how to use it.
thanks, I have worked my way through and now my site is up and running !
It is really advisable to be comfortable in the CLI if you want to work with Grav. We have a document on the learn site to help you get started.
It may seem scary at first, but it will make you a better web developer.
I am comfortable using the Command Line on my Mac.
I guess I am able to adapt quickly to using it for communicating with the server.