Upgrade to fails during integrity check

Steps to reproduce

  1. Follow docs for manual upgrade
  2. run “php occ upgrade” as www
  3. error message during integrity check

Expected behaviour

Upgrade process should start and finish without error

Actual behaviour

Upgrade process fails during integrity check:

PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2964344 bytes) in /usr/local/www/owncloud/lib/private/IntegrityCheck/Helpers/FileAccessHelper.php on line 42

Server configuration

Operating system:
FreeNAS 11.3-RELEASE-p6 jail

Web server:

MySQL 5.6.49

PHP version:
php 7.2.33

ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:
Older version,

Where did you install ownCloud from:
manually from the website; https://owncloud.com/download-server/

The content of config/config.php:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder


**List of activated apps:**


**Are you using encryption:** yes/no

### Logs

#### Upgrade Log


if i’m calculating this correctly you currently have assigned a maximal amount of 32MB for PHP but according to the following documentation owncloud requires at least 128 MB: