"HEADERS on invalid stream"

/etc/php/7.3/fpm/php.ini

In some instances this line:

; Defaults to the system default (see sys_get_temp_dir)
sys_temp_dir = /var/www/nextcloud/data/tmp

Edit to point to your ncdata
commenting out the line works too.

as

; Defaults to the system default (see sys_get_temp_dir)
;sys_temp_dir = “/tmp”

seems to be default

3 Likes