Cannot upload assets [SYS0350] [CORE056] errors


(John) #1

Matrix Version:
Hi

We haven’t been able to upload any assets for a few days, receiving the following error:

Matrix Warning
Upload error for “file.pdf”: Missing a temporary folder to upload the file to. [SYS0350]
Matrix Warning
File upload failed. No file selected [CORE0056]

Any ideas on the cause or how to fix?

Thanks


(David Schoen) #2

It’s something only a server administrator (not just a Matrix admin) can fix.

Under the hood Matrix has rewritten the PHP UPLOAD_ERR_NO_TMP_DIR error from https://www.php.net/manual/en/features.file-upload.errors.php .

I’ve never seen it before, so don’t actually know what’s wrong, but something is broken in the way PHP is running.

If it’s hosted by Squiz, you’ll need to put in a support ticket.


(John) #3

Thanks for the reply! We self-host, so I’ll have our system admins look into it.

I’ve shown them the error, and they’ve implied that it’s something we’ve caused as Matrix admins. Can you please confirm if this is a server-level issue so I can pass it on?

Thanks again!


(David Schoen) #4

PHP requires a tempory directory to recieve file uploads. That error is PHP saying it doesn’t have one.

So this is failing well below Matrix and is definitely something wrong at the server level.