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:

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

    SugarCRM | Principal Developer Advocate

  • I can confirm that the vagrant does work for Sugar 13.0. Although, the vagrant is still missing a few php packages (php-mysql php-zip php-xml php-bcmath) that are required for turning on scheduler. 

  • Hi ,

    This is odd, I did test (and execute) a few jobs myself without issues, could you please share any details you have for us? I don't see how that'd fail unless there are extra needs from your cloud backup.

    Here's a list of modules installed in the image:

    SugarCRM | Principal Developer Advocate

  • Not sure what to tell you, but I had to install those packages (php-mysql php-zip php-xml php-bcmath).

Reply Children
No Data