Upgrade 6.5.22 to 7.6.1 - ERROR: Could not verify .htaccess is working:

Upgraded from 6.5.21 to 6.5.22 without issue. Now; when I try to upgrade from 6.5.22 to 7.6.1 I receive, ERROR: Could not verify .htaccess is working. in the Pre-upgrade stage. I have AllowOverride All. Any Idea on how to resolve would be appreciated.

- David

Parents Reply Children
  • Matt:

    My config.d looks like this:

    #EBD ELMS - for upgeade testing

    #Added 02-24-2016

    <VirtualHost 172.16.100.176:80>

        ServerName EBDted.staging.expertbizdev.com

        DocumentRoot /var/www/vhosts/EBDted.staging.expertbizdev.com

    #    Redirect / https://EBDted.staging.expertbizdev.com   

        <Directory /var/www/vhosts/EBDted.staging.expertbizdev.com>

            AllowOverride All

        </Directory>

        CustomLog logs/EBDted.staging.expertbizdev.com-access_log combined

        ErrorLog logs/EBDted.staging.expertbizdev.com-error_log

    </VirtualHost>

    _______________________________________________________________________

    My .htaccess looks like this:

    # BEGIN SUGARCRM RESTRICTIONS

    RedirectMatch 403 (?i).*\.log$

    RedirectMatch 403 (?i)/+not_imported_.*\.txt

    RedirectMatch 403 (?i)/+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)/+.*\.(php|tpl)

    RedirectMatch 403 (?i)/+emailmandelivery\.php

    RedirectMatch 403 (?i)/+upload

    RedirectMatch 403 (?i)/+cache/+diagnostic

    RedirectMatch 403 (?i)/+files\.md5$

    <IfModule mod_rewrite.c>

        Options +FollowSymLinks

        RewriteEngine On

        RewriteBase /

        RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&module=app_strings&lang=$1 [L,QSA]

        RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&module=$1&lang=$2 [L,QSA]

    </IfModule>

    # END SUGARCRM RESTRICTIONS

    ________________________________________________________________________________________________________

    I checked all the permissions and still get the below error.

    Starting script CheckAllowOverride

    Fri, 26 Feb 2016 13:14:33 -0600 [Upgrader] - Testing .htaccess redirects

    Fri, 26 Feb 2016 13:14:33 -0600 [Upgrader] - PHP: [2] file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/vhosts/EBDted.staging.expertbizdev.com/cache/upgrades/temp/SugarPro-Upgrade-6.5.22-to-7.6.1.0/upgrade/scripts/pre/CheckAllowOverride.php at 56

    Fri, 26 Feb 2016 13:14:33 -0600 [Upgrader] - PHP: [2] file_get_contents(http://ebdted.expertbizdev.com/itest.test): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/vhosts/EBDted.staging.expertbizdev.com/cache/upgrades/temp/SugarPro-Upgrade-6.5.22-to-7.6.1.0/upgrade/scripts/pre/CheckAllowOverride.php at 56

    Fri, 26 Feb 2016 13:14:33 -0600 [Upgrader] - ERROR: Could not verify .htaccess is working:

    Fri, 26 Feb 2016 13:14:33 -0600 [Upgrader] - Finished script CheckAllowOverride

    Fri, 26 Feb 2016 13:14:33 -0600 [Upgrader] - ERROR: Pre-upgrade stage failed!

    - David