Hello,
my application is using the Api\Config from the EGroupware UI by using the read- and save_value-methods.
But there is also a running Api\Asyncservice created in Egroupware. When this service wants to access the saved configuration ($config = Api\Config::read('MyApp')) the configs are missing. It seems, that the asyncservice is using a different empty config-set, which can be modified by the asyncservice.
The effect desribed only occurs in the docker environment. The effect does not occur in a development environment from Git.
Clearing the cache did not solved my problem.
(EGroupware 20201028)

Thanks for some help,
Axel

  • created

    Nov '20
  • last reply

    Nov '20
  • 1

    reply

  • 823

    views

  • 2

    users

The problem is that cron starts a PHP CLI (command-line) script running async services.
It does NOT have access to the shared memory of PHP FPM where the regular cache is.

I want to change the async service cron script to curl the url, then we don’t have that problem, plus errors end up in the usual error-log.

Ralf