Error when uploading files

Submitted by shaupt on 2021-12-23

Dear all,

we get an error message "An error occurred while uploading the file" when uploading files as task attachments.

We upload a small testfile (1 KB).

The message appears both when I configure save to database and when I configure save to file system.

What else could be the problem?

The error message does not say what the problem is but only that there is a problem.

How can we create a more meaningful error message.

Best regards

Sigrid

It looks like a problem with permissions to the PHP temporary upload directory.

Regards,

Michał

Dear Michał,

the problem seems to be selinux. If we turn it off completely, the upload works.

How to configure selinux so that webissues still works ?

Regards,

Sigrid