Content
View differences
Updated by Wieland Lindenthal about 3 years ago
### What is the buggy behavior?
Temporary attachment files seem to be filling up the /tmp directory on our system and it seems to be creating way more temp files than it should need
Note: This is not /opt/openproject/tmp, this is /tmp.
```text
ll /tmp/
```
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/56354/content">
### What is the expected behavior?
I believe the expected behavior here is for it to be putting these files in /opt/openproject/tmp, not in /tmp.
It probably also shouldn't be creating this many of the same files.
I have read through this thread: ##27235 [https://community.openproject.org/projects/openproject/work\_packages/27235/activity](https://community.openproject.org/projects/openproject/work_packages/27235/activity) and tried some of the clean up commands recommended, but they had no effect.
Is there a way to set where these temporary files are going or a way to clean them up?
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* Rocky Linux release 8.7
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
**v12.4.5**
Temporary attachment files seem to be filling up the /tmp directory on our system and it seems to be creating way more temp files than it should need
Note: This is not /opt/openproject/tmp, this is /tmp.
```text
ll /tmp/
```
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/56354/content">
### What is the expected behavior?
I believe the expected behavior here is for it to be putting these files in /opt/openproject/tmp, not in /tmp.
It probably also shouldn't be creating this many of the same files.
I have read through this thread: ##27235
Is there a way to set where these temporary files are going or a way to clean them up?
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* Rocky Linux release 8.7
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
**v12.4.5**