Error with installing/Settingup

Hello I have followed this guide for setting up this server on Centos 7 and apache. I am getting the following when I go to the ip in the webserver

Error: Missing dependencies! Run the following command to fix:

./scripts/composer_wrapper.php install --no-dev

when I try to run the script I get this

bash-4.2$ ./scripts/composer_wrapper.php install --no-dev

LibreNMS\ComposerHelper::preInstall
git checkout 609676a9f8d72da081c61f82967e1d16defc0c4e – /opt/librenms/vendor
fatal: Not a git repository (or any of the parent directories): .git
git reset HEAD /opt/librenms/vendor
fatal: Not a git repository (or any of the parent directories): .git
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 58 installs, 0 updates, 0 removals

  • Installing symfony/dotenv (v3.4.15): Downloading (failed)
    Downloading (failed)
    Downloading (failed) Failed to download symfony/dotenv from dist: The “https://api.github.com/repos/symfony/dotenv/zipball/fcc8c8c73899e65ec528aac439c49e7929cdb87b” file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
    error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
    Failed to enable crypto
    failed to open stream: operation failed
    Now trying to download from source
  • Installing symfony/dotenv (v3.4.15): Cloning fcc8c8c738

[RuntimeException]
Failed to clone https:// github. com/ symfony/ dotenv.git via https, ssh protocols, aborting.

  • https:// github. com /symfony /dotenv .git
    fatal: unable to access ‘https:// github. com/symfony/ dotenv. git/’: Peer’s certificate issuer has bee
    n marked as not trusted by the user.

  • git @ github.com:symfony/dotenv.git
    Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

install [–prefer-source] [–prefer-dist] [–dry-run] [–dev] [–no-dev] [–no-custom-installers] [–no-autoloader] [–no-scripts] [–no-progress] [–no-suggest] [-v|vv|vvv|–verbose] [-o|–optimize-autoloader] [-a|–classmap-authoritative] [–apcu-autoloader] [–ignore-platform-reqs] [–] []…

Can someone tell me how I can get this fixed pleased
Thanks in advanced

Looks like your sever can’t connect out. Check and make sure it has access.

I do have access out as I can ping github.com I am just getting the errors when trying to run the script that it says I need to run when I try to go to access the server via the web browser

In the error shows it cant establish a secure connection. Firewall or filter or proxy??

my firewall is allowing it to connect to github

here is the info showing the composer is installed
Composer version 1.7.3 2018-11-01 10:05:06

and this is from the .validate.php

fatal: Not a git repository (or any of the parent directories): .git
PHP Notice: Undefined offset: 1 in /opt/librenms/includes/common.php on line 1156
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
PHP Fatal error: Uncaught Error: Class ‘LibreNMS\DB\Eloquent’ not found in /opt/librenms/includes/dbFacile.php:27
Stack trace:
#0 /opt/librenms/includes/common.php(1162): dbIsConnected()
#1 /opt/librenms/validate.php(68): version_info()
#2 [internal function]: {closure}()
#3 {main}
thrown in /opt/librenms/includes/dbFacile.php on line 27
[FAIL] Composer has not been run, dependencies are missing [FIX] ./scripts/composer_wrapper.php install --no-dev

Notice: Undefined offset: 1 in /opt/librenms/includes/common.php on line 1156

Fatal error: Uncaught Error: Class ‘LibreNMS\DB\Eloquent’ not found in /opt/librenms/includes/dbFacile.php:27
Stack trace:
#0 /opt/librenms/includes/common.php(1162): dbIsConnected()
#1 /opt/librenms/validate.php(68): version_info()
#2 [internal function]: {closure}()
#3 {main}
thrown in /opt/librenms/includes/dbFacile.php on line 27