Man I tried again so many times u_u still no success.
On my research about this problem many people said that’s a DNS problem. I’m not sure if that’s it. Also, I’m on the installing page and all the configuration is correct.
This is the error.log on apache2:
php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of WebFeedPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/webFeed/WebFeedPlugin.inc.php on line 0, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of LensGalleyPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/lensGalley/LensGalleyPlugin.inc.php on line 0, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of OrcidProfilePlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/orcidProfile/OrcidProfilePlugin.inc.php on line 0, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of PdfJsViewerPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/pdfJsViewer/PdfJsViewerPlugin.inc.php on line 0, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of BrowsePlugin::manage($verb, $args, &$message, &$messageParams, &$pluginModalContent = NULL) should be compatible with Plugin::manage($args, $request) in /var/www/html/plugins/generic/browse/BrowsePlugin.inc.php on line 0, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of BrowsePlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/browse/BrowsePlugin.inc.php on line 0, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of GoogleAnalyticsPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/googleAnalytics/GoogleAnalyticsPlugin.inc.php on line 0, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of RecommendByAuthorPlugin::getTemplatePath() should be compatible with Plugin::getTemplatePath($inCore = false) in /var/www/html/plugins/generic/recommendByAuthor/RecommendByAuthorPlugin.inc.php on line 0, referer: http://site.com/index.php/index/install/install
PHP Warning: Declaration of PageHandler::authorize($request, &$args, $roleAssignments) should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /var/www/html/lib/pkp/controllers/page/PageHandler.inc.php on line 19, referer: http://site.com/index.php/index/install/install