NCP After update to 20.0.4 temp dir not working

Hi, i am seeing a strange problem when updating my ncp nextcloud from 20.0.3.2 to 20.0.4, after that no uploads are possible.

I have moved my data dir to a usb hdd using nc-datadir, my temp dir is also set to the path /media/myCloudDrive/data/tmp
This works correctly in 20.0.3, after update to 20.0.4 the path in config.php is set to /var/www/nextcloud/data/tmp which is not present and gives that error:

Warning

no app in context

vor 15 Minuten

Temporary directory /var/www/nextcloud/data/tmp is not present or writable

Changing that back to my hdd path gives that error:

Error

PHP

Gerade eben

File upload error - unable to create a temporary file at Unknown#0

Which is strange to me, because the path is there and writeable for www-data and all is working in nc 20.0.3
I did not yet create the path in /var/www… as i would like to have the temp dir on hdd for several reasons

My system is a rpi4 4gig running buster64 with ncp installed via curl installer script

Check value of upload_tmp_dir in /etc/php/7.3/fpm/php.ini

1 Like

Thanx, that did the trick, but now i wonder why it actually worked in the first place…