12.3 on local vagrant instance 500 error

I am having issues getting a 12.3 fresh install or customer backup installed on the "sugarcrm/php80es716" box which should be compatible for 12.3.

I'm on vagrant version 2.3.3

virtualbox Version 7.0.4 r154605 (Qt5.15.2)

This configuration works perfectly find for sugar 12.2, but I get a 500 error when trying to load the page on 12.3.

Has anyone else encountered issues with local environments for 12.3 instances?

The only error showing in the sugarcrm.log is:

Wed Feb 22 18:24:24 2023 [13414][-none-][FATAL] An exception occurred while executing a query: Duplicate entry 'SidecarTheme::compileFile-sugar' for key 'system_process_lock.PRIMARY'

Nothing shows in the apache error log.

Any feedback would be greatly valued, or at the very least some info on other people's working configuration would help me troubleshoot this.

Thanks,

Tom noel

Parents Reply
  • Hi ,

    We did fix a compatibility issue with MySQL 8.0.31 which has updated how they (MySQL) deal with parenthesis. It has been rolled out to all our cloud customers and backported to onpremise releases.

    In the vagrant box  sugarcrm/php80es716 we are running MySQL 8.0.28 which doesn't have any issues with parenthesis as for sugarcrm/php82es84 that particular fix is required due to the fact we run MySQL 8.0.32

    Can you check if you have this code in <sugar>/data/SugarBean.php.

    $final_query_rows = '(' . $parentbean->create_list_count_query($tmp_final_query, $parameters) . ')';
    if (self::canApplyParentheses($GLOBALS['db'])) {
        $final_query = '(' . $tmp_final_query . ')';
    } else {
        $final_query = $tmp_final_query;
    }

    SugarCRM | Principal Developer Advocate

Children