Subscribe Join 180,000+ subscribers and receive articles from our blog about software quality, testing, QA and security. Subscribe

Unable to add attachments

I have a testrail instance running on Kubernetes.

TestRail version: 5.7.1.4028
Database version: 191

I have followed the linux installation steps as in http://docs.gurock.com/testrail-admin/installation-unix

When I try to add an attachment, I get the following error- “An error occurred while renaming the attachment.”

root@olu-testrail-5f447dffbd-jnhl9:/var/www# ls -ltr
total 28
drw-rw-rw- 2 www-data www-data  4096 Jan  7  2019 reports
drw-rw-rw- 2 www-data www-data 20480 Jan 22 14:33 attachments
drwxr-xr-x 3 www-data www-data  4096 Jan 22 15:28 html

I read that it’s related to temp directory, but even when I add permissions to the www-data user to the /tmp or /var/tmp directory, I still get the same error.

There are no logs from testrail describing the error. Could you please help?