Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Problems

Started by Muut Archive 11 years ago · 5 replies · 359 views
11 years ago

My 1.0.4-GRAV-installation says after uploading it on to the server:

TXT
/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?

11 years ago

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:

TXT
> chmod +x bin/*

This will add executable (x) option to each file. You can compare before and after with:

TXT
> ls -la bin

And look at the rwxrwxr-x stuff. If you see xs for each group of three you are good to go. Here's mine on a raspberry pi installation:

TXT
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.

11 years ago

sorry, but i don't know what a CLI is and also don't know how to use it.

11 years ago

thanks, I have worked my way through and now my site is up and running !

11 years ago

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.

11 years ago

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.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1351 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4063 9 years ago
Archive · by Muut Archive, 9 years ago
1 2949 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago