Cant connect to GPM

Been working with my VPS CENTOS 6.9 server support and after they tried everything we still cant connect to the GPM. They have asked to refer back here for support…im not a developer btw perse’.

We have gone through all the FAQs and trouble shooting like curl and fopen stuff and checked that is all ok.

Where do I look now…? thanks

is the php executable available via the cli?

I have had similar issues - at completly other contexts - with $path and the selinux settings (/etc/selinux/config)

So this is an edited response from my server support…i installed Grav on another VPS i have with them and it works seamlessly. No issues at all. Site names below have been altered to protect the innocent

Support response
I have checked the server 1 and ensured that SeLinux is disabled.

Further checking I noticed, was using PHP version 7. So I tried changing the PHP version of to PHP 7 via Home »Software »MultiPHP Manager, but it does not fix the issue.
So I have changed PHP version of site back to 5.6

I have ensured that the curl and openSSL version of both sites are same

I have also enabled PHP error logging for the site. But could not find any details regarding the connectivity error. Noticed only below warnings
[13-Jan-2018 01:12:24 UTC] PHP Warning: POST Content-Length of 10490300 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

I have increased the PHP memory and upload limits to avoid the above warning.

As this moment, please contact Grav support once more and ask them to enable debugging to find out what is causing connection error.

So thats where I am at…other than reinstalling I dont know what elsePreformatted text

just stumbled over a quite old thread where a similar problem is discussed an … well, sort of solved in the end :wink:

perhaps you can find any hints related to your problem

PHP 7 shouldn’t be the issue as I am running Nginx with PHP-FPM 7.0.

What is the error you are seeing and where are you seeing it?

I am guessing the tech tried upping memory_limit, upload_max_filesize and post_max_size, is that right?

This looks like post_max_size or upload_max_filesize, which I am guessing are the “upload limits” the tech mentioned.

[13-Jan-2018 01:12:24 UTC] PHP Warning: POST Content-Length of 10490300 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

Is the issue that you cannot connect to GPM in the Admin but you can connect to the ? GPM in the CLI? If so, are you running Grav 1.3.9 or 1.3.10? There was an issue in 1.3.9 that broke GPM’s connections which was fixed in 1.3.10.

If the install is running 1.3.9, update to 1.3.10. You can do so whole hog with the following links.

You should also be able to use the CLI with the following command.

bin/gpm selfupgrade

Or are you unable to connect to the GPM via CLI and Admin?

Did the tech report what, if anything, was being logged to the web service’s error log? Since you have cPanel, you should be able to check the following for anything being logged.


Ok…wow thanks so much, didnt know I’d be using an obsolete build considering where I got it from…right here.!!!

Fixed a bunch of stuff on multiple projects I had going…however one quirky thing that happened on a site using the x-corporation theme is all the sub pages display as before but the home page gives only part of the edits I made last week, like logo etc…the content has the default Grav content and not all…i dont know what you call them modulars stuff I guess…??..tried everything I could find to switch it back…the content is there…just doesnt load…

Never mind I figured it out somehow…really been a nightmare to get my old head around this platform and yaml stuff…back to joomla for me after this…

Great! I’m glad it is working now!

hi Krazza,

similar to my experience …
at first.
I have set up several wordPress sites and some few joomly sites long time ago.

After the first steps i would prefer grav to any other cms around - except you depend on architectures like drupal or liferay (java). I really like the concept of twig templates, the versioning possibilities due to the flat file system. Besides many other short ways to do things and without being a programmer but just s/o who needs to set up a maintainable Site from time to time.

sorry that it did not work for you
good luck

i am not related to grav in any other way than just using it