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

Bin/gpm self-upgrade on Windows (MAMP)

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

I am trying to upgrade my Grav with bin/gpm self-upgrade but I get an error when it tries to download the zip-file from Github. I am running MAMP on Windows for my local installation.
I user php bin\gpm self-upgrade.

I get the following error message.

TXT
[RuntimeException]
  Error while trying to download 'https://github.com/getgrav/grav/releases/download/0.9.
  15/grav-update-v0.9.15.zip'

From what I can read from the Learn page, it should be possible to use bin/gpm on Windows.
Any suggestions?

11 years ago

That URL doesn't actually have a space in it correct? When i copy-paste it, i get a space between the first 0.9. and the 15.

The proper URL is: https://github.com/getgrav/grav/releases/download/0.9.15/grav-update-v0.9.15.zip

And this pasted into a browser, does indeed download the file correctly. If that URL is output properly on your side, then the problem is likely related to MAMP's CLI PHP not being able to reach the SSL based URL. I'll do a little research...

11 years ago

I think thats just a linebreak when I copy and pasted it. I'll check in the morning. Is there any dependencis for this? Other then what default i MAMP?

11 years ago

Also you need to make sure you have php_openssl extension enabled. I've seen this issue coming up before and it was because on windows openssl is not enabled by default.

11 years ago

php_openssl is enabled by default in MAMP from what I can see.

11 years ago

PHP Requirements are here in the docs, and it works fine for MAMP on mac out-of-the-box. As w00fz says, it might be a windows thing. MAMP for windows is still an alpha quality release, and might not be properly configured.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1321 9 years ago
Archive · by Muut Archive, 9 years ago
2 916 9 years ago
Archive · by Muut Archive, 9 years ago
2 4047 9 years ago
Archive · by Muut Archive, 9 years ago
1 2921 9 years ago
Archive · by Muut Archive, 9 years ago
3 1105 9 years ago