How to assign more memory to PHP inside the Nextcloud docker container

Hi there,

I have installed Nextcloud 13.0.6 in a docker container on UCS 4.3 via the Univention App Center. Furthermore, I installed Elasticsearch directly on the UCS. Nextcloud has been set up to access Elasticsearch.

The connection from Nextcloud to Elasticsearch works fine. When I enter the Nextcloud docker container, I can successfully run the following command:

sudo -u www-data /var/www/html/occ fulltextsearch:test

However, when I start the index, the following command leads to a “Force quit” after a while. Furthermore, the indexing does not really start:

sudo -u www-data /var/www/html/occ fulltextsearch:index

I wonder whether there is enough memory assigned to the docker container. Unfortunately, I do not have experience with docker containers and also not with debugging PHP. Does anybody has some hints?

Best regards,
Peter

Crosspost from https://github.com/nextcloud/univention-app/issues/70

Mastodon