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

Some minor windows problem

Started by Muut Archive 11 years ago · 11 replies · 237 views
11 years ago

Basically most of the bin\grav and bin\gpm functions are working fine under windows. And I'm using some small batch scripts to call them. But using 'gpm install <package>', I just noticed that I can in fact install a plugin and also the installer seems to notice when a plugin has already been installed. But when I run a 'gpm index' all the plugins are shown as (not installed). Also the gpm upgrade does not work because it claims to find no upgradable plugins.

Another problem: After every selfupgrade the bin folder is missing.

Any idea why it does that?
Cheers
Nick

11 years ago

Hmm, must be some specific windows issues. How do you have it working under windows? Did you install the GitBash?

11 years ago

No, I extracted GRAV manually and use something like '%PATH_TO_PHP%\php.exe bin\gpm' to install plugins or update GRAV

11 years ago

does the update command look for a particular config file when it checks the installed plugins? or does it just go through the plugin folder content?

11 years ago

It uses the Grav API for reading the installed plugins so it's not file system based. Are you able to install manually the plugins and do they show up installed after you did? Is this an issue only with the batch script you are running?

11 years ago

Also you can use the option -y to answer yes to all questions automatically and -q to get a quiet response, that's what I would do if I were running a script. the y automatically knows the best route to take based on already existing plugins/symbolically linked plugins but you might want to try it manually first.

bin/gpm help install

11 years ago

Yes, grav works fine here even if 'gpm index' shows all plugins as 'not installed'. 'gpm install <plugin>' also works as expected. Odd, but then it's not really a problem, just a little windows flaw

11 years ago

PHP Version is currently 5.6.4 but the issue also existed in previous versions. I'll post issue and description to github for you.

11 years ago

I am having a similar problem on windows 8.1. I'm running php version 5.6.3. Tested both manually installing plugins and git bash, but the results were the same. The plugins and themes install without fail, but do not appear as installed when running the bin/gpm index command.

11 years ago

Thanks for confirming @neri, we'll be investigating this issue. Thanks!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1322 9 years ago
Archive · by Muut Archive, 9 years ago
2 917 9 years ago
Archive · by Muut Archive, 9 years ago
2 4048 9 years ago
Archive · by Muut Archive, 9 years ago
1 2922 9 years ago
Archive · by Muut Archive, 9 years ago
3 1106 9 years ago