Hey guys,
I’m pretty new to Nextcloud and just starting to discover all those amazing features.
I set up NC 14 on a shared hosting and everything seems to be fine so far.
There is just one thing which I don’t understand:
When looking at my logs, there always pops up the same error which is thrown every 5 minutes:
tempnam(): file created in the system's temporary directory at /htdocs/lib/private/TempManager.php#90
Would be awesome if someone could help me out here, I have no clue what’s wrong.
My temp directory is set to the folder /htdocs/tmp/ using the config file and the access rights for this folder are set to 644
Thanks in advance for your help
Could anybody help me out here? Would really appreciate that
Shadow
April 11, 2019, 10:12am
3
Having the same issue, it seems to me only cosmetic though. At some point a php notice was added to tempnam() which is picked up as an error for some reason.
Similar issue comes up when using an external storage:
fread(): file created in the system’s temporary directory at /media/DATA/cloud/Nextcloud/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php#91
j-ed
April 11, 2019, 1:47pm
4
Based on the following GitHub posting, setting/changing the path to the tmp directory could fix the problem:
opened 05:31PM - 24 Mar 17 UTC
closed 03:27AM - 12 May 17 UTC
Webhosting by all-inkl
**Web server:**
apache
**Database:**
MySQL 5.7.15
**… PHP version:**
7.1.1
**Nextcloud version:** (see Nextcloud admin page)
11.0.2
**Updated from an older Nextcloud/ownCloud or fresh install:**
11.0.0
#### Nextcloud log (data/nextcloud.log)
> Error PHP tempnam(): file created in the system's temporary directory at /www/htdocs/user/folder/folder/lib/private/TempManager.php#126 2017-03-23T08:55:24+0100
Error PHP tempnam(): file created in the system's temporary directory at/www/htdocs/user/folder/folder/lib/private/TempManager.php#89 2017-03-23T08:55:21+0100
Here someone wrote it's feature not a bug. But nextcloud throws an error
https://github.com/Glavin001/atom-beautify/issues/1108#issuecomment-272012827
1 Like
wook
August 5, 2019, 9:58am
5
Changing the name of my temp-folder and edit my config.php, pointing to the fresh renamed folder, does the trick for me.
No need for editing permissions.