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

Fresh install, first update: "NetworkError"

Started by Muut Archive 10 years ago · 17 replies · 566 views
10 years ago

I have done a new install of the base + admin package and on the admin panel it tells me to update the packages. Doing so results in an error message that quickly fades away:

Screen Shot 2016-10-15 at 21

Everything seems to be fine after that, but of course I wonder what might be the reason for this message?

The files have the same owner as the webserver (apache2) is running as (www-data).

10 years ago

Could be, but since 1.1.6 just came out, I can't test it under the same circumstances anymore.

10 years ago

Just noticed that after upgrading to 1.1.6, the error happened again in Firefox when trying to upgrade the plugins.

Returned to a backup and tried again in Chrome, no error message.

10 years ago

Thanks for reporting, checking if I can replicate

10 years ago

I tried but I can't replicate with Firefox. I guess it's a GPM issue but I'm not 100% sure

10 years ago

I'm also having huge problems with GPM since upgrading to 1.1.6. I downloaded a skeleton that apparently still uses 1.1.5. When I tried using GPM to install the admin dash, it says I needed 1.1.6. Once I installed 1.1.6, GPM refuses to work anymore. If I run bin/gpm index -f I get the message No data was found in the GPM repository stored locally. If I try to run bin/gpm version I get the message [RuntimeException] Error while trying to download 'URL to GRAV.JSON' (didn't use url because it seems to delete my post when I add a url). I've cleared the cache with no luck.

When I try running bin/gpm install admin after upgrading to version 1.1.6 I get the message [RuntimeException] GPM not reachable. Please check your internet connection or check the Grav site is reachable. GPM seems to work fine in 1.1.5. If I use GPM in a 1.1.5 project it works up until I upgrade to 1.1.6. I suppose I'm going to manually install admin but wondering what else is going on with this.

10 years ago

We're going to push a fix for this very soon.. Problem is GitHub is down due to this massive internet DOS attack.

10 years ago

This is still an issue, is there an ETA on the fix?

10 years ago

Do I have to manually update from 1.1.5 to 1.1.8? Because bin/gpm selfupgrade still does not seem to work. - macOS Sierra running PHP 5.6.25

10 years ago

So I just tested the cli with a fresh and clean 1.1.8 installation. It does not work. Am I missing something?

10 years ago

Alright found the issue: I have to set gpm: verify_peer: false to get a fresh grav installation working on macOS Sierra. But my current projects are still on 1.1.5. Guess I have to update them manually…

10 years ago

The problem seems PHP to be using an old version of SSL, so Grav cannot communicate to the GPM server.

10 years ago

So I guess you need to manually update it (overwriting the bin and system folders should do the job)

10 years ago

Thank you! I updated already after writing this post and it works for me now. But still have to set verify_peer: falsethough…

10 years ago

The problem with verify_peer is an invalid / missing SSL certificate on your end. So by turning it off, you're bypassing this check.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2954 9 years ago
Archive · by Muut Archive, 9 years ago
3 1120 9 years ago