Exec(): Unable to fork (error message)

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Operating system: Linux 4.19.75-v7
Webserver: Apache/2.4.38 (Raspbian) (apache2handler)
Database: sqlite3 3.27.2
PHP version: 7.3.11-1~deb10u1
Nextcloud version: 17.0.1 -

The issue you are facing:
The installation is working fine. However, when I access the Logging page, I see a bunch of error message (example below). It appears the errors are related to the largest image preview being generated. Any suggestion is appreciated.

Is this the first time you’ve seen this error? (Y/N):
No. It is there from the beginning.

Steps to replicate it:

  1. Accessing the Logging page shows the following error messages.

[PHP] Error: exec(): Unable to fork [stat -c %s ‘/var/nextcloud/data/appdata_ocbjjq2yzm6p/preview/3311/4096-2731-max.jpg’] at /var/www/html/nextcloud/lib/private/LargeFileHelper.php#207

[PHP] Error: exec(): Unable to fork [stat -c %s ‘/var/nextcloud/data/appdata_ocbjjq2yzm6p/preview/3310/4096-2731-max.jpg’] at /var/www/html/nextcloud/lib/private/LargeFileHelper.php#207