Jump to content

RudyValentino

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by RudyValentino

  1. On 6/6/2020 at 8:23 PM, Tucubanito07 said:

    Hey guys,

     

    Has anyone enabled the GeoBlocker app inside Nextcloud? I keep Getting this down below. I know it says to enable the exec() on php.ini but i don't know what command should i put in the php.ini and is the php.ini location is \mnt\user\appdata\nextcloud\php. I also read is not a good idea to enable exec(). Can someone please help me figure this out. I saw on my logs inside nextcloud some ip addresses of someone from Germany trying to get in the nextcloud instance. 

     

    Status of the chosen service:

    "Geoiplookup": ERROR: Service seem to be not installed on the host of the Nextcloud server or not reachable for the web server or is wrongly configured (is the database for IPv4 and IPv6 available?!). Maybe the use of the php function exec() is disabled in the php.ini.

    I know this was weeks ago and you've probably figured this out by now but...

     

    I'm trying to get Geoblocker working on my Nextcloud today and got this same error. I got rid of it by installing the Geoblocker required packages:

     

    sudo apt-get install geoip-bin geoip-database

     

    And to check if exec is allowed in PHP, open php.ini and search for 'disable_functions'. If exec isn't in that list, reasonably sure it's enabled.

     

    I can't say I've gotten Geoblocker working yet because I'm using Nginx as a reverse proxy to a Apache2 web server, and my external ip keeps showing up as a localhost lan ip. If I can get that corrected with the external ip I think I'm there. Something something 'HTTP_X_FORWARDED_FOR'.

     

    Good luck.

×
×
  • Create New...