temp directory of PHP - nextcloud [SOLVED]
- keyhelpuser
- Posts: 25
- Joined: Sat 13. Mar 2021, 21:56
- Location: ...earth
- Contact:
temp directory of PHP - nextcloud
This instance uses an S3 based object store as primary storage. The uploaded files are stored temporarily on the server and thus it is recommended to have 50 GB of free space available in the temp directory of PHP. Check the logs for full details about the path and the available space. To improve this please change the temporary directory in the php.ini or make more space available in that path.
I do not know how to deal with it?! It is possible that configuration: disable_functions blocks to check a specific request by the nextcloud?
OpenBasedir: ##DOCROOT##/www:##DOCROOT##/files:##DOCROOT##/tmp
Assuming that nextcloud is in the directory: /home/user/nextcloud/www/
- keyhelpuser
- Posts: 25
- Joined: Sat 13. Mar 2021, 21:56
- Location: ...earth
- Contact:
Re: temp directory of PHP - nextcloud
Code: Select all
dl, disk_free_space, diskfreespace, stream_socket_sendto, proc_get_status, proc_nice, proc_open, proc_terminate, proc_close, popen, curl_multi_exec, pcntl_exprill, pcntl_fork, pcntl_fork, pcntl_fec, pcntl_set, posix_setsid, posix_setuid, posix_setpgid, posix_getpwuid, show_source, highlight_file, syslog, error_log, openlog, define_syslog_variables, apache_child_terminate, apache_setenv, apache_note
Re: temp directory of PHP - nextcloud
Edit: the problem going away with no functions disabled seconds my speculation. In this case Nextcloud successfully checks the available space and finds enough of it to be satisfied.
- keyhelpuser
- Posts: 25
- Joined: Sat 13. Mar 2021, 21:56
- Location: ...earth
- Contact:
Re: temp directory of PHP - nextcloud
I have one more error in the nextcloud logs:
Code: Select all
Error: is_readable(): open_basedir restriction in effect. File(/home/users/nextcloud//.aws/config) is not within the allowed path(s): (/home/users/nextcloud/www:/home/users/nextcloud/files:/home/users/nextcloud/tmp) at /home/users/nextcloud/www/nextcloud/3rdparty/aws/aws-sdk-php/src/S3/UseArnRegion/ConfigurationProvider.php#134
Re: temp directory of PHP - nextcloud [SOLVED]
Of course one can also update the openbase_dir ...
- "User Administraion" -> Select the user -> Go into the "PHP" tab -> Edit the open_basedir option by adding ":##DOCROOT##"
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- keyhelpuser
- Posts: 25
- Joined: Sat 13. Mar 2021, 21:56
- Location: ...earth
- Contact:
Re: temp directory of PHP - nextcloud
Code: Select all
##DOCROOT##/www:##DOCROOT##/files:##DOCROOT##/tmp
Code: Select all
##DOCROOT##
A small note: for other users who will want to use Object Storage from vultr for nextcloud, I recommend that you carefully analyze storage configuration file. Object Storage is currently used by over 300 users. The server works great on the KeyHelp panel,
except DNS, but this problem requires a new forum topic. If anyone has any questions, I am happy to help.