Issues with Sugar 13.0 and PHP 8.2 in Vagrant

Anyone else having issues getting Sugar 13.0 to work in a Vagrant using PHP 8.2? I keep getting " (Elasticsearch Queue Scheduler) failed in CRON run, Undefined constant "Sugarcrm\Sugarcrm\Elasticsearch\Adapter\CURLOPT_USERAGENT"" from the cron jobs but I also see "Undefined constant" in the php error logs. I have gotten it to work using PHP 8.0 but not 8.2, which is the version Sugar says 13.0 is compatible with. I am currently using Vagrant "sugarcrm/php80es716" but I have upgraded ElasticSearch to 8.7.1 and MySQL to 8.0.33 but I have been unable to get 13.0 to work on Vagrant "sugarcrm/php82es84"

Parents
  • Hi ,

    I've just released a new version of  sugarcrm/php82es84  that contains the fixes required to install a Vanila instance of Sugar 13.0.

    To ensure you have gotten the latest available in the Vagrant Cloud, I recommend you remove your local copy (or force v1.1 to be downloaded in your Vagrantfile), to remove it, simply run vagrant box remove sugarcrm/php82es84.

    You should see something like this:

    sh-3.2$ vagrant up
    Bringing machine 'default' up with 'virtualbox' provider...
    ==> default: Box 'sugarcrm/php82es84' could not be found. Attempting to find and install...
        default: Box Provider: virtualbox
        default: Box Version: >= 0
    ==> default: Loading metadata for box 'sugarcrm/php82es84'
        default: URL: https://vagrantcloud.com/sugarcrm/php82es84
    ==> default: Adding box 'sugarcrm/php82es84' (v1.1) for provider: virtualbox
        default: Downloading: https://vagrantcloud.com/sugarcrm/boxes/php82es84/versions/1.1/providers/virtualbox.box
        default: Calculating and comparing box checksum...
    ==> default: Successfully added box 'sugarcrm/php82es84' (v1.1) for 'virtualbox'!
    ==> default: Importing base box 'sugarcrm/php82es84'...

    As you can see below, everything checks out and passed.

    SugarCRM | Principal Developer Advocate

  • I will try building a new local dev environment tomorrow to test.

Reply Children
No Data